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
运行报错
run_ner_crf.py: error: the following arguments are required: --task_name, --data_dir, --model_type, --model_name_or_path, --output_dir
然后看get_argparse():函数里面的内容
parser.add_argument("--task_name,", default=None, type=str, required=True,
help="The name of the task to train selected in the list: ")
parser.add_argument("--data_dir", default=None, type=str, required=True,
help="The input data dir. Should contain the training files for the CoNLL-2003 NER task.", )
parser.add_argument("--model_type", default=None, type=str, required=True,
help="Model type selected in the list: ")
parser.add_argument("--model_name_or_path", default=None, type=str, required=True,
help="Path to pre-trained model or shortcut name selected in the list: " )
parser.add_argument("--output_dir", default=None, type=str, required=True,
help="The output directory where the model predictions and checkpoints will be written.", )
help里面 taskname、model type、model name 这里list是什么呢?冒号后面就没写了。
不知道这几个要传什么参数。
The text was updated successfully, but these errors were encountered:
运行报错
run_ner_crf.py: error: the following arguments are required: --task_name, --data_dir, --model_type, --model_name_or_path, --output_dir
然后看get_argparse():函数里面的内容
help里面 taskname、model type、model name 这里list是什么呢?冒号后面就没写了。
不知道这几个要传什么参数。
The text was updated successfully, but these errors were encountered: