Skip to main content

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.

Example

To setup environments and run the rnn example see instructions below:

get the yelp dataset from https://www.yelp.com/dataset
conda create -n {env}  
conda install pip  
pip install -e .  
run

Project details


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.31.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

torch_sentiment-0.4.31-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file torch_sentiment-0.4.31.tar.gz.

File metadata

  • Download URL: torch_sentiment-0.4.31.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for torch_sentiment-0.4.31.tar.gz
Algorithm Hash digest
SHA256 25c13fa5e6f81cb13fd65bab0bfd179f26e138afc8217edc0422c1ef81ef1cb8
MD5 7b3ed992317c69f6d28ee665c17f3af9
BLAKE2b-256 7e5cf8ae2e68c472161721af1480282879ef4366afecca8ac404d1e30ebea407

See more details on using hashes here.

File details

Details for the file torch_sentiment-0.4.31-py3-none-any.whl.

File metadata

File hashes

Hashes for torch_sentiment-0.4.31-py3-none-any.whl
Algorithm Hash digest
SHA256 8da8306ac6e9b0ea0e8d1e32a5d23c2427961b72d0390db7038219c92e2b6d51
MD5 0cbef0655d67a3b4ee1eb91d2935fdab
BLAKE2b-256 d1b291b9e14464596b10084e9f6c3739803f29d6ab93873027ebf4f8e9f6b535

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page