CoolFace
Modelpublic

Hari5115/hinglish-retail-intent-classifier

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes9downloads
Model Card

Hinglish Retail Intent Classifier

Fine-tuned version of google/muril-base-cased for classifying Indian ecommerce customer support messages (Hinglish) into 13 intent categories.

Performance

  • Test accuracy: 97.6%
  • Macro F1: 97.6%
LabelPrecisionRecallF1Support
cancel_order1.001.001.0022
damaged_item1.001.001.0023
delivery_complaint0.830.870.8523
discount_query1.001.001.0023
exchange_product1.001.001.0021
other1.001.001.0019
payment_issue1.001.001.0023
product_availability1.001.001.0023
product_information1.001.001.0021
refund_status1.001.001.0023
return_request1.001.001.0023
track_order0.950.820.8822
wrong_item0.911.000.9521

Usage

python
from transformers import pipeline

classifier = pipeline(
    "text-classification",
    model="Hari5115/hinglish-retail-intent-classifier"
)

result = classifier("mera order kab aayega?")
print(result)
# [{'label': 'track_order', 'score': 0.96}]

Intents supported

LabelDescription
track_orderCustomer asking where their order is or when it arrives
cancel_orderCustomer wants to cancel a placed order
exchange_productCustomer received wrong size/colour, wants a swap
refund_statusCustomer asking about refund timeline or whether it was processed
delivery_complaintLate delivery, not delivered, delivery agent issue
damaged_itemProduct arrived broken, damaged, or defective
wrong_itemCompletely wrong product was delivered
return_requestCustomer wants to return a product
payment_issueMoney deducted but order not placed, double charge
product_availabilityAsking if an item is in stock or available in a size/colour
product_informationAsking about product details, material, dimensions
discount_queryPromo code not working, coupon issues, asking for discount
otherAnything that does not fit the above

Training data

Trained on Hari5115/hinglish-retail-intent-dataset

Training config

  • Base model: google/muril-base-cased
  • Epochs: 5
  • Learning rate: 2e-5
  • Batch size: 16 (train), 32 (eval)
  • Max sequence length: 128
  • Best model selected by macro F1 on validation set

Limitations

  • Synthetic data — may not capture all real-world linguistic variation
  • Primarily Hindi-English mixing; does not cover Tamil-English, Telugu-English, or other Indian language combinations
  • Skewed toward common intents; rare edge cases are underrepresented