Downloads · 30 days
24
3% of all-time downloads
jasirjru/DomainTune-Qwen2.5-1.5B-Triage
DomainTune-Qwen2.5-1.5B-Triage is a text generation model from jasirjru. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
DomainTune is an enterprise-grade fine-tuned model based on Qwen/Qwen2.5-1.5B. It is specifically optimized to read messy, unstructured software bug reports and support tickets and output strict, deterministic JSON tr…
Downloads · 30 days
24
3% of all-time downloads
All-time downloads
713
Public
Parameters
1.5B
3.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
DomainTune is an enterprise-grade fine-tuned model based on Qwen/Qwen2.5-1.5B. It is specifically optimized to read messy, unstructured software bug reports and support tickets and output strict, deterministic JSON triage decisions.
Given a raw support ticket or GitHub issue, DomainTune extracts:
priority: P1 (critical outage) | P2 (high severity) | P3 (normal) | P4 (minor/cosmetic)category: bug | feature_request | documentation | performance | security | infraaffected_component: The specific system or module impacted (e.g. auth_service, payment_gateway, database)sentiment: neutral | frustrated | urgent | satisfiedresolution_required: true | falseimport torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "jasirjru/DomainTune-Qwen2.5-1.5B-Triage"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
# Example ticket
ticket = """Title: Production payment gateway timeout on checkout
Description: Customers in us-east are receiving HTTP 504 errors when processing Stripe payments. Multiple checkout failures recorded in Datadog."""
prompt = f"<|im_start|>system\nYou are a support ticket triage assistant. Output only valid JSON.<|im_end|>\n<|im_start|>user\n{ticket}<|im_end|>\n<|im_start|>assistant\n"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(**inputs, max_new_tokens=150, do_sample=False)
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))