Downloads · 30 days
7
18% of all-time downloads
yamaTK/qwen3-4b-lora-y-v40
qwen3-4b-lora-y-v40 is a text generation model from yamaTK. 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.
LoRA adapter fine-tuned for structured output tasks (JSON / YAML / XML / TOML / CSV).
Downloads · 30 days
7
18% of all-time downloads
All-time downloads
39
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 99%
From the Hugging Face model README
LoRA adapter fine-tuned for structured output tasks (JSON / YAML / XML / TOML / CSV).
This repository contains adapter weights only. Load with the base model separately.
Qwen/Qwen3-4B-Instruct-2507merged_dataset_final_clean_v41.jsonl51223.896385201823815e-060.061056336167391850.0128 / 1280.04q_proj,k_proj,v_proj,o_proj,gate_proj,up_proj,down_proj73259offLocal evaluation on public_150.json (for offline comparison only):
141/150 (94.0%)0.644055.2%100%, YAML 100%, TOML 68%, XML 95%, CSV 100%from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base_model_id = "Qwen/Qwen3-4B-Instruct-2507"
adapter_model_id = "yamaTK/qwen3-4b-lora-y-v40"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
model = AutoModelForCausalLM.from_pretrained(
base_model_id,
torch_dtype=torch.float16,
device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter_model_id)
public_150.json was not used for training data generation.