Text Classification
Transformers
Safetensors
Tswana
bert
sentiment-analysis
setswana
tswana
african-languages
twitter
Eval Results (legacy)
text-embeddings-inference
Instructions to use Ido-shraga/setswana-sentiment-mbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ido-shraga/setswana-sentiment-mbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ido-shraga/setswana-sentiment-mbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Ido-shraga/setswana-sentiment-mbert") model = AutoModelForSequenceClassification.from_pretrained("Ido-shraga/setswana-sentiment-mbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Yesterday
-
Add afro-xlmr-base to comparison table
Verified signaturead7b2a0 -
Final model card: test accuracy 0.567 / macro-F1 0.524
Verified signaturec443956 -
Setswana sentiment fine-tune, trained with ML Intern
Verified signature92d2c25 -
initial commit
Verified signature3dc5922