CoolFace
Modelpublic

Unbabel/TowerInstruct-WMT24-Chat-7B

sourceHugging Facecc-by-nc-4.0updated 2y agoView on Hugging Face
2likes32downloads
tokenizer_config.json59 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    "32000": {30      "content": "<|im_end|>",31      "lstrip": false,32      "normalized": false,33      "rstrip": false,34      "single_word": false,35      "special": true36    },37    "32001": {38      "content": "<|im_start|>",39      "lstrip": false,40      "normalized": false,41      "rstrip": false,42      "single_word": false,43      "special": false44    }45  },46  "bos_token": "<s>",47  "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",48  "clean_up_tokenization_spaces": false,49  "eos_token": "<|im_end|>",50  "legacy": false,51  "model_max_length": 1000000000000000019884624838656,52  "pad_token": "</s>",53  "padding_side": "right",54  "sp_model_kwargs": {},55  "tokenizer_class": "LlamaTokenizer",56  "unk_token": "<unk>",57  "use_default_system_prompt": false58}59