Instructions to use yuk1chan/qwen3-4b-struct-eval-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use yuk1chan/qwen3-4b-struct-eval-test with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for yuk1chan/qwen3-4b-struct-eval-test to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for yuk1chan/qwen3-4b-struct-eval-test to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for yuk1chan/qwen3-4b-struct-eval-test to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="yuk1chan/qwen3-4b-struct-eval-test", max_seq_length=2048, )
qwen3-4b-struct-eval-test
Model Description
Fine-tuned version of Qwen/Qwen3-4B-Instruct-2507 using Unsloth.
Fine-tuning focus: Structured data generation (JSON output)
Training Details
- Base Model: Qwen3-4B-Instruct-2507
- Method: LoRA (rank=16, alpha=32)
- Framework: Unsloth + TRL
- Optimization: 4-bit quantization
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "yuk1chan/qwen3-4b-struct-eval-test"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
prompt = """JSON only:
Name: ç”°ä¸å¤ªéƒŽ, Age: 30, Job: エンジニア
{"""
inputs = tokenizer([prompt], return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=200, temperature=0.1)
result = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
print(result)
Model Card Author
- yuk1chan
License
Apache 2.0 (inherited from base model)
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for yuk1chan/qwen3-4b-struct-eval-test
Base model
Qwen/Qwen3-4B-Instruct-2507