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

Update fix for ngram_criterions.py and bert_dictionary.py #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amiyamandal-dev
Copy link

File bert_dictionary.py fix :- Since BertDictionary is inheriting Dictionary from fairseq.data just passing args to super will create problem cause there is * in Dictionary class so have to pass args with specific keys

File ngram_criterions.py fix :- after facing error for NotImplementedError: Unable to infer Criterion arguments, please implement NgramLmLoss.build_criterion and checking this pr I have update code as per this pr
facebookresearch/fairseq@f26c8ff

@ghost
Copy link

ghost commented Jun 30, 2020

CLA assistant check
All CLA requirements met.

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.

1 participant