Install FastC
pip install fastc
Model Inference
from fastc import SentenceClassifier
classifier = SentenceClassifier('braindao/e5-large-instruct-language-identifier-infused-papluca-fastc')
scores = classifier.predict_one('How are you today?')
language = max(scores, key=scores.get)