mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-12 17:20:03 +06:00

* Add new token classification example * Remove txt file * Add test * With actual testing done * Less warmup is better * Update examples/token-classification/run_ner_new.py Co-authored-by: Thomas Wolf <thomwolf@users.noreply.github.com> * Address review comments * Fix test * Make Lysandre happy * Last touches and rename * Rename in tests * Address review comments * More run_ner -> run_ner_old Co-authored-by: Thomas Wolf <thomwolf@users.noreply.github.com>
7 lines
151 B
Bash
Executable File
7 lines
151 B
Bash
Executable File
python3 run_ner.py \
|
|
--model_name_or_path bert-base-uncased \
|
|
--dataset_name conll2003 \
|
|
--output_dir /tmp/test-ner \
|
|
--do_train \
|
|
--do_eval
|