$ python run.py -h
usage: run.py [-h] [--model {char_lstm_crf,elmo_lstm_crf}]
[--task {chunking,ner,pos}] [--drop DROP]
[--batch_size BATCH_SIZE] [--epochs EPOCHS]
[--patience PATIENCE] [--lr LR] [--threads THREADS]
[--seed SEED] [--device DEVICE] [--file FILE]
Create several models for Sequence Labeling.
optional arguments:
-h, --help show this help message and exit
--model {char_lstm_crf,elmo_lstm_crf}
choose the model for Sequence Labeling
--task {chunking,ner,pos}
choose the task of Sequence Labeling
--drop DROP set the prob of dropout
--batch_size BATCH_SIZE
set the size of batch
--epochs EPOCHS set the max num of epochs
--patience PATIENCE set the num of epochs to be patient
--lr LR set the learning rate of training
--threads THREADS, -t THREADS
set the max num of threads
--seed SEED, -s SEED set the seed for generating random numbers
--device DEVICE, -d DEVICE
set which device to use
--file FILE, -f FILE set where to store the model