Downloads · 30 days
12
4% of all-time downloads
tenyyprn/qwen3-4b-structeval-exp15
qwen3-4b-structeval-exp15 is a text generation model from tenyyprn. 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.
Exp13 (SFT+DPO) をベースに、CSV変換の問題を修正するための特化LoRAアダプター。
Downloads · 30 days
12
4% of all-time downloads
All-time downloads
308
Public
Repo size
77.5 MB
Likes
0
Public
Click a slice to open those files.
.safetensors66.1 MB · 85%
From the Hugging Face model README
Exp13 (SFT+DPO) をベースに、CSV変換の問題を修正するための特化LoRAアダプター。
| Item | Detail |
|---|---|
| Base Model | Qwen/Qwen3-4B-Instruct-2507 |
| Parent Adapter | Exp13 (SFT + DPO, merged) |
| Purpose | CSV出力の「starting with header row」誤解釈を修正 |
| Method | Merged Exp13 + 追加LoRA fine-tuning |
| Parameter | Value |
|---|---|
| Learning Rate | 5e-5 |
| Epochs | 15 |
| Batch Size | 1 |
| Gradient Accumulation | 1 |
| LoRA r | 8 |
| LoRA alpha | 16 |
| LoRA dropout | 0.05 |
| Target Modules | q/k/v/o_proj, gate/up/down_proj |
| Precision | fp16 |
| Max Sequence Length | 2048 |
| Optimizer | AdamW |
| Seed | 3407 |
You are a structured data expert. Output the requested format directly without any explanation, preamble, or markdown code blocks. Do not write ```json, ```yaml, ```toml, ```xml, ```csv or similar. Output only the raw structured data.
| Parameter | Value |
|---|---|
| Temperature | 1e-7 (near-greedy) |
| Max New Tokens | 4096 |
| do_sample | False |
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base_model_id = "Qwen/Qwen3-4B-Instruct-2507"
adapter_id = "tenyyprn/qwen3-4b-structeval-exp15"
tokenizer = AutoTokenizer.from_pretrained(base_model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
base_model_id,
torch_dtype=torch.float16,
device_map="auto",
trust_remote_code=True,
)
model = PeftModel.from_pretrained(model, adapter_id)
model = model.merge_and_unload()
model.eval()
Ensemble (Exp13 + Exp15) の公式コンペスコア: 0.781733
| Format | Score |
|---|---|
| JSON | High |
| YAML | High |
| XML | High |
| CSV | Improved (fix applied) |
| TOML | Challenging |
Apache 2.0 (following base model license)