Dependencies
- pytorch>=1.12
- allennlp==2.10
- complexPyTorch=0.4
- --dry-run # load dataset but do not train the model
- -f # force training, this command will override the save path
- -s # save path
- --include-package $path # personal work path including model, classifier and so on
- config/xxx.jsonnet # config file with jsonnet format
allennlp train config/CQLSTM.jsonnet --include-package work -s ./result/cr_CQLSTM -fPlease modify the variable "task_name" in model.jsonnet to change different datasets.
# delete training models
rm ./result/*/*_state_*.th -f