Instructions to use TomasJavurek/stepwise_eq_sft_model_multitask_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TomasJavurek/stepwise_eq_sft_model_multitask_v2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TomasJavurek/stepwise_eq_sft_model_multitask_v2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| {%- if messages and messages[0].role == 'system' -%} | |
| <|im_start|>system | |
| {{ messages[0].content }}<|im_end|> | |
| {%- endif -%} | |
| {%- for message in messages[1:] -%} | |
| <|im_start|>{{ message.role }} | |
| {%- if message.role == 'assistant' -%} | |
| {% generation %}{{ message.content }}{% endgeneration %}<|im_end|> | |
| {%- else -%} | |
| {{ message.content }}<|im_end|> | |
| {%- endif -%} | |
| {%- endfor -%} | |
| {%- if add_generation_prompt -%} | |
| <|im_start|>assistant | |
| {%- endif -%} |