CoolFace
Modelpublic

gradientdegen/phi-4-mini-instruct-base

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes13downloads
tokenizer_config.json112 linesDownload Raw Back to root
1{2  "add_bos_token": false,3  "add_eos_token": false,4  "add_prefix_space": false,5  "added_tokens_decoder": {6    "199999": {7      "content": "<|endoftext|>",8      "lstrip": false,9      "normalized": false,10      "rstrip": false,11      "single_word": false,12      "special": true13    },14    "200018": {15      "content": "<|endofprompt|>",16      "lstrip": false,17      "normalized": false,18      "rstrip": false,19      "single_word": false,20      "special": true21    },22    "200019": {23      "content": "<|assistant|>",24      "lstrip": false,25      "normalized": false,26      "rstrip": true,27      "single_word": false,28      "special": true29    },30    "200020": {31      "content": "<|end|>",32      "lstrip": false,33      "normalized": false,34      "rstrip": true,35      "single_word": false,36      "special": true37    },38    "200021": {39      "content": "<|user|>",40      "lstrip": false,41      "normalized": false,42      "rstrip": true,43      "single_word": false,44      "special": true45    },46    "200022": {47      "content": "<|system|>",48      "lstrip": false,49      "normalized": false,50      "rstrip": true,51      "single_word": false,52      "special": true53    },54    "200023": {55      "content": "<|tool|>",56      "lstrip": false,57      "normalized": false,58      "rstrip": true,59      "single_word": false,60      "special": false61    },62    "200024": {63      "content": "<|/tool|>",64      "lstrip": false,65      "normalized": false,66      "rstrip": true,67      "single_word": false,68      "special": false69    },70    "200025": {71      "content": "<|tool_call|>",72      "lstrip": false,73      "normalized": false,74      "rstrip": true,75      "single_word": false,76      "special": false77    },78    "200026": {79      "content": "<|/tool_call|>",80      "lstrip": false,81      "normalized": false,82      "rstrip": true,83      "single_word": false,84      "special": false85    },86    "200027": {87      "content": "<|tool_response|>",88      "lstrip": false,89      "normalized": false,90      "rstrip": true,91      "single_word": false,92      "special": false93    },94    "200028": {95      "content": "<|tag|>",96      "lstrip": false,97      "normalized": false,98      "rstrip": true,99      "single_word": false,100      "special": true101    }102  },103  "bos_token": "<|endoftext|>",104  "chat_template": "{% for message in messages %}{% if message['role'] == 'system' and 'tools' in message and message['tools'] is not none %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|tool|>' + message['tools'] + '<|/tool|>' + '<|end|>' }}{% else %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% else %}{{ eos_token }}{% endif %}",105  "clean_up_tokenization_spaces": false,106  "eos_token": "<|endoftext|>",107  "model_max_length": 131072,108  "pad_token": "<|endoftext|>",109  "tokenizer_class": "GPT2Tokenizer",110  "unk_token": "<|endoftext|>"111}112