Views
No views yet
sentence-transformers/LaBSE (501k Vocabulary)| Language Track | Best Classical ML | MuRIL | IndicBERT | XLM-RoBERTa | LaBSE (This Model) |
|---|---|---|---|---|---|
| English | 90.98% | — | — | 93.88% | 94.13% |
| Sinhala | 83.08% | — | — | 92.42% | 92.95% |
| Singlish (Romanized) | 86.49% | — | — | 90.03% | 90.65% |
| Tamil | 86.35% | 66.01% | 89.81% | 91.74% | 93.27% |
| Tanglish (Romanized) | 61.05% | 57.62% | 61.25% | 72.04% | 70.57% |
| ALL (Pooled) | 83.18% | 62.10% | 76.24% | 88.29% | 88.54% |
transformers pipeline:1from transformers import pipeline
2
3classifier = pipeline("text-classification", model="Swift-Support/labse-intent-1.0")
4
5result = classifier("I lost my credit card yesterday, please help me cancel it")
6print(result)
7# Output: [{'label': 'Card payment declined', 'score': 0.98}]