Text Classification
Transformers
TensorBoard
Safetensors
xlm-roberta
Generated from Trainer
language-identification
text-embeddings-inference
Instructions to use polyglot-tagger/multilabel-language-identification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use polyglot-tagger/multilabel-language-identification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="polyglot-tagger/multilabel-language-identification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("polyglot-tagger/multilabel-language-identification") model = AutoModelForSequenceClassification.from_pretrained("polyglot-tagger/multilabel-language-identification") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,12 +14,12 @@ model-index:
|
|
| 14 |
results: []
|
| 15 |
---
|
| 16 |
|
| 17 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 18 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 19 |
|
| 20 |
-
#
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
- Loss: 0.0123
|
| 25 |
- Precision: 0.9859
|
|
@@ -27,17 +27,7 @@ It achieves the following results on the evaluation set:
|
|
| 27 |
- F1: 0.9845
|
| 28 |
- Accuracy: 0.9412
|
| 29 |
|
| 30 |
-
## Model description
|
| 31 |
-
|
| 32 |
-
More information needed
|
| 33 |
-
|
| 34 |
-
## Intended uses & limitations
|
| 35 |
-
|
| 36 |
-
More information needed
|
| 37 |
-
|
| 38 |
-
## Training and evaluation data
|
| 39 |
|
| 40 |
-
More information needed
|
| 41 |
|
| 42 |
## Training procedure
|
| 43 |
|
|
|
|
| 14 |
results: []
|
| 15 |
---
|
| 16 |
|
|
|
|
|
|
|
| 17 |
|
| 18 |
+
# Polyglot Tagger: Multi-label Language Identification
|
| 19 |
|
| 20 |
+
Refer to `polyglot-tagger/language-identification`. It is trained on the same dataset as a text-classifier rather than as a token classifier.
|
| 21 |
+
|
| 22 |
+
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base).
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
- Loss: 0.0123
|
| 25 |
- Precision: 0.9859
|
|
|
|
| 27 |
- F1: 0.9845
|
| 28 |
- Accuracy: 0.9412
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
|
|
|
| 31 |
|
| 32 |
## Training procedure
|
| 33 |
|