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
Download tokenizer_config.json from shiva123782/sunithaAI-small: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/shiva123782/sunithaAI-small/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://shiva123782/sunithaAI-small/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/shiva123782/sunithaAI-small/resolve/main/tokenizer_config.json
477 Bytes
| { | |
| "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" | |
| } |