IATN
Dataset and code for "Interaction Attention Transfer Network for Cross-domain Sentiment Classification“
Install / Use
/learn @1146976048qq/IATNREADME
IATN
Dataset and source code for our paper: Inateraction Attention Transfer Network for Cross-domain Sentiment Classification.
Amazon Review Dataset
The public dataset has been uploaded.
Crowdfunding project Dataset: Indiegogo.com
This is our private dataset, if you want to use it, please indicate the source, thank you!
Requirements
— Python 2.7.5
—Tensorflow-gpu 1.2.1
— Numpy 1.13.3
— sklearn
— other pakages
—To install requirements, please run pip install -r requirements.txt.
Environment
— OS: CentOS Linux release 7.7.1908
— CPU: 24 E5-2650 v4 @ 2.20GHz
— GPU: 4 * K80:11441 MB
Running
Prepare the Pre-trained Word2vec :
— 1. Get the pre-trained model and generate the embeddings ;
— Google Word2Vec ;
— GloVe ;
— 2. Put the pre-trained word_embedding (Google-Word2Vec/Glove) to the coresponseding path ;
Prepare the aspect sequence :
— python aspect_extraction.py
(Input/output path can be changed inner the file!)
Run the model :
— python train.py
(Default dataset is Laptop; The parameters can be changed in the train.py file! (line 15~line 31))
Contact
If you have any problem about this library, please send us an Email at:
— kkzhang0808@mail.ustc.edu.cn
Citation
If the data and code are useful for your research, please be kindly to give us stars and cite our paper as follows:
@article{zhang2019interactive,\
title={Interactive Attention Transfer Network for Cross-domain Sentiment Classification},\
author={Zhang, Kai and Zhang, Hefu and Liu, Qi and Zhao, Hongke and Zhu, Hengshu and Chen, Enhong},\
year={2019}\
}
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
