pip install fastc
from fastc import Fastc model = Fastc('braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc') label = model.predict_one(text)['label']
Base model