Text Classification
Transformers
ONNX
Safetensors
English
Tagalog
xlm-roberta
sentiment-analysis
filipino
taglish
text-embeddings-inference
Instructions to use cjcastro/xlm-roberta-Rise-On-AI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cjcastro/xlm-roberta-Rise-On-AI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cjcastro/xlm-roberta-Rise-On-AI")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cjcastro/xlm-roberta-Rise-On-AI") model = AutoModelForSequenceClassification.from_pretrained("cjcastro/xlm-roberta-Rise-On-AI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
XLM-RoBERTa Rise On AI — Sentiment Analysis
Fine-tuned XLM-RoBERTa for Filipino/English/Taglish 3-class sentiment.
Labels: positive · negative · distress
Accuracy: 82.6% · F1 macro: 0.815
Usage
from transformers import pipeline
clf = pipeline('text-classification', model='cjcastro/xlm-roberta-Rise-On-AI', top_k=None)
print(clf('I feel happy today!'))
- Downloads last month
- 84