Text Classification
Scikit-learn
Joblib
Russian
Tuvinian
custom
language-classification
russian
tuvan
Instructions to use tuva/turu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use tuva/turu with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("tuva/turu", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- language-classification
|
| 5 |
- russian
|
|
@@ -10,8 +12,11 @@ datasets:
|
|
| 10 |
metrics:
|
| 11 |
- accuracy
|
| 12 |
widget:
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Language Classifier
|
|
@@ -41,4 +46,4 @@ texts = ["В Туве приступили к разработке проект
|
|
| 41 |
|
| 42 |
# Получение предсказаний
|
| 43 |
predictions = classifier(texts)
|
| 44 |
-
print(predictions)
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- ru
|
| 4 |
+
- tyv
|
| 5 |
tags:
|
| 6 |
- language-classification
|
| 7 |
- russian
|
|
|
|
| 12 |
metrics:
|
| 13 |
- accuracy
|
| 14 |
widget:
|
| 15 |
+
- text: >-
|
| 16 |
+
В Туве приступили к разработке проектно-сметной документации новой котельной
|
| 17 |
+
Шагонара
|
| 18 |
+
- text: Тываның Баштыңы часкы тарылга ажылдарын дүргедедирин негээн
|
| 19 |
+
pipeline_tag: text-classification
|
| 20 |
---
|
| 21 |
|
| 22 |
# Language Classifier
|
|
|
|
| 46 |
|
| 47 |
# Получение предсказаний
|
| 48 |
predictions = classifier(texts)
|
| 49 |
+
print(predictions)
|