Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Pytorch Sentiment Analysis | 2,905 | 2 years ago | 16 | mit | Jupyter Notebook | |||||
Tutorials on getting started with PyTorch and TorchText for sentiment analysis. | ||||||||||
Kobert | 1,035 | 7 months ago | 5 | apache-2.0 | Jupyter Notebook | |||||
Korean BERT pre-trained cased (KoBERT) | ||||||||||
Getting Things Done With Pytorch | 873 | 2 years ago | 13 | apache-2.0 | Jupyter Notebook | |||||
Jupyter Notebook tutorials on solving real-world problems with Machine Learning & Deep Learning using PyTorch. Topics: Face detection with Detectron 2, Time Series anomaly detection with LSTM Autoencoders, Object Detection with YOLO v5, Build your first Neural Network, Time Series forecasting for Coronavirus daily cases, Sentiment Analysis with BERT. | ||||||||||
Post Tuto Deployment | 269 | 4 years ago | 2 | mit | Python | |||||
Build and deploy a machine learning app from scratch 🚀 | ||||||||||
Sentimentanalysis | 260 | 2 years ago | 2 | mit | Python | |||||
Sentiment analysis neural network trained by fine-tuning BERT, ALBERT, or DistilBERT on the Stanford Sentiment Treebank. | ||||||||||
Pytorch Nlp Notebooks | 199 | 4 years ago | 1 | Jupyter Notebook | ||||||
Learn how to use PyTorch to solve some common NLP problems with deep learning. | ||||||||||
Pytorch Sentiment Neuron | 171 | 5 years ago | 9 | mit | Python | |||||
Deploy Bert For Sentiment Analysis With Fastapi | 129 | a year ago | 6 | mit | Python | |||||
Deploy BERT for Sentiment Analysis as REST API using FastAPI, Transformers by Hugging Face and PyTorch | ||||||||||
Fine Grained Sentiment | 126 | 2 years ago | mit | Python | ||||||
A comparison and discussion of different NLP methods for 5-class sentiment classification on the SST-5 dataset. | ||||||||||
Hierarchical Sentiment | 96 | 4 years ago | 1 | mit | Python | |||||
Hierarchical Models for Sentiment Analysis in Pytorch |
This page contains the code used in the work "Learning Explicit and Implicit Structures for Targeted Sentiment Analysis" published at EMNLP 2019.
Prerequisite: Python (3.5 or later), PyTorch (1.0 or later)
Run the following command to try out our model in the paper.
English
./exp_en.sh
Spanish
./exp_es.sh
After the training is complete, type the following command to display the result on test data. The performance outputed by conlleval.pl is shown as below.
tail -n 50 2019_en_ei.log
tail -n 50 2019_es_ei.log
The source code is written in PyTorch.
The data is stored in "data/ts" folder for English and Spanish.
The embedding files need to be stored in the folder "embedding".
Download English Embedding (Glove 100) [https://drive.google.com/file/d/18ivfhXW0GpsBnDwvao-XNfm0P0d9592b/view?usp=sharing]
Download Spanish Embedding [https://drive.google.com/file/d/1uYCPv3_-ZwcYJ2Ga8DcmPoxi4SgIeLX2/view?usp=sharing]
If you use this software for research, please cite our paper as follows:
@InProceedings{learning19li,
author = "Li, Hao and Lu, Wei",
title = "Learning Explicit and Implicit Structures for Targeted Sentiment Analysis",
booktitle = "Proc. of EMNLP2019",
year = "2019",
}
The code in this repository are based on Neural StatNLP framework: sutd-statnlp/statnlp-neural
Email to [email protected] if any inquery.