lonePatient / BERT-NER-Pytorch

Chinese NER(Named Entity Recognition) using BERT(Softmax, CRF, Span)
MIT License
2.1k stars 427 forks source link

the following arguments are required: --task_name, --data_dir, --model_type, --model_name_or_path, --output_dir #61

Open shidonghao-aki opened 3 years ago

shidonghao-aki commented 3 years ago

how to solve this problem?

wones commented 2 years ago

Here is an example: python .\run_ner_crf.py --task_name cner --data_dir datasets/cner --model_type bert --model_name_or_path bert-base-chinese --output_dir outputs --do_train

Adithiyanjithu commented 1 year ago

I have also this problem:: error: the following arguments are required: --model_type, --model_name_or_path, --output_dir how can I change this error anybody knows anything about this please share