mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-23 03:29:27 +01:00
Based on feat/0131/nlp_args branch, the original code review: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11408570 Support for running finetuning from the command line with training args, Compatible with the configuration optimization.
6 lines
187 B
Bash
6 lines
187 B
Bash
PYTHONPATH=. python examples/pytorch/transformers/finetune_transformers_model.py \
|
|
--model bert-base-uncased \
|
|
--num_labels 15 \
|
|
--dataset_name clue \
|
|
--subset_name tnews
|