Imn E2e Absa

Code and dataset for ACL2019 ‘‘An Interactive Multi-Task Learning Network for End-to-End Aspect-Based Sentiment Analysis’’.
Alternatives To Imn E2e Absa
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Twitter Sentiment Analysis1,322
7 months ago20mitPython
Sentiment analysis on tweets using Naive Bayes, SVM, CNN, LSTM, etc.
Nsc280
5 years ago6mitPython
Neural Sentiment Classification
Mmsa278
a year ago11January 25, 20229mitPython
MMSA is a unified framework for Multimodal Sentiment Analysis.
Nsmc259
7 years ago1Python
Naver sentiment movie corpus
E2e Tbsa222
2 years ago7Python
A Unified Model for Opinion Target Extraction and Target Sentiment Prediction (AAAI 2019)
Linusrants208
3 years agoPython
Dataset of Linus Torvalds' rants classified by negativity using sentiment analysis
Chinese_conversation_sentiment190
7 years ago4
A Chinese sentiment dataset may be useful for sentiment analysis.
Sentiment189
3 years agoMay 24, 20214mitGo
Simple Sentiment Analysis in Golang
Sentiment And Style Transfer183
4 years ago8Roff
Twitter Sentiment Cnn133
6 years ago5Python
An implementation in TensorFlow of a convolutional neural network (CNN) to perform sentiment classification on tweets.
Alternatives To Imn E2e Absa
Select To Compare


Alternative Project Comparisons
Readme

IMN-E2E-ABSA

Code and dataset for ACL2019 [paper] ‘‘An Interactive Multi-Task Learning Network for End-to-End Aspect-Based Sentiment Analysis’’.

Data

The preprocessed aspect-level datasets can be downloaded at [Download], and the document-level datasets can be downloaded at [Download]. The zip files should be decompressed and put in the main folder.

Glove vectors (glove.840B.300d) are used for initialization of general word embeddings. Pre-trained word embeddings from [Hu et al.] are used for initialization of domain-specific word embeddings. To save the time of reading large files, subsets of the pre-trained vectors are extracted which only contain the words that belong to the vocab for each dataset. You can download the extracted files for glove vectors and domain-specific vectors at [Download] and [Download] respectively. The zip files should be decompressed and put in the main folder.

Training and evaluation

Excute the command below for training and evaluating IMN.

CUDA_VISIBLE_DEVICES="0" python train.py --domain $domain

where $domain in ['res', 'lt', 'res_15'] denotes the corresponding aspect-level dataset. You can find all arguments defined in train.py with default values used in our experiments. At the end of each epoch, evaluation results on validation and test sets are saved in out.log. The test results at the epoch where the model achieves the best performance on validation set are recorded.

Dependencies

  • Python 2.7
  • Keras 2.2.4
  • tensorflow 1.4.1
  • numpy 1.13.3

Cite

If you use the code, please cite the following paper:

@InProceedings{he_acl2019,
  author    = {He, Ruidan  and  Lee, Wee Sun  and  Ng, Hwee Tou  and  Dahlmeier, Daniel},
  title     = {An Interactive Multi-Task Learning Network for End-to-End Aspect-Based Sentiment Analysis},
  booktitle = {Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},
  publisher = {Association for Computational Linguistics}
}
Popular Sentiment Projects
Popular Dataset Projects
Popular Machine Learning Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Dataset
Vector
Sentiment
Embeddings
Word Embeddings