CoolFace
Modelpublic

OpenGVLab/InternVL2-40B

sourceHugging Facemitupdated 2y agoView on Hugging Face
93likes285downloads
tokenizer_config.json144 linesDownload Raw Back to root
1{2  "add_bos_token": false,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": "<|startoftext|>",15      "lstrip": false,16      "normalized": false,17      "rstrip": false,18      "single_word": false,19      "special": true20    },21    "2": {22      "content": "<|endoftext|>",23      "lstrip": false,24      "normalized": false,25      "rstrip": false,26      "single_word": false,27      "special": true28    },29    "6": {30      "content": "<|im_start|>",31      "lstrip": false,32      "normalized": false,33      "rstrip": false,34      "single_word": false,35      "special": false36    },37    "7": {38      "content": "<|im_end|>",39      "lstrip": false,40      "normalized": false,41      "rstrip": false,42      "single_word": false,43      "special": true44    },45    "68": {46      "content": "<img>",47      "lstrip": false,48      "normalized": false,49      "rstrip": false,50      "single_word": false,51      "special": true52    },53    "70": {54      "content": "</img>",55      "lstrip": false,56      "normalized": false,57      "rstrip": false,58      "single_word": false,59      "special": true60    },61    "64000": {62      "content": "<IMG_CONTEXT>",63      "lstrip": false,64      "normalized": false,65      "rstrip": false,66      "single_word": false,67      "special": true68    },69    "64001": {70      "content": "<quad>",71      "lstrip": false,72      "normalized": false,73      "rstrip": false,74      "single_word": false,75      "special": true76    },77    "64002": {78      "content": "</quad>",79      "lstrip": false,80      "normalized": false,81      "rstrip": false,82      "single_word": false,83      "special": true84    },85    "64003": {86      "content": "<ref>",87      "lstrip": false,88      "normalized": false,89      "rstrip": false,90      "single_word": false,91      "special": true92    },93    "64004": {94      "content": "</ref>",95      "lstrip": false,96      "normalized": false,97      "rstrip": false,98      "single_word": false,99      "special": true100    },101    "64005": {102      "content": "<box>",103      "lstrip": false,104      "normalized": false,105      "rstrip": false,106      "single_word": false,107      "special": true108    },109    "64006": {110      "content": "</box>",111      "lstrip": false,112      "normalized": false,113      "rstrip": false,114      "single_word": false,115      "special": true116    }117  },118  "additional_special_tokens": [119    "<img>",120    "</img>",121    "<IMG_CONTEXT>",122    "<quad>",123    "</quad>",124    "<ref>",125    "</ref>",126    "<box>",127    "</box>"128  ],129  "bos_token": "<|startoftext|>",130  "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",131  "clean_up_tokenization_spaces": false,132  "eos_token": "<|im_end|>",133  "legacy": true,134  "model_max_length": 8192,135  "pad_token": "<unk>",136  "sp_model_kwargs": {},137  "spaces_between_special_tokens": false,138  "tokenizer_class": "LlamaTokenizer",139  "trust_remote_code": false,140  "unk_token": "<unk>",141  "use_default_system_prompt": false,142  "use_fast": true143}144