Instructions to use chloeli/qwen-2.5-32b-rules-spec-aft-cot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chloeli/qwen-2.5-32b-rules-spec-aft-cot with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-32B-Instruct") model = PeftModel.from_pretrained(base_model, "chloeli/qwen-2.5-32b-rules-spec-aft-cot") - Notebooks
- Google Colab
- Kaggle
| {% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system | |
| You are a helpful assistant.<|im_end|> | |
| ' }}{% endif %}{{'<|im_start|>' + message['role'] + ' | |
| ' + message['content'] + '<|im_end|>' + ' | |
| '}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant | |
| ' }}{% endif %} |