Instructions to use kinit/hyperproof-solver-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kinit/hyperproof-solver-sft with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kinit/hyperproof-solver-sft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download chat_template.jinja from kinit/hyperproof-solver-sft: direct link, hf CLI and curl.
- Browser
- Download file 690 Bytes
-
https://huggingface.co/kinit/hyperproof-solver-sft/resolve/main/chat_template.jinja
- Command line
-
hf download hf://kinit/hyperproof-solver-sft/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/kinit/hyperproof-solver-sft/resolve/main/chat_template.jinja
690 Bytes
| {%- if messages and messages[0].role == 'system' %} | |
| {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} | |
| {%- set loop_messages = messages[1:] %} | |
| {%- else %} | |
| {%- set loop_messages = messages %} | |
| {%- endif %} | |
| {%- for message in loop_messages %} | |
| {{- '<|im_start|>' + message.role + '\n' }} | |
| {%- if message.role == 'assistant' %} | |
| {% generation %}{{- message.content + '<|im_end|>' }}{% endgeneration %}{{- '\n' }} | |
| {%- else %} | |
| {{- message.content + '<|im_end|>\n' }} | |
| {%- endif %} | |
| {%- endfor %} | |
| {%- if add_generation_prompt %} | |
| {{- '<|im_start|>assistant\n' }} | |
| {%- if enable_thinking is not defined or not enable_thinking %} | |
| {{- '<think>\n\n</think>\n\n' }} | |
| {%- endif %} | |
| {%- endif %} |