Stance-Detection-in-Web-and.../TAN
2019-06-18 21:04:57 +05:30
..
__pycache__ added TAN repository 2019-06-18 21:04:57 +05:30
early_stopping_training.py added TAN repository 2019-06-18 21:04:57 +05:30
emnlp_dict.txt added TAN repository 2019-06-18 21:04:57 +05:30
networks.py added TAN repository 2019-06-18 21:04:57 +05:30
noslang_data.json added TAN repository 2019-06-18 21:04:57 +05:30
README.md added TAN repository 2019-06-18 21:04:57 +05:30
utils.py added TAN repository 2019-06-18 21:04:57 +05:30

Here is the code for TAN, LSTM and LSTM+SVM

Different classes for different models

networks.py file contains the codes for different networks -

  • TAN : LSTM_TAN class (called with version = 0 for for basic TAN)
  • LSTM : LSTM_TAN class (called with version = 2)
  • LSTM-SVM - LSTM_TAN_svm_features class (called with version = 2)

Running the code

To run the code you have to run get_training_plots.py or early_stopping_training.py
To change models, call the classes with specific versions as mentioned above