Skip to content

iantbutler01/CNN_W_Attention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions for use.

Use only with python >= 3.6

Instructions assume use of Python3

  • Clone the repository
  • (Optional) create a python >= 3.6 virtual env
  • run "pip install -r requirements.txt"
  • run "python input_processing.py Train"
    • This will produce a 'dictionaries.p' and a train_dataset.p file
  • run "python cnn.py" or "cnn_w_attention.py" or "cnn_w_attention_fasttext.py" to train and save the model you are interested in.

For the API

About

Implementation and modification of https://openreview.net/pdf?id=rJe7FW-Cb to work on text classifcation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •