CoolFace
Modelpublic

hf-tiny-v2/tiny-random-Gemma4UnifiedTextModel

sourceHugging Faceupdated 1mo agoView on Hugging Face
0likes7downloads
tokenizer_config.json143 linesDownload Raw Back to root
1{2  "audio_token": "<|audio|>",3  "backend": "tokenizers",4  "boa_token": "<|audio>",5  "boi_token": "<|image>",6  "bos_token": "<bos>",7  "eoa_token": "<audio|>",8  "eoc_token": "<channel|>",9  "eoi_token": "<image|>",10  "eos_token": "<eos>",11  "eot_token": "<turn|>",12  "escape_token": "<|\"|>",13  "etc_token": "<tool_call|>",14  "etd_token": "<tool|>",15  "etr_token": "<tool_response|>",16  "extra_special_tokens": [17    "<|video|>"18  ],19  "image_token": "<|image|>",20  "is_local": true,21  "local_files_only": false,22  "mask_token": "<mask>",23  "model_max_length": 512,24  "model_specific_special_tokens": {25    "audio_token": "<|audio|>",26    "boa_token": "<|audio>",27    "boi_token": "<|image>",28    "eoa_token": "<audio|>",29    "eoc_token": "<channel|>",30    "eoi_token": "<image|>",31    "eot_token": "<turn|>",32    "escape_token": "<|\"|>",33    "etc_token": "<tool_call|>",34    "etd_token": "<tool|>",35    "etr_token": "<tool_response|>",36    "image_token": "<|image|>",37    "soc_token": "<|channel>",38    "sot_token": "<|turn>",39    "stc_token": "<|tool_call>",40    "std_token": "<|tool>",41    "str_token": "<|tool_response>",42    "think_token": "<|think|>"43  },44  "pad_token": "<pad>",45  "padding_side": "left",46  "processor_class": "Gemma4UnifiedProcessor",47  "response_schema": {48    "properties": {49      "content": {50        "type": "string"51      },52      "role": {53        "const": "assistant"54      },55      "thinking": {56        "type": "string"57      },58      "tool_calls": {59        "items": {60          "properties": {61            "function": {62              "properties": {63                "arguments": {64                  "additionalProperties": {},65                  "type": "object",66                  "x-parser": "gemma4-tool-call"67                },68                "name": {69                  "type": "string"70                }71              },72              "type": "object",73              "x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})"74            },75            "type": {76              "const": "function"77            }78          },79          "type": "object"80        },81        "type": "array",82        "x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>"83      }84    },85    "type": "object",86    "x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"87  },88  "response_template": {89    "defaults": {90      "role": "assistant"91    },92    "fields": {93      "content": {94        "close": [95          "<turn|>",96          "<|tool_response>",97          "<eos>"98        ],99        "content": "text"100      },101      "thinking": {102        "close": "<channel|>",103        "content": "text",104        "open": "<|channel>thought\n"105      },106      "tool_calls": {107        "close": "<tool_call|>",108        "content": "json",109        "content_args": {110          "string_delims": [111            [112              "<|\"|>",113              "<|\"|>"114            ]115          ],116          "unquoted_keys": true117        },118        "open_pattern": "<\\|tool_call>call:(?P<name>\\w+)",119        "repeats": true,120        "transform": {121          "function": {122            "arguments": "{content}",123            "name": "{name}"124          },125          "type": "function"126        }127      }128    },129    "start_anchor": [130      "<|turn>model\n",131      "<tool_response|>"132    ]133  },134  "soc_token": "<|channel>",135  "sot_token": "<|turn>",136  "stc_token": "<|tool_call>",137  "std_token": "<|tool>",138  "str_token": "<|tool_response>",139  "think_token": "<|think|>",140  "tokenizer_class": "GemmaTokenizer",141  "unk_token": "<unk>"142}143