-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
refactor dialogue state tracking for modelling/dataset interoperability #3526
Conversation
Signed-off-by: Zhilin Wang <[email protected]>
Integration testing done by comparing output of 1. modified Dataset/DataProcessor with original SGDQA model and 2. original Dataset/DataProcessor with original SGDQA model. Both give identical output
and
|
This pull request introduces 51 alerts when merging b287422 into 6b51350 - view on LGTM.com new alerts:
|
This pull request introduces 51 alerts when merging 7c12ab6 into 101977e - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 13 alerts when merging 255294d into 9a1cc36 - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 13 alerts when merging 5f6dbd9 into ddcc2a6 - view on LGTM.com new alerts:
|
This pull request introduces 13 alerts when merging deeeaec into ddcc2a6 - view on LGTM.com new alerts:
|
/blossom-ci |
ping @cparisien and @yzhang123 |
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.
This looks good to me from a design perspective. We should still get a review from someone who is a regular nemo contributor, since I'm not.
This pull request introduces 13 alerts when merging 7d96cf2 into 7a8a5b3 - view on LGTM.com new alerts:
|
This pull request introduces 13 alerts when merging 0b1bc6c into 7a8a5b3 - view on LGTM.com new alerts:
|
This pull request introduces 13 alerts when merging f5f3cf8 into fe37d3f - view on LGTM.com new alerts:
|
This pull request introduces 6 alerts when merging b665b10 into 64eb620 - view on LGTM.com new alerts:
|
…_init__.py Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 6 alerts when merging 67ab0d2 into 64eb620 - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 6 alerts when merging e4418ce into 64eb620 - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 6 alerts when merging 012004d into 64eb620 - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 6 alerts when merging 8241502 into 64eb620 - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 6 alerts when merging 1a1bc0d into 64eb620 - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 6 alerts when merging f7a7e9c into 9aef14f - view on LGTM.com new alerts:
|
self.data_dir = data_dir | ||
self._tokenizer = tokenizer | ||
|
||
def open_file(self, filename): |
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.
could you add doc strings for class functions?
This pull request introduces 6 alerts when merging c63b2a9 into 9aef14f - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 6 alerts when merging b400571 into 9aef14f - view on LGTM.com new alerts:
|
Signed-off-by: Zhilin Wang <[email protected]>
This pull request introduces 6 alerts when merging bd46660 into 9aef14f - view on LGTM.com new alerts:
|
This pull request introduces 6 alerts when merging d100676 into 298b686 - view on LGTM.com new alerts:
|
…ty (#3526) * refactor dialogue state tracking for modelling/dataset interoperability Signed-off-by: Zhilin Wang <[email protected]> * fix style changes Signed-off-by: Zhilin Wang <[email protected]> * fix typo Signed-off-by: Zhilin Wang <[email protected]> * fix style raised by lgtm Signed-off-by: Zhilin Wang <[email protected]> * fix style formatting Signed-off-by: Zhilin Wang <[email protected]> * update template to include description of intent Signed-off-by: Zhilin Wang <[email protected]> * update Jenkinsfile Signed-off-by: Zhilin Wang <[email protected]> * changes based on requests in review Signed-off-by: Zhilin Wang <[email protected]> * add compatibility with assistant dataset Signed-off-by: Zhilin Wang <[email protected]> * update Jenkins Signed-off-by: Zhilin Wang <[email protected]> * remove dialogue_state_tracking Signed-off-by: Zhilin Wang <[email protected]> * update huggingface utils for dialogue Signed-off-by: Zhilin Wang <[email protected]> * rename dialogue_state_tracking_hybrid to dialogue_state_tracking_sgdqa Signed-off-by: Zhilin Wang <[email protected]> * style fix Signed-off-by: Zhilin Wang <[email protected]> * fix style Signed-off-by: Zhilin Wang <[email protected]> * style fix nemo/collections/nlp/models/dialogue_state_tracking_sgdqa/__init__.py Signed-off-by: Zhilin Wang <[email protected]> * update Jenkinsfile for SGDGEN Signed-off-by: Zhilin Wang <[email protected]> * update Jenkinsfile for SGDGEN Signed-off-by: Zhilin Wang <[email protected]> * update Jenkinsfile for SGDGEN Signed-off-by: Zhilin Wang <[email protected]> * update Jenkinsfile for SGDGEN Signed-off-by: Zhilin Wang <[email protected]> * update Jenkinsfile for SGDGEN Signed-off-by: Zhilin Wang <[email protected]> * fix typo Signed-off-by: Zhilin Wang <[email protected]> * add docstrings for assistant data processsor Signed-off-by: Zhilin Wang <[email protected]> Co-authored-by: Zhilin Wang <[email protected]> Co-authored-by: Oleksii Kuchaiev <[email protected]> Co-authored-by: Yang Zhang <[email protected]>
Signed-off-by: Zhilin Wang [email protected]
Design based on attached diagram
UML proposed dialogue1.pdf
Currently supports SGD-QA (Bert-based) and Huggingface GPT2 models, and planning to support other models.