Upload tokenizer_config.json with huggingface_hub
Browse files- tokenizer_config.json +54 -96
tokenizer_config.json
CHANGED
|
@@ -1,100 +1,58 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
"
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
"eoi_token": "<image|>",
|
| 35 |
-
"eot_token": "<turn|>",
|
| 36 |
-
"escape_token": "<|\"|>",
|
| 37 |
-
"etc_token": "<tool_call|>",
|
| 38 |
-
"etd_token": "<tool|>",
|
| 39 |
-
"etr_token": "<tool_response|>",
|
| 40 |
-
"image_token": "<|image|>",
|
| 41 |
-
"soc_token": "<|channel>",
|
| 42 |
-
"sot_token": "<|turn>",
|
| 43 |
-
"stc_token": "<|tool_call>",
|
| 44 |
-
"std_token": "<|tool>",
|
| 45 |
-
"str_token": "<|tool_response>",
|
| 46 |
-
"think_token": "<|think|>"
|
| 47 |
-
},
|
| 48 |
-
"pad_token": "<pad>",
|
| 49 |
-
"padding_side": "left",
|
| 50 |
-
"processor_class": "Gemma4Processor",
|
| 51 |
-
"response_schema": {
|
| 52 |
-
"properties": {
|
| 53 |
-
"content": {
|
| 54 |
-
"type": "string"
|
| 55 |
-
},
|
| 56 |
-
"role": {
|
| 57 |
-
"const": "assistant"
|
| 58 |
-
},
|
| 59 |
-
"thinking": {
|
| 60 |
-
"type": "string"
|
| 61 |
-
},
|
| 62 |
-
"tool_calls": {
|
| 63 |
-
"items": {
|
| 64 |
-
"properties": {
|
| 65 |
-
"function": {
|
| 66 |
-
"properties": {
|
| 67 |
-
"arguments": {
|
| 68 |
-
"additionalProperties": {},
|
| 69 |
-
"type": "object",
|
| 70 |
-
"x-parser": "gemma4-tool-call"
|
| 71 |
-
},
|
| 72 |
-
"name": {
|
| 73 |
-
"type": "string"
|
| 74 |
-
}
|
| 75 |
-
},
|
| 76 |
-
"type": "object",
|
| 77 |
-
"x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})"
|
| 78 |
-
},
|
| 79 |
-
"type": {
|
| 80 |
-
"const": "function"
|
| 81 |
-
}
|
| 82 |
-
},
|
| 83 |
-
"type": "object"
|
| 84 |
-
},
|
| 85 |
-
"type": "array",
|
| 86 |
-
"x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>"
|
| 87 |
-
}
|
| 88 |
},
|
| 89 |
-
"
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
},
|
| 92 |
-
"
|
| 93 |
-
"
|
| 94 |
-
"
|
| 95 |
-
"
|
| 96 |
-
"
|
| 97 |
-
"
|
| 98 |
-
"
|
| 99 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
},
|
| 35 |
+
"4": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
},
|
| 44 |
+
"clean_up_tokenization_spaces": false,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_basic_tokenize": true,
|
| 47 |
+
"do_lower_case": false,
|
| 48 |
+
"extra_special_tokens": {},
|
| 49 |
+
"mask_token": "[MASK]",
|
| 50 |
+
"model_max_length": 512,
|
| 51 |
+
"never_split": null,
|
| 52 |
+
"pad_token": "[PAD]",
|
| 53 |
+
"sep_token": "[SEP]",
|
| 54 |
+
"strip_accents": null,
|
| 55 |
+
"tokenize_chinese_chars": true,
|
| 56 |
+
"tokenizer_class": "BertTokenizer",
|
| 57 |
+
"unk_token": "[UNK]"
|
| 58 |
}
|