Download tokenizer_config.json from CodeGoat24/UnifiedReward-7b: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/CodeGoat24/UnifiedReward-7b/resolve/fcc947660a660af0810fbd5f1d76f9e8af47fd9e/tokenizer_config.json
- Command line
-
hf download hf://CodeGoat24/UnifiedReward-7b@fcc947660a660af0810fbd5f1d76f9e8af47fd9e/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/CodeGoat24/UnifiedReward-7b/resolve/fcc947660a660af0810fbd5f1d76f9e8af47fd9e/tokenizer_config.json
1.54 kB
| { | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "151643": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "151644": { | |
| "content": "<|im_start|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "151645": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "151646": { | |
| "content": "<image>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>" | |
| ], | |
| "bos_token": null, | |
| "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|im_end|>", | |
| "errors": "replace", | |
| "model_max_length": 13000, | |
| "pad_token": "<|endoftext|>", | |
| "padding_side": "right", | |
| "processor_class": "LlavaProcessor", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |