IT Helpdesk AI β€” QLoRA Adapter v3

Model Description

Fine-tuned LoRA adapter for Mistral-7B-v0.1 trained on 1141 IT helpdesk tickets. This is v3 β€” the most accurate version with normalized ticket classification output that directly maps to IT helpdesk database tables.

  • Developed by: mdk615661
  • Model type: QLoRA Fine-tuned Adapter (PEFT)
  • Language: English
  • License: Apache 2.0
  • Finetuned from: mistralai/Mistral-7B-v0.1
  • Full merged model: mdk615661/it-helpdesk-merged-v3

What It Does

Input any IT support ticket β†’ Returns structured output:

  • Normalized β€” standardized ticket title matching DB table
  • Category β€” Hardware / Software / Incident / Others / Procurement
  • Subcategory β€” specific issue type
  • Insight β€” AI analysis of the problem
  • Recommendation β€” actionable step for IT team

How To Use

from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
from peft import PeftModel
import torch

model_name = "mistralai/Mistral-7B-v0.1"
adapter_name = "mdk615661/it-helpdesk-qlora-v3"

bnb_config = BitsAndBytesConfig(
    load_in_4bit=True,
    bnb_4bit_compute_dtype=torch.bfloat16
)

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    quantization_config=bnb_config,
    device_map="auto"
)

model = PeftModel.from_pretrained(model, adapter_name)
tokenizer = AutoTokenizer.from_pretrained(adapter_name)

def classify_ticket(ticket):
    prompt = f"""### Instruction:
Normalize and classify this IT ticket

### Input:
{ticket}

### Output:
"""
    inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
    outputs = model.generate(
        **inputs,
        max_new_tokens=200,
        temperature=0.1,
        do_sample=True,
        pad_token_id=tokenizer.eos_token_id
    )
    result = tokenizer.decode(outputs[0], skip_special_tokens=True)
    return result.split("### Output:")[-1].strip()

print(classify_ticket("My laptop is not connecting to WiFi"))

Example Output

Input: My laptop is not connecting to WiFi

Output:

Normalized: wifi connectivity issue Category: Hardware Subcategory: Hardware - Laptop Insight: WiFi adapter driver may be outdated or misconfigured Recommendation: Update WiFi driver and check network adapter settings

Training Details

  • Base Model: mistralai/Mistral-7B-v0.1
  • Method: QLoRA (4-bit NF4 quantization + LoRA)
  • Dataset Size: 1141 IT helpdesk tickets
  • Epochs: 3
  • Batch Size: 4
  • Gradient Accumulation: 4
  • Learning Rate: 2e-4
  • LoRA Rank (r): 16
  • LoRA Alpha: 32
  • Max Length: 512
  • Training Loss: 0.264
  • Validation Loss: 0.344
  • Training Platform: Google Colab T4 GPU

Version History

Version Samples Train Loss Val Loss
v1 (it-helpdesk-qlora) 301 0.595 0.831
v2 (it-helpdesk-qlora-v2) 451 0.558 0.763
v3 (it-helpdesk-qlora-v3) 1141 0.264 0.344

Limitations

  • English language only
  • Best for corporate IT helpdesk scenarios
  • Should be reviewed by IT staff before action
  • Performance improves with more organization-specific training data
Downloads last month
26
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for mdk615661/it-helpdesk-qlora-v3

Adapter
(2471)
this model