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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: torch_sentiment-0.4.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d487a59d155d950192f2b0b3194a1a53010a92a63e050b77348450f62505ed64
MD5 dc1bf7fcb323398e5336f4ea633c673d
BLAKE2b-256 6f07cd8b0657eb56f6acca832399729fb2f99f8be19b581cd2e3c869138aefc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch_sentiment-0.4.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b284ad78a2234f8e285c567e66b56eb01b2387dc3b36f35d478454b57a694f81
MD5 e0fca64679207b82625f023da9997414
BLAKE2b-256 78c07ac969477f9a0275f579ef23731bd997fb8095ab962ab876042b35667c8c

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