Mams For Absa

A Multi-Aspect Multi-Sentiment Dataset for aspect-based sentiment analysis.
Alternatives To Mams For 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 Mams For Absa
Select To Compare


Alternative Project Comparisons
Readme

MAMS-for-ABSA

This repository contains the data and code for the paper "A Challenge Dataset and Effective Models for Aspect-Based Sentiment Analysis", EMNLP-IJCNLP 2019, [paper].

MAMS

MAMS is a challenge dataset for aspect-based sentiment analysis (ABSA), in which each sentences contain at least two aspects with different sentiment polarities. MAMS dataset contains two versions: one for aspect-term sentiment analysis (ATSA) and one for aspect-category sentiment analysis (ACSA).

Requirements

pytorch==1.1.0
spacy==2.1.8
pytorch-pretrained-bert==0.6.2
adabound==0.0.5
pyyaml==5.1.2
numpy==1.17.2
scikit-learn==0.21.3
scipy==1.3.1

Quick Start

Put the pretrained GloVe(http://nlp.stanford.edu/data/wordvecs/glove.840B.300d.zip) file glove.840B.300d.txt in folder ./data. Modify config.py to select task, model and hyper-parameters. When mode is set to term, base_path should point to an ATSA dataset. When mode is set to category, base_path should point to an ACSA dataset.

Preprocessing

python preprocess.py

Train

python train.py

Test

python test.py

Acknowledgement

The BERT model pretrained by huggingface(huggingface/pytorch-transformers) is used in our experiments.

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
Natural Language Processing
Sentiment