Downloads · 30 days
5
2% of all-time downloads
hosyan/qwen3-4b-structured-output-slack-recovery-phase1-format-guard-t006
qwen3-4b-structured-output-slack-recovery-phase1-format-guard-t006 is a text generation model from hosyan. 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.
qwen3-4b-structured-output-slack-recovery-phase1-format-guard-t006
Downloads · 30 days
5
2% of all-time downloads
All-time downloads
283
Public
Repo size
276 MB
Likes
0
Public
Click a slice to open those files.
.safetensors264 MB · 94%
From the Hugging Face model README
qwen3-4b-structured-output-slack-recovery-phase1-format-guard-t006
This repository provides a LoRA adapter fine-tuned from Qwen/Qwen3-4B-Instruct-2507.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base = "Qwen/Qwen3-4B-Instruct-2507"
adapter = "hosyan/qwen3-4b-structured-output-slack-recovery-phase1-format-guard-t006"
tokenizer = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(
base,
torch_dtype=torch.float16,
device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter)