Views
No views yet
Qwen/Qwen3-1.7B and use the same form-injection prompt format as at training time (see the repository configs).| Base model | Qwen/Qwen3-1.7B (Apache 2.0) |
| Method | LoRA, rank (r=16), (\alpha=32), dropout 0.05 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Data | 4,205 filtered prompt–completion pairs from the 150-verb diagnostic grid (3,995 train / 210 val; hard cells oversampled (\times 2)) |
| Objective | Supervised fine-tuning (next-token CE on prompt–completion pairs) |
| Checkpoint | Best validation loss at 1,000 steps (early stopping); 3 epochs, lr (2\times10^{-4}) |
| Adapter size | ~67 MB |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base_id = "Qwen/Qwen3-1.7B"
5adapter_id = "JoshyG14/qwen3-1.7b-spanish-lora-with-inject"
6
7tokenizer = AutoTokenizer.from_pretrained(base_id)
8model = AutoModelForCausalLM.from_pretrained(base_id)
9model = PeftModel.from_pretrained(model, adapter_id)