https://github.com/jack-development/text2sentiment
A flexible PyTorch-based framework for sentiment analysis tasks, easily adaptable to diverse text datasets. This project streamlines and modernizes sentiment analysis methods with PyTorch.
https://github.com/jack-development/text2sentiment
pytorch sentiment-analysis text-analysis
Last synced: 4 months ago
JSON representation
A flexible PyTorch-based framework for sentiment analysis tasks, easily adaptable to diverse text datasets. This project streamlines and modernizes sentiment analysis methods with PyTorch.
- Host: GitHub
- URL: https://github.com/jack-development/text2sentiment
- Owner: Jack-Development
- License: mit
- Created: 2023-07-22T13:33:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T07:57:31.000Z (almost 2 years ago)
- Last Synced: 2025-01-23T10:45:28.929Z (6 months ago)
- Topics: pytorch, sentiment-analysis, text-analysis
- Language: Python
- Homepage:
- Size: 27.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![]()
# Text2Sentiment
Text2Sentiment is a flexible, reusable framework for building Text Classification models. This repository is specifically designed for PyTorch and can be applied to numerous different datasets.
Inspired by [bentrevett's PyTorch Sentiment Analysis](https://github.com/bentrevett/pytorch-sentiment-analysis/blob/master/1%20-%20Simple%20Sentiment%20Analysis.ipynb) and the [PyTorch Documentation Examples](https://github.com/pytorch/tutorials/blob/main/beginner_source/text_sentiment_ngrams_tutorial.py), this project was created to modernize older resources and replace the usage of legacy packages.
The initial implementation performs Sentiment Analysis on the TorchText IMDB dataset, but the architecture of the codebase allows for easy adaptation to other text datasets.
## Skills and Technologies Used
The project heavily relies on:
- Python
- PyTorch
- Ubuntu
## Getting Started
_Coming soon..._
A detailed guide on how to use this project will be published shortly. The guide will contain information about how to adapt the codebase to work with various text datasets.
## Contributing
Contributions, issues and feature requests are welcome. Feel free to check [issues page](https://github.com/Jack-Development/TextClassification/issues) if you want to contribute.
## License
This project is [MIT](https://choosealicense.com/licenses/mit/) licensed.