--- language: - ar - bg - de - el - en - es - fr - hi - it - ja - nl - pl - pt - ru - sw - th - tr - ur - vi - zh tags: - fastc license: mit datasets: - papluca/language-identification base_model: deepset/tinyroberta-6l-768d --- ## Install FastC ```bash pip install fastc ``` ## Model Inference ```python from fastc import SentenceClassifier classifier = SentenceClassifier('braindao/tinyroberta-6l-768d-language-identifier-infused-papluca-fastc') scores = classifier.predict_one('How are you today?') language = max(scores, key=scores.get) ```