CoolFace
Modelpublic

cloneQ/my_personal_assistant

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes6downloads
tokenizer_config.json103 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": "</s>",23      "lstrip": false,24      "normalized": false,25      "rstrip": false,26      "single_word": false,27      "special": true28    },29    "92538": {30      "content": "<|plugin|>",31      "lstrip": false,32      "normalized": false,33      "rstrip": false,34      "single_word": false,35      "special": true36    },37    "92539": {38      "content": "<|interpreter|>",39      "lstrip": false,40      "normalized": false,41      "rstrip": false,42      "single_word": false,43      "special": true44    },45    "92540": {46      "content": "<|action_end|>",47      "lstrip": false,48      "normalized": false,49      "rstrip": false,50      "single_word": false,51      "special": true52    },53    "92541": {54      "content": "<|action_start|>",55      "lstrip": false,56      "normalized": false,57      "rstrip": false,58      "single_word": false,59      "special": true60    },61    "92542": {62      "content": "<|im_end|>",63      "lstrip": false,64      "normalized": false,65      "rstrip": false,66      "single_word": false,67      "special": true68    },69    "92543": {70      "content": "<|im_start|>",71      "lstrip": false,72      "normalized": false,73      "rstrip": false,74      "single_word": false,75      "special": true76    }77  },78  "additional_special_tokens": [79    "<|im_start|>",80    "<|im_end|>",81    "<|action_start|>",82    "<|action_end|>",83    "<|interpreter|>",84    "<|plugin|>"85  ],86  "auto_map": {87    "AutoTokenizer": [88      "tokenization_internlm2.InternLM2Tokenizer",89      "tokenization_internlm2_fast.InternLM2TokenizerFast"90    ]91  },92  "bos_token": "<s>",93  "chat_template": "{{ bos_token }}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",94  "clean_up_tokenization_spaces": false,95  "decode_with_prefix_space": false,96  "eos_token": "</s>",97  "model_max_length": 1000000000000000019884624838656,98  "pad_token": "</s>",99  "sp_model_kwargs": null,100  "tokenizer_class": "InternLM2Tokenizer",101  "unk_token": "<unk>"102}103