Downloads · 30 days
11
6% of all-time downloads
braindao/e5-large-instruct-language-identifier-infused-papluca-fastc
e5-large-instruct-language-identifier-infused-papluca-fastc is a machine learning model from braindao. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
Downloads · 30 days
11
6% of all-time downloads
All-time downloads
179
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json752 KB · 100%
From the Hugging Face model README
pip install fastc
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)