You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/ubuntu/project/paddle_nlp_test/finetune.py", line 242, in <module>
main()
File "/home/ubuntu/project/paddle_nlp_test/finetune.py", line 132, in main
model = UIE.from_pretrained(model_args.model_name_or_path)
File "/home/ubuntu/anaconda3/envs/paddle/lib/python3.9/site-packages/paddlenlp/transformers/model_utils.py", line 2087, in from_pretrained
config, model_kwargs = cls.config_class.from_pretrained(
File "/home/ubuntu/anaconda3/envs/paddle/lib/python3.9/site-packages/paddlenlp/transformers/configuration_utils.py", line 677, in from_pretrained
config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/ubuntu/anaconda3/envs/paddle/lib/python3.9/site-packages/paddlenlp/transformers/configuration_utils.py", line 707, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/ubuntu/anaconda3/envs/paddle/lib/python3.9/site-packages/paddlenlp/transformers/configuration_utils.py", line 757, in _get_config_dict
assert (
AssertionError: please make sure one of the ['config.json', 'model_config.json'] under uie-x-base
软件环境
重复问题
错误描述
稳定复现步骤 & 代码
根据说明文档进行操作,进入到模型微调-单卡启动时运行命令报错,命令:python finetune.py --device gpu --logging_steps 5 --save_steps 25 --eval_steps 25 --seed 42 --model_name_or_path uie-x-base --output_dir ./checkpoint/model_best --train_path data/train.txt --dev_path data/dev.txt --max_seq_len 512 --per_device_train_batch_size 8 --per_device_eval_batch_size 8 --num_train_epochs 10 --learning_rate 1e-5 --do_train --do_eval --do_export --export_model_dir ./checkpoint/model_best --overwrite_output_dir --disable_tqdm True --metric_for_best_model eval_f1 --load_best_model_at_end True --save_total_limit 1
The text was updated successfully, but these errors were encountered: