pip install fastc
from fastc import Fastc model = Fastc('braindao/tinyroberta-6l-768d-language-identifier-en-es-ko-zh-fastc-lr') label = model.predict_one(text)['label']
Base model