mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-15 21:01:19 +00: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>
6 lines
151 B
Bash
Executable file
6 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
|