Downloads · 30 days
0
LoneVertex/Qwen2.5-7B-SupportRAG-LoRA
Qwen2.5-7B-SupportRAG-LoRA is a text generation model from LoneVertex. 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.
Fine-tuned QLoRA adapter for Qwen2.5-7B-Instruct, specialized for multi-tool agentic customer support reasoning using ChatML syntax (<|imstart| and <|imend|).
Downloads · 30 days
0
Access
Public
Updated Sep 19, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md1.9 KB · 56%
From the Hugging Face model README
Fine-tuned QLoRA adapter for Qwen2.5-7B-Instruct, specialized for multi-tool agentic customer support reasoning using ChatML syntax (<|im_start|> and <|im_end|>).
knowledge_base_search(query, brand)check_order_status(order_id)escalate_to_human(reason, brand, urgency)import torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model_id = "Qwen/Qwen2.5-7B-Instruct"
adapter_id = "LoneVertex/Qwen2.5-7B-SupportRAG-LoRA"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
model = AutoModelForCausalLM.from_pretrained(
base_model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
model = PeftModel.from_pretrained(model, adapter_id)
prompt = """<|im_start|>system
You are a customer support assistant with tool access.<|im_end|>
<|im_start|>user
[AmazonHelp] How do I track my package #ORD-9821?<|im_end|>
<|im_start|>assistant
"""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.3)
print(tokenizer.decode(outputs[0], skip_special_tokens=False))
This adapter forms the core offline-trained reasoning engine of the SupportRAG Chatbot production system.