brunneis's picture
Create README.md
367d57e verified
|
raw
history blame
No virus
437 Bytes
---
language:
- en
- es
- gl
- ko
- zh
tags:
- fastc
license: mit
base_model: intfloat/multilingual-e5-large-instruct
---
## Install FastC
```bash
pip install fastc
```
## Model Inference
```python
from fastc import SentenceClassifier
classifier = SentenceClassifier('braindao/e5-large-instruct-language-identifier-en-es-gl-ko-zh-fastc')
scores = classifier.predict_one('How are you today?')
language = max(scores, key=scores.get)
```