Downloads · 30 days
3
6% of all-time downloads
yamayos/qwen3-4b-structured-output-lora-comp-2026feb-run08
qwen3-4b-structured-output-lora-comp-2026feb-run08 is a text generation model from yamayos. Use it when you need the model to write or continue text. It is set up for peft.
This adapter was trained for the StructEval competition using supervised fine-tuning (SFT).
Downloads · 30 days
3
6% of all-time downloads
All-time downloads
47
Public
Repo size
540 MB
Likes
0
Public
Click a slice to open those files.
.safetensors529 MB · 97%
From the Hugging Face model README
This adapter was trained for the StructEval competition using supervised fine-tuning (SFT).
unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit
RUN_ID: structeval_20260301_024851_32a2ac1e
Learning rate: 2.6e-6
Epochs: 2
Max seq length: 1536
Batch size: 2
Gradient accumulation: 4
LoRA:
r = 64
alpha = 128
dropout = 0.0
Upsampling: {"toml": 3.0}
Validation loss: 0.9484043121337891
This LoRA adapter was trained to improve structured output generation (JSON / YAML / TOML / XML / CSV) for the StructEval competition.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = "unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit"
adapter = "yamayos/qwen3-4b-structured-output-lora-comp-2026feb-run08"
model = AutoModelForCausalLM.from_pretrained(base)
model = PeftModel.from_pretrained(model, adapter)
tokenizer = AutoTokenizer.from_pretrained(base)