Edit model card

from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline

tokenizer = AutoTokenizer.from_pretrained("MMG/xlm-roberta-base-sa-spanish")

model = AutoModelForSequenceClassification.from_pretrained("MMG/xlm-roberta-base-sa-spanish")

pipe = pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)

pipe(["Este bar es horrible", "Este bar es buenísimo"]))

Downloads last month
45
Safetensors
Model size
278M params
Tensor type
I64
·
F32
·
Inference Examples
Inference API (serverless) is not available, repository is disabled.