Text Generation
PEFT
Safetensors
English
qwen2
qlora
governed-agent
proposal-only
research-only
szl-holdings
khipu
abstain-retrain
conversational
Instructions to use SZLHOLDINGS/KHIPU-R2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SZLHOLDINGS/KHIPU-R2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-1.5B-Instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "SZLHOLDINGS/KHIPU-R2") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from SZLHOLDINGS/KHIPU-R2: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/SZLHOLDINGS/KHIPU-R2/resolve/main/generation_config.json
- Command line
-
hf download hf://SZLHOLDINGS/KHIPU-R2/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/SZLHOLDINGS/KHIPU-R2/resolve/main/generation_config.json
256 Bytes
| { | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "repetition_penalty": 1.1, | |
| "temperature": 0.7, | |
| "top_k": 20, | |
| "top_p": 0.8, | |
| "transformers_version": "5.17.0" | |
| } | |