Open gireek opened 4 years ago
your notebook is not opening, could you give the access?
@gireek I guess that your --user-dir . should actually be : --user-dir <path to src/prophetnet>
As it seems that you have cloned it, and you are in Prophetnet Dir.
In the readme file, the user directory is "prophetnet" which is inside "src" folder.
If it doesn't work. Please let me know.
@gireek , is it solved?
Nope
What issue are you facing now?
fairseq-generate: error: argument --task: invalid choice: 'translation_prophetnet' (choose from 'translation', 'translation_lev', 'translation_from_pretrained_xlm', 'multilingual_translation', 'semisupervised_translation', 'audio_pretraining', 'denoising', 'legacy_masked_lm', 'translation_moe', 'sentence_prediction', 'masked_lm', 'sentence_ranking', 'multilingual_masked_lm', 'language_modeling', 'cross_lingual_lm')
While in the code given it says to use translation_prophetnet while inferencing it does not work giving the error above. You had mentioned in another issue of providing a COLAB notebook. Please do as it will help us alot as Question Generation given the limited instructions is extremely complicated for newbies like me.
Thanks!!
https://colab.research.google.com/drive/1i8orWVxr1NRam612foQFsTt051Y3SUdo?usp=sharing This is my colab so far. The last cell has the given error.