Team Ai
Modelpublic

LeroyDyer/SpydazWebAI_VisionEncoderDecoderModel_Mini3b

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes12downloads
tokenizer_config.json81 linesDownload Raw Back to root
1{2  "add_bos_token": true,3  "add_eos_token": false,4  "added_tokens_decoder": {5    "0": {6      "content": "<unk>",7      "lstrip": false,8      "normalized": false,9      "rstrip": false,10      "single_word": false,11      "special": true12    },13    "1": {14      "content": "<s>",15      "lstrip": false,16      "normalized": false,17      "rstrip": false,18      "single_word": false,19      "special": true20    },21    "2": {22      "content": "<|im_end|>",23      "lstrip": false,24      "normalized": false,25      "rstrip": false,26      "single_word": false,27      "special": true28    },29    "32000": {30      "content": "<|startthought|>",31      "lstrip": false,32      "normalized": false,33      "rstrip": false,34      "single_word": false,35      "special": true36    },37    "32001": {38      "content": "<|endthought|>",39      "lstrip": false,40      "normalized": false,41      "rstrip": false,42      "single_word": false,43      "special": true44    },45    "32002": {46      "content": "<image>",47      "lstrip": false,48      "normalized": false,49      "rstrip": false,50      "single_word": false,51      "special": true52    },53    "32003": {54      "content": "<pad>",55      "lstrip": false,56      "normalized": false,57      "rstrip": false,58      "single_word": false,59      "special": true60    }61  },62  "additional_special_tokens": [63    "<|startthought|>",64    "<|endthought|>",65    "<|startthought|>",66    "<image>",67    "<pad>"68  ],69  "bos_token": "<s>",70  "chat_template": "{% for message in messages %}{% if message['from'] == 'human' %}{{'<|im_start|>user\n' + message['value'] + '<|im_end|>\n'}}{% elif message['from'] == 'gpt' %}{{'<|im_start|>assistant\n' + message['value'] + '<|im_end|>\n' }}{% else %}{{ '<|im_start|>system\n' + message['value'] + '<|im_end|>\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",71  "clean_up_tokenization_spaces": false,72  "eos_token": "<|im_end|>",73  "model_max_length": 32768,74  "pad_token": "<|im_end|>",75  "padding_side": "right",76  "tokenizer_class": "LlamaTokenizer",77  "truncation": true,78  "unk_token": "<unk>",79  "use_default_system_prompt": false80}81