Dragneel / Ticket-classification-model

huggingface.co
Total runs: 10
24-hour runs: 0
7-day runs: 5
30-day runs: 3
Model's Last Updated: March 09 2025
text-classification

Introduction of Ticket-classification-model

Model Details of Ticket-classification-model

Model Card for Ticket Classifier

A fine-tuned DistilBERT model that automatically classifies customer support tickets into four categories: Billing Question, Feature Request, General Inquiry, and Technical Issue.

Model Details
Model Description

This model is a fine-tuned version of distilbert-base-uncased that has been trained to classify customer support tickets into predefined categories. It can help support teams automatically route tickets to the appropriate department.

  • Developed by: [Your Name/Organization]
  • Model type: Text Classification (DistilBERT)
  • Language(s): English
  • License: [Your License]
  • Finetuned from model: distilbert-base-uncased
Uses
Direct Use

This model can be directly used to classify incoming customer support tickets. It takes a text description of the customer's issue and classifies it into one of four categories:

  • Billing Question (0)
  • Feature Request (1)
  • General Inquiry (2)
  • Technical Issue (3)
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

# Define class mapping
id_to_label = {0: 'Billing Question', 1: 'Feature Request', 2: 'General Inquiry', 3: 'Technical Issue'}

# Load model and tokenizer
YOUR_MODEL_PATH = 'Dragneel/Ticket-classification-model'
tokenizer = AutoTokenizer.from_pretrained("YOUR_MODEL_PATH")
model = AutoModelForSequenceClassification.from_pretrained("YOUR_MODEL_PATH")

# Prepare input
text = "I was charged twice for my subscription this month"
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True, max_length=128)

# Run inference
with torch.no_grad():
    outputs = model(**inputs)
    prediction = torch.argmax(outputs.logits, dim=1).item()
    
print(f"Predicted class: {id_to_label[prediction]}")

Runs of Dragneel Ticket-classification-model on huggingface.co

10
Total runs
0
24-hour runs
0
3-day runs
5
7-day runs
3
30-day runs

More Information About Ticket-classification-model huggingface.co Model

Ticket-classification-model huggingface.co

Ticket-classification-model huggingface.co is an AI model on huggingface.co that provides Ticket-classification-model's model effect (), which can be used instantly with this Dragneel Ticket-classification-model model. huggingface.co supports a free trial of the Ticket-classification-model model, and also provides paid use of the Ticket-classification-model. Support call Ticket-classification-model model through api, including Node.js, Python, http.

Ticket-classification-model huggingface.co Url

https://huggingface.co/Dragneel/Ticket-classification-model

Dragneel Ticket-classification-model online free

Ticket-classification-model huggingface.co is an online trial and call api platform, which integrates Ticket-classification-model's modeling effects, including api services, and provides a free online trial of Ticket-classification-model, you can try Ticket-classification-model online for free by clicking the link below.

Dragneel Ticket-classification-model online free url in huggingface.co:

https://huggingface.co/Dragneel/Ticket-classification-model

Ticket-classification-model install

Ticket-classification-model is an open source model from GitHub that offers a free installation service, and any user can find Ticket-classification-model on GitHub to install. At the same time, huggingface.co provides the effect of Ticket-classification-model install, users can directly use Ticket-classification-model installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Ticket-classification-model install url in huggingface.co:

https://huggingface.co/Dragneel/Ticket-classification-model

Url of Ticket-classification-model

Ticket-classification-model huggingface.co Url

Provider of Ticket-classification-model huggingface.co

Dragneel
ORGANIZATIONS

Other API from Dragneel