Downloads · 30 days
8
12% of all-time downloads
EvaanLi/qwen3-1.7b-final-lora
qwen3-1.7b-final-lora is a text generation model from EvaanLi. Use it when you need the model to write or continue text. It is set up for peft.
This adapter is the final model in the self-alignment pipeline. It is trained on self-curated instruction-response pairs produced by the backward model and scored by the base model.
Downloads · 30 days
8
12% of all-time downloads
All-time downloads
69
Public
Repo size
116 MB
Likes
0
Public
Click a slice to open those files.
.pt70.1 MB · 46%
From the Hugging Face model README
This adapter is the final model in the self-alignment pipeline. It is trained on self-curated instruction-response pairs produced by the backward model and scored by the base model.
Causal LM with loss applied only on the response tokens.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = "Qwen/Qwen3-1.7B"
adapter = "EvaanLi/qwen3-1.7b-final-lora"
tokenizer = AutoTokenizer.from_pretrained(base, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(base, trust_remote_code=True)
model = PeftModel.from_pretrained(model, adapter)