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
一开始报没有--output_dir参数,加上参数之后,报:
/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/_distutils_hack/init.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
[2024-06-11 16:19:45,271] [ INFO] - The default value for the training argument --report_to will change in v5 (from all installed integrations to none). In v5, you will need to use --report_to all to get the same behavior as now. You should start updating your code and make this info disappear :-).
Traceback (most recent call last):
File "/home/aistudio/PaddleNLP/model_zoo/ernie-3.0/run_seq_cls.py", line 179, in
main()
File "/home/aistudio/PaddleNLP/model_zoo/ernie-3.0/run_seq_cls.py", line 41, in main
model_args, data_args, training_args = parser.parse_args_into_dataclasses()
File "/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddlenlp/trainer/argparser.py", line 232, in parse_args_into_dataclasses
raise ValueError(f"Some specified arguments are not used by the PdArgumentParser: {remaining_args}")
ValueError: Some specified arguments are not used by the PdArgumentParser: ['--task_name', 'iflytek']
The text was updated successfully, but these errors were encountered:
链接:
https://aistudio.baidu.com/modelsdetail/21/intro
按照上面的步骤执行代码,执行到以下代码报错:
分类任务
该脚本共支持 CLUE 中 7 个分类任务,超参不全相同,因此分类任务中的超参配置利用 config.yml 配置
!python PaddleNLP/model_zoo/ernie-3.0/run_seq_cls.py
--task_name iflytek
--model_name_or_path ernie-3.0-medium-zh
--do_train
一开始报没有--output_dir参数,加上参数之后,报:
/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/_distutils_hack/init.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
[2024-06-11 16:19:45,271] [ INFO] - The default value for the training argument
--report_to
will change in v5 (from all installed integrations to none). In v5, you will need to use--report_to all
to get the same behavior as now. You should start updating your code and make this info disappear :-).Traceback (most recent call last):
File "/home/aistudio/PaddleNLP/model_zoo/ernie-3.0/run_seq_cls.py", line 179, in
main()
File "/home/aistudio/PaddleNLP/model_zoo/ernie-3.0/run_seq_cls.py", line 41, in main
model_args, data_args, training_args = parser.parse_args_into_dataclasses()
File "/opt/conda/envs/python35-paddle120-env/lib/python3.10/site-packages/paddlenlp/trainer/argparser.py", line 232, in parse_args_into_dataclasses
raise ValueError(f"Some specified arguments are not used by the PdArgumentParser: {remaining_args}")
ValueError: Some specified arguments are not used by the PdArgumentParser: ['--task_name', 'iflytek']
The text was updated successfully, but these errors were encountered: