wasiahmad / PLBART

Official code of our work, Unified Pre-training for Program Understanding and Generation [NAACL 2021].
https://arxiv.org/abs/2103.06333
MIT License
186 stars 35 forks source link

fairseq-train: error: argument --task: invalid choice: 'translation_without_lang_token' #29

Closed sindhura97 closed 2 years ago

sindhura97 commented 2 years ago

I am getting this error from fairseq-train: I am trying to run the codexglue translation task. fairseq-train: error: argument --task: invalid choice: 'translation_without_lang_token' Can you help me resolve this?

sindhura97 commented 2 years ago

When I use a previously downloaded fairseq, this error disappears but I now get unrecognized arguments: --langs java,python,en_XX,javascript,php,ruby,go --min-lr -1 while trying to fine-tune plbart-csnet

wasiahmad commented 2 years ago

Please study the use of Fairseq, it will help you to resolve these simple issues easily.