Electricidad-small fine-tuned for (Spanish) Sentiment Anlalysis 🎞️👍👎
Electricidad small fine-tuned on muchocine dataset for Spanish Sentiment Analysis downstream task.
Fast usage with pipelines
🚀
# pip install -q transformers
from transformers import AutoModelForSequenceClassification, AutoTokenizer
CHKPT = 'mrm8488/electricidad-small-finetuned-muchocine'
model = AutoModelForSequenceClassification.from_pretrained(CHKPT)
tokenizer = AutoTokenizer.from_pretrained(CHKPT)
from transformers import pipeline
classifier = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
# It ranks your comments between 1 and 5 (stars)
classifier('Es una obra mestra. Brillante.')
classifier('Es una película muy buena.')
classifier('Una buena película, sin más.')
classifier('Esperaba mucho más.')
classifier('He tirado el dinero. Una basura. Vergonzoso.')
- Downloads last month
- 126
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.