Instructions to use philschmid/gemma-tokenizer-chatml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philschmid/gemma-tokenizer-chatml with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("philschmid/gemma-tokenizer-chatml", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update special_tokens_map.json
Browse files- special_tokens_map.json +2 -14
special_tokens_map.json
CHANGED
|
@@ -3,20 +3,8 @@
|
|
| 3 |
"<|im_start|>",
|
| 4 |
"<|im_end|>"
|
| 5 |
],
|
| 6 |
-
"bos_token":
|
| 7 |
-
|
| 8 |
-
"lstrip": false,
|
| 9 |
-
"normalized": false,
|
| 10 |
-
"rstrip": false,
|
| 11 |
-
"single_word": false
|
| 12 |
-
},
|
| 13 |
-
"eos_token": {
|
| 14 |
-
"content": "<|im_end|>",
|
| 15 |
-
"lstrip": false,
|
| 16 |
-
"normalized": false,
|
| 17 |
-
"rstrip": false,
|
| 18 |
-
"single_word": false
|
| 19 |
-
},
|
| 20 |
"pad_token": {
|
| 21 |
"content": "<pad>",
|
| 22 |
"lstrip": false,
|
|
|
|
| 3 |
"<|im_start|>",
|
| 4 |
"<|im_end|>"
|
| 5 |
],
|
| 6 |
+
"bos_token": "<bos>",
|
| 7 |
+
"eos_token": "<eos>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
"pad_token": {
|
| 9 |
"content": "<pad>",
|
| 10 |
"lstrip": false,
|