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.

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


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

Uploaded Source

Built Distribution

torch_sentiment-0.4.3.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torch_sentiment-0.4.3.2.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

Hashes for torch_sentiment-0.4.3.2.tar.gz
Algorithm Hash digest
SHA256 2b94285467397e5bf6ab1961e8382226bfaa5a17a2f353f0ba140b82ed1bbdae
MD5 ef0896a97c0408c74edbcffb88772f50
BLAKE2b-256 97706366b7e3d5d5694925105a010b7979cd130de3034e19aea60aa0230cffc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch_sentiment-0.4.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 79dcabe584b4662a1255173fd2f569aefe9ea69a8416d869d397c0b0a552a3b8
MD5 2ed3f0e56ec56cffbb2edf72aec393e4
BLAKE2b-256 cd11012a0cd163ff62decc9ae030d13dcad7fc2688ddf0976bb314f06cd26f44

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