YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Sentiment analysis model
This model aims to demonstrate text classification task through sentiment analysis
Model Description
- Developed by: [Nilton Seixas]
- Language(s) (NLP): [English]
- License: [More Information Needed]
- Finetuned from model [optional]: [distilbert-base-cased]
Model Sources [optional]
- Repository: [niltonseixas/sentiment_analysis]
- Paper [optional]: [More Information Needed]
- Demo [optional]: [More Information Needed]
Uses
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")
- Downloads last month
- 33
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.