Downloads · 30 days
0
nikhiltogadiya/AI-jewelry-showroom-models
AI-jewelry-showroom-models is a text classification model from nikhiltogadiya. Use it when you need a label for a piece of text. The card lists the license as mit.
This is an ONNX-optimized multi-task classification model used in the AI Jewelry Showroom project. It analyzes user queries during a jewelry shopping conversation and predicts both the user's intent and emotion simult…
Downloads · 30 days
0
Access
Public
Updated Apr 11, 2026
Repo size
1.6 GB
Likes
0
Public
Click a slice to open those files.
.data1.9 GB · 100%
From the Hugging Face model README
This is an ONNX-optimized multi-task classification model used in the AI Jewelry Showroom project. It analyzes user queries during a jewelry shopping conversation and predicts both the user's intent and emotion simultaneously to enhance Agentic Retrieval-Augmented Generation (RAG) routing.
.onnx and .onnx.data format for >2GB weight externalization)This model is designed to be used in real-time chat environments to route queries and adapt the assistant's tone.
Predicted Intents (10 classes):
browse, search, compare, ask_detail, objection_price, objection_trust, ready_to_buy, ask_education, greeting, farewell
Predicted Emotions (6 classes):
excited, hesitant, confused, confident, frustrated, neutral
The model was fine-tuned and evaluated on a custom dataset of jewelry shopping conversations:
Since the model uses external data (intent_emotion_classifier.onnx.data), ensure both the .onnx and .onnx.data files are downloaded into the same directory before loading.
import onnxruntime as ort
import numpy as np
# 1. Initialize session
session_options = ort.SessionOptions()
# 2. Load the model. Ensure the .onnx.data file is in the same folder!
session = ort.InferenceSession("intent_emotion_classifier.onnx", session_options)
# 3. Prepare inputs (e.g., from a tokenizer)
# inputs = {
# "input_ids": np.array([[...]], dtype=np.int64),
# "attention_mask": np.array([[...]], dtype=np.int64)
# }
# 4. Run inference
# intent_logits, emotion_logits = session.run(["intent_logits", "emotion_logits"], inputs)
The model was trained on synthetic high-end retail conversations regarding jewelry. It covers scenarios like negotiating price (objection_price), comparing gems (compare), and asking about gemological properties (ask_education).