Instructions to use ToastyPigeon/nemo-kimi-lora-2e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ToastyPigeon/nemo-kimi-lora-2e with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("inflatebot/MN-12B-Mag-Mell-R1") model = PeftModel.from_pretrained(base_model, "ToastyPigeon/nemo-kimi-lora-2e") - Notebooks
- Google Colab
- Kaggle
File size: 328 Bytes
4d8f280 | 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 %} |