pip install -r requirements.txt
python main.py --mode train --batch_size 8 --eval_steps 1000 --data_name {data} --data_path ./data --learning_rate 3e-5 --num_train_epochs 3 --pytorch_dump_path saved/saved.model --data_format {data_format} --output_path predict.{data} --model_type {model_type}
python main.py --mode test --data_name {data} --data_path ./data --pytorch_dump_path saved/saved.model.1 --data_format {data_format} --output_path predict.{data} --model_type {model_type}
- Sequence Classification
- Movie reviews from kaggle
- Sequence Pair Classification
- Sequence Token Classification
- Name Entity Recoginition
- ResumeNER
- OntoNote 4.0 Chinese
- MSRA