Text Classification
Transformers
LiteRT
ONNX
Safetensors
bert
language
detection
classification
text-embeddings-inference
Instructions to use dewdev/language_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dewdev/language_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dewdev/language_detection")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dewdev/language_detection") model = AutoModelForSequenceClassification.from_pretrained("dewdev/language_detection") - Notebooks
- Google Colab
- Kaggle
Upload 5 files
Browse files- tokenizer.json +2 -2
tokenizer.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
| 53 |
"type": "Sequence",
|
| 54 |
"normalizers": [
|
| 55 |
{
|
| 56 |
-
"type": "
|
| 57 |
},
|
| 58 |
{
|
| 59 |
"type": "BertNormalizer",
|
|
@@ -50348,4 +50348,4 @@
|
|
| 50348 |
"erg": 50256
|
| 50349 |
}
|
| 50350 |
}
|
| 50351 |
-
}
|
|
|
|
| 53 |
"type": "Sequence",
|
| 54 |
"normalizers": [
|
| 55 |
{
|
| 56 |
+
"type": "NFD"
|
| 57 |
},
|
| 58 |
{
|
| 59 |
"type": "BertNormalizer",
|
|
|
|
| 50348 |
"erg": 50256
|
| 50349 |
}
|
| 50350 |
}
|
| 50351 |
+
}
|