prrao87 / fine-grained-sentiment Goto Github PK
View Code? Open in Web Editor NEWA comparison and discussion of different NLP methods for 5-class sentiment classification on the SST-5 dataset.
License: MIT License
A comparison and discussion of different NLP methods for 5-class sentiment classification on the SST-5 dataset.
License: MIT License
Really enjoy working through your tutorial! I tried to apply my own data to the Flair model but get a run time error: "cuda runtime error (2) : out of memory" when it switches from epoch 1 to epoch 2. I have a relatively powerful GPU (2080 TI) with 11GB so I was a bit surprised to see this error. I tried to reduce the size of the training data set but no luck. Any suggestions how that could be resolved?
Any help would be appreciated. Thank you!
when I used pip install -r requirements.txt
, it gave me an error below
Could not find a version that satisfies the requirement torch==1.1.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
No matching distribution found for torch==1.1.0
May I use torch version greater than 1.1.0?
While running train_flair.py to train the flair model, it prompts that the label_type is missing 1 positional argument. Can you please how can we solve this issue
Hi, your project fine-grained-sentiment(commit id: af2b1a4) requires "textblob==0.15.3" in its dependency. After analyzing the source code, we found that the following versions of textblob can also be suitable, i.e., textblob 0.9.0, 0.9.1, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.17.0, 0.17.1, since all functions that you directly (1 APIs: textblob.blob.TextBlob.init) or indirectly (propagate to 5 textblob's internal APIs and 0 outsider APIs) used from the package have not been changed in these versions, thus not affecting your usage.
Therefore, we believe that it is quite safe to loose your dependency on textblob from "textblob==0.15.3" to "textblob>=0.9.0,<=0.17.1". This will improve the applicability of fine-grained-sentiment and reduce the possibility of any further dependency conflict with other projects.
May I pull a request to further loosen the dependency on textblob?
By the way, could you please tell us whether such an automatic tool for dependency analysis may be potentially helpful for maintaining dependencies easier during your development?
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.