brunneis's picture
Create README.md
8d7c5dc verified
metadata
language:
  - en
  - es
  - gl
  - ko
  - zh
tags:
  - fastc
license: mit
base_model: intfloat/multilingual-e5-large-instruct

Install FastC

pip install fastc

Model Inference

from fastc import SentenceClassifier

classifier = SentenceClassifier('braindao/e5-large-instruct-language-identifier-infused-en-es-gl-ko-zh-fastc')
scores = classifier.predict_one('Como te atopas?')
language = max(scores, key=scores.get)