File size: 432 Bytes
709d6e6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
---
language:
- en
- es
- gl
- ko
- zh
tags:
- fastc
license: mit
base_model: deepset/tinyroberta-6l-768d
---
## Install FastC
```bash
pip install fastc
```
## Model Inference
```python
from fastc import SentenceClassifier
classifier = SentenceClassifier('braindao/tinyroberta-6l-768d-language-identifier-infused-en-es-gl-ko-zh-fastc')
scores = classifier.predict_one('Como te atopas?')
language = max(scores, key=scores.get)
``` |