from fastc import SentenceClassifier
classifier = SentenceClassifier('braindao/tinyroberta-6l-768d-language-identifier-infused-en-es-ko-zh-fastc')
scores = classifier.predict_one('How are you today?')
language = max(scores, key=scores.get)
This model is not currently available via any of the supported third-party Inference Providers, and
HF Inference API was unable to determine this model’s pipeline type.
Model tree for braindao/tinyroberta-6l-768d-language-identifier-infused-en-es-ko-zh-fastc