Views
No views yet
1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B", torch_dtype="bfloat16")
5model = PeftModel.from_pretrained(base, "muzaffercky/Sorjin1-LoRA")
6
7# Merge adapter into base weights
8model = model.merge_and_unload()| Model | Description |
|---|---|
| Sorjîn1-LoRA (this model) | Raw LoRA adapter weights |
| Sorjîn1-7B | Continually pretrained base model |
| Sorjîn1-7B-Instruct | Merged with Qwen2.5-7B-Instruct |