Instructions to use cagils/model_name with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cagils/model_name with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cagils/model_name", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -2058,7 +2058,7 @@
|
|
| 2058 |
}
|
| 2059 |
},
|
| 2060 |
"bos_token": "<|begin_of_text|>",
|
| 2061 |
-
"chat_template": "{% for message in messages %}\n {% if message['role'] == 'user' %}\n {{ bos_token + '[INST] ' + message['content'].strip() + ' [/INST]' }}\n {% elif message['role'] == 'system' %}\n {{ '<<SYSTEM>>\\n' + message['content'].strip() + '\\n<</SYSTEM>>\\n\\n' }}\n {% endif %}\n{% endfor %}",
|
| 2062 |
"clean_up_tokenization_spaces": true,
|
| 2063 |
"eos_token": "<|im_end|>",
|
| 2064 |
"extra_special_tokens": {},
|
|
|
|
| 2058 |
}
|
| 2059 |
},
|
| 2060 |
"bos_token": "<|begin_of_text|>",
|
| 2061 |
+
"chat_template": "\n\n{% for message in messages %}\n {% if message['role'] == 'user' %}\n {{ bos_token + '[INST] ' + message['content'].strip() + ' [/INST]' }}\n {% elif message['role'] == 'system' %}\n {{ '<<SYSTEM>>\\n' + message['content'].strip() + '\\n<</SYSTEM>>\\n\\n' }}\n {% endif %}\n{% endfor %}\n\n",
|
| 2062 |
"clean_up_tokenization_spaces": true,
|
| 2063 |
"eos_token": "<|im_end|>",
|
| 2064 |
"extra_special_tokens": {},
|