Instructions to use Yuyeong/GDV-tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yuyeong/GDV-tokenizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Yuyeong/GDV-tokenizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- special_tokens_map.json +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +1 -9
special_tokens_map.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"additional_special_tokens": [
|
| 3 |
"<|begin_of_text|>",
|
| 4 |
"<|end_of_text|>",
|
| 5 |
-
"<|
|
| 6 |
],
|
| 7 |
"bos_token": "<|begin_of_text|>",
|
| 8 |
"eos_token": "<|end_of_text|>",
|
|
|
|
| 2 |
"additional_special_tokens": [
|
| 3 |
"<|begin_of_text|>",
|
| 4 |
"<|end_of_text|>",
|
| 5 |
+
"<|finetune_right_pad_id|>"
|
| 6 |
],
|
| 7 |
"bos_token": "<|begin_of_text|>",
|
| 8 |
"eos_token": "<|end_of_text|>",
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -2047,20 +2047,12 @@
|
|
| 2047 |
"rstrip": false,
|
| 2048 |
"single_word": false,
|
| 2049 |
"special": true
|
| 2050 |
-
},
|
| 2051 |
-
"256": {
|
| 2052 |
-
"content": "<|finetune_rizght_pad_id|>",
|
| 2053 |
-
"lstrip": false,
|
| 2054 |
-
"normalized": false,
|
| 2055 |
-
"rstrip": false,
|
| 2056 |
-
"single_word": false,
|
| 2057 |
-
"special": true
|
| 2058 |
}
|
| 2059 |
},
|
| 2060 |
"additional_special_tokens": [
|
| 2061 |
"<|begin_of_text|>",
|
| 2062 |
"<|end_of_text|>",
|
| 2063 |
-
"<|
|
| 2064 |
],
|
| 2065 |
"bos_token": "<|begin_of_text|>",
|
| 2066 |
"clean_up_tokenization_spaces": true,
|
|
|
|
| 2047 |
"rstrip": false,
|
| 2048 |
"single_word": false,
|
| 2049 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2050 |
}
|
| 2051 |
},
|
| 2052 |
"additional_special_tokens": [
|
| 2053 |
"<|begin_of_text|>",
|
| 2054 |
"<|end_of_text|>",
|
| 2055 |
+
"<|finetune_right_pad_id|>"
|
| 2056 |
],
|
| 2057 |
"bos_token": "<|begin_of_text|>",
|
| 2058 |
"clean_up_tokenization_spaces": true,
|