This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
Fine-tuning your own dataset #5031
Unanswered
mohamedae17
asked this question in
Q&A
Replies: 1 comment
-
Do you have write access to that directory? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to Fine-tuning a pre-trained models based on https://parl.ai/projects/recipes/
my data is just 5 lines :))
I run this line:
!parlai train_model -t fromfile:parlaiformat --fromfile_datapath /content/drive/MyDrive/sam.txt -m transformer/generator --multitask-weights 1,3,3,3 --init-model zoo:tutorial_transformer_generator/model --dict-file zoo:tutorial_transformer_generator/model.dict --embedding-size 512 --n-layers 8 --ffn-size 2048 --dropout 0.1 --n-heads 16 --learn-positional-embeddings True --n-positions 512 --variant xlm --activation gelu --skip-generation True --fp16 True --text-truncate 512 --label-truncate 128 --dict-tokenizer bpe --dict-lower True -lr 1e-06 --optimizer adamax --lr-scheduler reduceonplateau --gradient-clip 0.1 -veps 0.25 --betas 0.9,0.999 --update-freq 1 --attention-dropout 0.0 --relu-dropout 0.0 --skip-generation True -vp 15 -stim 60 -vme 20000 -bs 16 -vmt ppl -vmm min --save-after-valid True --model-file /content/drive/MyDrive/sammodel_finetuned -bs 4
and it take a long time and when it has ended it give me this error:
Are there any advice for solve this error and make it faster ?
Beta Was this translation helpful? Give feedback.
All reactions