-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Squad #270
Squad #270
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mainly just style changes. Thank you for adding documentation and tests.
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
Signed-off-by: Yang Zhang <[email protected]>
This pull request introduces 7 alerts when merging 8b7f560 into 2bb07bc - view on LGTM.com new alerts:
|
Signed-off-by: Yang Zhang <[email protected]>
This pull request introduces 4 alerts when merging f7d8e11 into 2bb07bc - view on LGTM.com new alerts:
|
@@ -17,20 +17,22 @@ | |||
'BertPretrainingPreprocessedDataLayer', | |||
'TranslationDataLayer', | |||
'GlueDataLayerClassification', | |||
'GlueDataLayerRegression'] | |||
'GlueDataLayerRegression', | |||
'BertQuestionAnsweringDataLayer'] | |||
|
|||
# from abc import abstractmethod | |||
import sys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you clean up these imports too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import sys
import os
import random
import numpy as np
import h5py
import torch
from torch.utils import data as pt_data
Can you make these in alphabetical order (os, random, sys) and (h5py, numpy, torch)?
Signed-off-by: Yang Zhang <[email protected]>
This pull request introduces 4 alerts when merging 3bdbde5 into 2bb07bc - view on LGTM.com new alerts:
|
Signed-off-by: Yang Zhang <[email protected]>
Can you remove the unused imports? |
Signed-off-by: Yang Zhang <[email protected]>
This pull request introduces 3 alerts when merging f7344bc into bcc94a8 - view on LGTM.com new alerts:
|
Signed-off-by: Yang Zhang <[email protected]>
Adding Code for Question Answering with Squad v1.1 and v2.0,
unit tests, and tutorial.