Tobacco-3482
Categories in the dataset are:
['ADVE', 'Email', 'Form', 'Letter', 'Memo', 'News', 'Note', 'Report', 'Resume', 'Scientific']
python ADAM_optmized_train.py
python singleADAM_LW_train.py
Switches from Adam to SGD when a triggering condition is satisfied.
python SWAT_LW_train.py
python train.py --help
To evaluate, run below command
python eval.py --eval_train --checkpoint_dir="./runs/trained_model/checkpoints/"
To use your own data, change the eval.py script to load your data.
To prediction on new test data, make sure evaluate model is working , Then run below :
python test.py --out_test --checkpoint_dir="./runs/trained_model/checkpoints/" --test_dir="path to test data"
For more details please go through my paper at link: https://arxiv.org/pdf/2004.07922.pdf