straight forward rnn model
Project description
Introduction
beta release at https://pypi.org/project/torch-sentiment/, install with:
pip install torch-sentiment
This repo contains Neural Nets written in the pytorch framework for sentiment analysis.
A LSTM based torch model can be found in the rnn folder.
Install dev
conda create -n {env}
conda install pip
pip install -e .
Example
To setup environments and run the rnn example see instructions below:
get the yelp dataset from https://www.yelp.com/dataset
run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torch_sentiment-0.4.4.tar.gz
(8.3 kB
view details)
Built Distribution
File details
Details for the file torch_sentiment-0.4.4.tar.gz
.
File metadata
- Download URL: torch_sentiment-0.4.4.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 160fa5aeb6d5f0ba7e818a97244809485031babc9c07fd760ef44627a9eb342e |
|
MD5 | 0aabb0e18251d80968009887e58534fd |
|
BLAKE2b-256 | 2e98a03919b6e49d820ffb45b5e1eaed1d85f150cb260300b23ad446026f7e1e |
File details
Details for the file torch_sentiment-0.4.4-py3-none-any.whl
.
File metadata
- Download URL: torch_sentiment-0.4.4-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74cf62591507d394344c2df5520c59b8b69c83963a611463514f3ddc0a9f8a77 |
|
MD5 | b31886e225ff38d7971fd42738f37358 |
|
BLAKE2b-256 | d2e3bc02f1724293ef5ba919d4ac26e680c50bdec926ffc55c44e33cf1e6738b |