mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 18:51:14 +06:00

* Remove deprecated `evalutate_during_training` * Update src/transformers/training_args_tf.py Co-authored-by: Lysandre Debut <lysandre@huggingface.co> Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
11 lines
388 B
Bash
11 lines
388 B
Bash
# the proper usage is documented in the README, you need to specify data_dir, output_dir and model_name_or_path
|
|
# run ./builtin_trainer/finetune.sh --help to see all the possible options
|
|
python finetune_trainer.py \
|
|
--learning_rate=3e-5 \
|
|
--fp16 \
|
|
--do_train --do_eval --do_predict \
|
|
--evaluation_strategy steps \
|
|
--predict_with_generate \
|
|
--n_val 1000 \
|
|
"$@"
|