Skip to content
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

Merged
merged 22 commits into from
Jan 21, 2020
Merged

Squad #270

merged 22 commits into from
Jan 21, 2020

Conversation

yzhang123
Copy link
Contributor

Adding Code for Question Answering with Squad v1.1 and v2.0,
unit tests, and tutorial.

@yzhang123 yzhang123 requested review from blisc and purn3ndu January 16, 2020 00:03
Copy link
Collaborator

@blisc blisc left a 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]>
@lgtm-com
Copy link

lgtm-com bot commented Jan 16, 2020

This pull request introduces 7 alerts when merging 8b7f560 into 2bb07bc - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 1 for Signature mismatch in overriding method
  • 1 for Module is imported with 'import' and 'import from'

@yzhang123 yzhang123 requested a review from blisc January 16, 2020 21:48
@lgtm-com
Copy link

lgtm-com bot commented Jan 16, 2020

This pull request introduces 4 alerts when merging f7d8e11 into 2bb07bc - view on LGTM.com

new alerts:

  • 2 for Unused import
  • 1 for Signature mismatch in overriding method
  • 1 for Module is imported with 'import' and 'import from'

@@ -17,20 +17,22 @@
'BertPretrainingPreprocessedDataLayer',
'TranslationDataLayer',
'GlueDataLayerClassification',
'GlueDataLayerRegression']
'GlueDataLayerRegression',
'BertQuestionAnsweringDataLayer']

# from abc import abstractmethod
import sys
Copy link
Collaborator

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?

Copy link
Collaborator

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)?

@yzhang123 yzhang123 removed the request for review from purn3ndu January 17, 2020 18:25
@lgtm-com
Copy link

lgtm-com bot commented Jan 17, 2020

This pull request introduces 4 alerts when merging 3bdbde5 into 2bb07bc - view on LGTM.com

new alerts:

  • 2 for Unused import
  • 1 for Signature mismatch in overriding method
  • 1 for Module is imported with 'import' and 'import from'

@yzhang123 yzhang123 requested a review from blisc January 21, 2020 17:48
Signed-off-by: Yang Zhang <[email protected]>
@blisc
Copy link
Collaborator

blisc commented Jan 21, 2020

This pull request introduces 4 alerts when merging 3bdbde5 into 2bb07bc - view on LGTM.com

new alerts:

  • 2 for Unused import
  • 1 for Signature mismatch in overriding method
  • 1 for Module is imported with 'import' and 'import from'

Can you remove the unused imports?

Signed-off-by: Yang Zhang <[email protected]>
@lgtm-com
Copy link

lgtm-com bot commented Jan 21, 2020

This pull request introduces 3 alerts when merging f7344bc into bcc94a8 - view on LGTM.com

new alerts:

  • 1 for Signature mismatch in overriding method
  • 1 for Unused import
  • 1 for Module is imported with 'import' and 'import from'

Signed-off-by: Yang Zhang <[email protected]>
@yzhang123 yzhang123 merged commit 35209cb into NVIDIA:master Jan 21, 2020
@yzhang123 yzhang123 deleted the squad branch March 12, 2020 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants