Sign inSign up

deepaiorg/sentiment-analysis

By deepaiorg

•Updated over 7 years ago

This algorithm classifies each sentence in the input on a scale from very negative to very positive.

Image
0

2.1K

deepaiorg/sentiment-analysis repository overview

⁠Sentiment Analysis

⁠For details see Sentiment Analysis⁠ on Deep AI⁠.

⁠

This model has been integrated with ai_integration⁠ for seamless portability across hosting providers.

⁠Quick Start

docker pull deepaiorg/sentiment-analysis
⁠HTTP
docker run --rm -it -e MODE=http -p 5000:5000 deepaiorg/sentiment-analysis

Open your browser to localhost:5000 (or the correct IP address)

⁠Command Line

Save your input text as input.txt in the current directory.

docker run --rm -it -v `pwd`:/shared -e MODE=command_line deepaiorg/sentiment-analysis --text /shared/input.txt
⁠Command Line with Piped input
echo '{"text":"I am very happy because this model is great!"}' | docker run -e MODE=test_inputs_dict_json --rm -i deepaiorg/sentiment-analysis

⁠Docker build

docker build -t sentiment-analysis .

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

over 7 years ago

docker pull deepaiorg/sentiment-analysis