Downloads · 30 days
5
12% of all-time downloads
usurachai/zendesk-support-qwen2.5-7b-lora
zendesk-support-qwen2.5-7b-lora is a text generation model from usurachai. Use it when you need the model to write or continue text. It is set up for peft.
A LoRA adapter fine-tuned on Qwen2.5-7B-Instruct for Thai customer support conversations exported from Zendesk (Sunshine Conversations).
Downloads · 30 days
5
12% of all-time downloads
All-time downloads
41
Public
Repo size
173 MB
Likes
0
Public
Click a slice to open those files.
.safetensors162 MB · 93%
From the Hugging Face model README
A LoRA adapter fine-tuned on Qwen2.5-7B-Instruct for Thai customer support conversations exported from Zendesk (Sunshine Conversations).
| Property | Value |
|---|---|
| Base Model | Qwen2.5-7B-Instruct |
| Adapter Size | 161 MB (4-bit LoRA) |
| Language | Thai (primary), English (secondary) |
| Domain | Customer support (Zendesk Sunshine Conversations) |
| Training | 2 epochs, 226 steps, ~28 min on RTX 4090 |
| Hyperparameter | Value |
|---|---|
LoRA Rank (r) | 16 |
| LoRA Alpha | 16 |
| LoRA Dropout | 0.1 |
| Target Modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Precision | 4-bit (QLoRA) |
| Max Seq Length | 2048 |
| Learning Rate | 2e-4 (cosine schedule) |
| Batch Size | 4 (per device) × 4 (gradient accum) = 16 |
| Epochs | 2 |
| Train Samples | 1,808 |
| Valid Samples | 206 |
from unsloth import FastLanguageModel
import torch
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="unsloth/Qwen2.5-7B-Instruct",
load_in_4bit=True,
)
from peft import PeftModel
model = PeftModel.from_pretrained(model, "usurachai/zendesk-support-qwen2.5-7b-lora")
# Inference
messages = [
{"role": "system", "content": "You are a helpful, polite customer support agent for a Thai company. Respond in Thai."},
{"role": "user", "content": "สั่งของไปแล้วยังไม่ได้รับเลยครับ"},
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to("cuda")
outputs = model.generate(inputs, max_new_tokens=512, temperature=0.7, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Component | Detail |
|---|---|
| GPU | NVIDIA RTX 4090 (24 GB VRAM) |
| Platform | vast.ai (Texas, US) |
| Training Time | ~28 minutes |
| Cost | ~$0.19 |
| Framework | Unsloth 2026.7.4 + PEFT 0.19.1 + TRL 0.24.0 |
The dataset was exported from Zendesk via Sunshine Conversations, cleaned and deduplicated with:
Same as Qwen2.5 — Apache 2.0