Downloads · 30 days
10
18% of all-time downloads
sunming-giegie/assignment3-part4-qwen3-1.7b-lora
assignment3-part4-qwen3-1.7b-lora is a text generation model from sunming-giegie. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This repository contains the Part 4 final instruction-tuning adapter for Assignment 3, built on top of Qwen/Qwen3-1.7B with LoRA. The model is intended as a compact, submission-ready artifact for the classroom pipelin…
Downloads · 30 days
10
18% of all-time downloads
All-time downloads
56
Public
Repo size
166 MB
Likes
0
Public
Click a slice to open those files.
.pt103 MB · 45%
From the Hugging Face model README
This repository contains the Part 4 final instruction-tuning adapter for Assignment 3, built on top of Qwen/Qwen3-1.7B with LoRA. The model is intended as a compact, submission-ready artifact for the classroom pipeline based on self-generated and self-curated instruction-response pairs.
sunming-giegieQwen/Qwen3-1.7BThis adapter is meant for:
It is not intended as a production-ready general assistant.
This model was trained on a small curated dataset and remains noticeably sensitive to prompt style and topic domain. In internal inspection during the assignment, the model was more reliable on concise factual or technical questions than on creative, open-ended, or multi-step reasoning prompts.
Known limitations:
Load the base model first, then attach this adapter with PEFT.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model = "Qwen/Qwen3-1.7B"
adapter_path = "sunming-giegie/assignment3-part4-qwen3-1.7b-lora"
tokenizer = AutoTokenizer.from_pretrained(adapter_path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
base_model,
trust_remote_code=True,
torch_dtype="auto",
device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter_path)
The training data comes from the Part 3 curated dataset:
(instruction, response) pair with Qwen/Qwen3-1.7B.The Part 3 curated dataset repo is expected to live alongside this model release.
This adapter corresponds to the compact forward model variant selected as the most submission-ready version after multiple remediation rounds.
r): 16q_proj, k_proj, v_proj, o_proj5e-54281536Training and inference used a direct-answer prompt style with a /no_think control token and explicit constraints to avoid chain-of-thought style output. Additional response cleaning and token suppression were added during the assignment to reduce stray special-token leakage.
Evaluation for the assignment was primarily example-based and qualitative:
Among the explored variants, the compact adapter was selected for submission because it produced the most stable direct answers on short factual and technical prompts.
adapter_model.safetensors: LoRA adapter weightsadapter_config.json: LoRA configuration