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
- 113
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.