Downloads · 30 days
0
acsankar/ticket-agent-classifier_SVN1
ticket-agent-classifier_SVN1 is a machine learning model from acsankar. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model classifies support tickets to either DATA AGENT or USER ACCESS AGENT based on the ticket text.
Downloads · 30 days
0
Access
Public
Updated Nov 3, 2024
Repo size
23.8 KB
Likes
0
Public
Click a slice to open those files.
.joblib23.8 KB · 92%
From the Hugging Face model README
This model classifies support tickets to either DATA AGENT or USER ACCESS AGENT based on the ticket text.
from joblib import load
# Load model components
pipeline = load('pipeline.joblib')
label_encoder = load('label_encoder.joblib')
# Make prediction
text = "I need access to the sales dashboard"
agent_encoded = pipeline.predict([text])[0]
agent = label_encoder.inverse_transform([agent_encoded])[0]