brunneis's picture
Create README.md
709d6e6 verified
|
raw
history blame
432 Bytes
metadata
language:
  - en
  - es
  - gl
  - ko
  - zh
tags:
  - fastc
license: mit
base_model: deepset/tinyroberta-6l-768d

Install FastC

pip install fastc

Model Inference

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)