Text Generation
PEFT
Safetensors
English
qwen2
qwen2.5
lora
qlora
instruction-tuning
lightweight
conversational
Instructions to use shiva123782/sunithaAI-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shiva123782/sunithaAI-small with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "shiva123782/sunithaAI-small") - Notebooks
- Google Colab
- Kaggle
File size: 477 Bytes
b15790d | 1 2 3 4 5 6 7 8 9 10 11 | {
"add_bos_token": false,
"add_eos_token": false,
"bos_token": null,
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\\n' + message['content'] + '<|im_end|>\\n'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant\\n'}}{% endif %}",
"clean_up_tokenization_spaces": false,
"eos_token": "<|im_end|>",
"model_max_length": 32768,
"pad_token": "<|endoftext|>",
"tokenizer_class": "Qwen2TokenizerFast"
} |