CoolFace
Modelpublic

zoomerwork/model_Phi-3.5-mini-instruct

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
0likes7downloads
tokenizer_config.json130 linesDownload Raw Back to root
1{2  "add_bos_token": true,3  "add_eos_token": false,4  "add_prefix_space": null,5  "added_tokens_decoder": {6    "0": {7      "content": "<unk>",8      "lstrip": false,9      "normalized": false,10      "rstrip": false,11      "single_word": false,12      "special": true13    },14    "1": {15      "content": "<s>",16      "lstrip": false,17      "normalized": false,18      "rstrip": false,19      "single_word": false,20      "special": true21    },22    "2": {23      "content": "</s>",24      "lstrip": false,25      "normalized": false,26      "rstrip": true,27      "single_word": false,28      "special": false29    },30    "32000": {31      "content": "<end_of_turn>",32      "lstrip": false,33      "normalized": false,34      "rstrip": false,35      "single_word": false,36      "special": true37    },38    "32001": {39      "content": "<|assistant|>",40      "lstrip": false,41      "normalized": false,42      "rstrip": true,43      "single_word": false,44      "special": true45    },46    "32002": {47      "content": "<|placeholder1|>",48      "lstrip": false,49      "normalized": false,50      "rstrip": true,51      "single_word": false,52      "special": true53    },54    "32003": {55      "content": "<|placeholder2|>",56      "lstrip": false,57      "normalized": false,58      "rstrip": true,59      "single_word": false,60      "special": true61    },62    "32004": {63      "content": "<|placeholder3|>",64      "lstrip": false,65      "normalized": false,66      "rstrip": true,67      "single_word": false,68      "special": true69    },70    "32005": {71      "content": "<|placeholder4|>",72      "lstrip": false,73      "normalized": false,74      "rstrip": true,75      "single_word": false,76      "special": true77    },78    "32006": {79      "content": "<|system|>",80      "lstrip": false,81      "normalized": false,82      "rstrip": true,83      "single_word": false,84      "special": true85    },86    "32007": {87      "content": "<|end|>",88      "lstrip": false,89      "normalized": false,90      "rstrip": true,91      "single_word": false,92      "special": true93    },94    "32008": {95      "content": "<|placeholder5|>",96      "lstrip": false,97      "normalized": false,98      "rstrip": true,99      "single_word": false,100      "special": true101    },102    "32009": {103      "content": "<|placeholder6|>",104      "lstrip": false,105      "normalized": false,106      "rstrip": true,107      "single_word": false,108      "special": true109    },110    "32010": {111      "content": "<|user|>",112      "lstrip": false,113      "normalized": false,114      "rstrip": true,115      "single_word": false,116      "special": true117    }118  },119  "bos_token": "<s>",120  "clean_up_tokenization_spaces": false,121  "eos_token": "<end_of_turn>",122  "extra_special_tokens": {},123  "legacy": true,124  "model_max_length": 1000000000000000019884624838656,125  "pad_token": "<|placeholder6|>",126  "tokenizer_class": "LlamaTokenizerFast",127  "unk_token": "<unk>",128  "use_default_system_prompt": false,129  "chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{'<start_of_turn>user\n' + messages[0]['content'] | trim + ' ' + messages[1]['content'] | trim + '<end_of_turn>\n'}}{% set messages = messages[2:] %}{% endif %}{% for message in messages %}{% if message['role'] == 'user' %}{{'<start_of_turn>user\n' + message['content'] | trim + '<end_of_turn>\n'}}{% elif message['role'] == 'assistant' %}{{'<start_of_turn>model\n' + message['content'] | trim + '<end_of_turn>\n' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<start_of_turn>model\n' }}{% endif %}"130}