How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="mrm8488/electricidad-small-finetuned-restaurant-sentiment-analysis")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("mrm8488/electricidad-small-finetuned-restaurant-sentiment-analysis")
model = AutoModelForSequenceClassification.from_pretrained("mrm8488/electricidad-small-finetuned-restaurant-sentiment-analysis")
Quick Links

Electricidad-small fine-tuned on restaurant review sentiment analysis dataset

Test set accuray: 0.86

Downloads last month
63
Safetensors
Model size
13.6M params
Tensor type
I64
·
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support