ruidan / aspect-level-sentiment Goto Github PK
View Code? Open in Web Editor NEWCode and dataset for ACL2018 paper "Exploiting Document Knowledge for Aspect-level Sentiment Classification"
License: Apache License 2.0
Code and dataset for ACL2018 paper "Exploiting Document Knowledge for Aspect-level Sentiment Classification"
License: Apache License 2.0
Hello, I have already run your program and I get the following error when running the second loop in train.py. I have been watching for a long time, but I can't find a mistake. Can you help me see why this is? Thank you
Thanks for sharing.
From the preprocessed data, I realized the counts of examples (from my script) are not the same as reported in the paper.
For example, the training data of SemEval 2014 is like this:
lt Counter({'positive': 987, 'negative': 866, 'neutral': 460})
res Counter({'positive': 2164, 'negative': 805, 'neutral': 633})
Did I make any mistake?
Hi,
I got this error when trying to run the train.py file
TypeError: add_weight() got multiple values for keyword argument 'name'
ANy ideas plz
thank u
hello, I modified the code to run with python3 and it can run, but I can't get the same precision you mentioned in the paper, the precision just was 50%, when I adjust the learning rate the precision improve to 67% but still has a gap with your experiment. I used your preprocessed_data. Do you have any idea about improving the precision? thank you!
Hi,
I tried retraining the model, it went on training and showed the loss during every epoch but at the end of the training it didn't save anything (Model or Word vector file), which I could use for further predictions. Also is there a way to use model and find the sentiment of the input sentence?
Hello, I have already run your program, and the error shown in the title appears when train.py runs the second args.epochs loop. I don't know why the number of all input array (x) samples has changed. I have been watching for a long time, but I can't find a mistake. Can you help me see why this is? Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.