Downloads · 30 days
6
26% of all-time downloads
niltonseixas/sentiment_analysis
sentiment_analysis is a text classification model from niltonseixas. Use it when you need a label for a piece of text. It is set up for transformers.
This model aims to demonstrate text classification task through sentiment analysis
Downloads · 30 days
6
26% of all-time downloads
All-time downloads
23
Public
Repo size
526 MB
Likes
0
Public
Click a slice to open those files.
.bin263 MB · 100%
From the Hugging Face model README
This model aims to demonstrate text classification task through sentiment analysis
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("niltonseixas/sentiment_analysis_tokenizer")
model = pipeline("text-classification", model="niltonseixas/sentiment_analysis", tokenizer=tokenizer)
model("I'm in love with NLP")