"git@developer.sourcefind.cn:OpenDAS/torch-sparce.git" did not exist on "99f17190970ae17dfe7f69dc0a7de4ec3d18f9db"
making it easier to use transformer_lm model with new tasks
Summary: There were two non-obvious errors I ran into while creating a new language modeling task: - `transformer_lm` implicitly required the `tokens_per_sample` arg - `transformer_lm` assumed the task had a `dictionary` and `output_dictionary` property, neither of which are specified in the FairseqTask interface Reviewed By: myleott Differential Revision: D15532345 fbshipit-source-id: 200d7d3b542c35f17cc2d6bca4219c4a4d17cb6b
Showing
Please register or sign in to comment