Instructions to use LocalDoc/language_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LocalDoc/language_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LocalDoc/language_detection")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LocalDoc/language_detection") model = AutoModelForSequenceClassification.from_pretrained("LocalDoc/language_detection") - Notebooks
- Google Colab
- Kaggle
Delete special_tokens_map.json
Browse files- special_tokens_map.json +0 -15
special_tokens_map.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"bos_token": "<s>",
|
| 3 |
-
"cls_token": "<s>",
|
| 4 |
-
"eos_token": "</s>",
|
| 5 |
-
"mask_token": {
|
| 6 |
-
"content": "<mask>",
|
| 7 |
-
"lstrip": true,
|
| 8 |
-
"normalized": false,
|
| 9 |
-
"rstrip": false,
|
| 10 |
-
"single_word": false
|
| 11 |
-
},
|
| 12 |
-
"pad_token": "<pad>",
|
| 13 |
-
"sep_token": "</s>",
|
| 14 |
-
"unk_token": "<unk>"
|
| 15 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|