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

invalid choice: 'snli_ve' #447

Open
Marloweeee opened this issue Oct 29, 2024 · 0 comments
Open

invalid choice: 'snli_ve' #447

Marloweeee opened this issue Oct 29, 2024 · 0 comments

Comments

@Marloweeee
Copy link

Marloweeee commented Oct 29, 2024

作者您好,我在用OFA的VE部分微调时,显示无法使用snli_ve,报错信息如下:

error: argument --task: invalid choice: 'snli_ve' (choose from 'hubert_pretraining', 'translation', 'translation_lev', 'online_backtranslation', 'speech_to_text', 'text_to_speech', 'cross_lingual_lm', 'frm_text_to_speech', 'translation_from_pretrained_bart', 'language_modeling', 'masked_lm', 'denoising', 'multilingual_denoising', 'simul_speech_to_text', 'simul_text_to_text', 'multilingual_masked_lm', 'audio_pretraining', 'audio_finetuning', 'sentence_ranking', 'translation_multi_simple_epoch', 'legacy_masked_lm', 'translation_from_pretrained_xlm', 'sentence_prediction', 'multilingual_translation', 'semisupervised_translation', 'dummy_lm', 'dummy_masked_lm', 'dummy_mt')

我的微调过程如下:
1.git clone OFA的代码到本地
2.按照requeirments配置好环境
3.编辑run_scripts/snli_ve目录下的运行脚本,修改data_dir路径和fairseq的python路径
4.nohup sh train_snli_ve.sh > train_snli_ve.out &

具体原因是不是应该要调用 OFA/tasks/mm_tasks/snli_ve.py 下的库,但是却到了OFA/fairseq/fairseq/tasks中,找不到snli_ve模块?

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

No branches or pull requests

1 participant