ireland-news-headlines/roberta_year_as_token_better_finetunning/run.sh

2 lines
458 B
Bash
Raw Normal View History

python run_glue.py --model_name_or_path roberta-base --train_file /media/kuba/ssdsam/gonito/ireland-news/train/huggingface_format_year.csv --validation_file /media/kuba/ssdsam/gonito/ireland-news/dev-0/huggingface_format_year.csv --do_train --do_eval --max_seq_length 64 --per_device_train_batch_size 32 --learning_rate 2e-5 --num_train_epochs 3 --save_steps=5000 --eval_steps=5000 --evaluation_strategy steps --output_dir ./roberta-ireland