Instructions to use nbzy1995/Qwen2-0-5B-GRPO-vllm-trl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nbzy1995/Qwen2-0-5B-GRPO-vllm-trl with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nbzy1995/Qwen2-0-5B-GRPO-vllm-trl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 328 Bytes
7d84cc9 | 1 2 3 4 5 6 | {% 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 %} |