Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Fine-Tune Support Intent Classifier

Medium
NLPNeural NetworksLanguage ModelsDeep Learning

Problem

Business Context

ZendeskAssist, a SaaS customer support platform, wants to adapt a pre-trained language model to classify incoming support tickets into routing categories. The team is deciding when supervised fine-tuning is the right approach instead of prompt-based inference or a simpler TF-IDF baseline.

Data

You have 180,000 historical English support tickets labeled by agents into 6 classes: Billing, Bug Report, Account Access, Feature Request, Cancellation, and Other. Ticket length ranges from 8 to 900 tokens, with a median of 95 tokens. Labels are moderately imbalanced: Bug Report (31%), Billing (22%), Account Access (18%), Feature Request (14%), Cancellation (9%), Other (6%). About 4% of records contain noisy labels due to inconsistent agent tagging.

Success Criteria

A good solution should explain supervised fine-tuning clearly, identify when it is preferable, and implement a modern training pipeline that achieves at least 0.84 macro-F1 and 0.92 recall on Account Access and Cancellation tickets. Inference latency should remain below 120 ms per ticket in batch serving.

Constraints

  • Training must run on a single A10 or T4 GPU
  • The model must stay under 200M parameters
  • Weekly retraining is allowed, but online learning is not
  • The solution should be deployable in a standard Python service

Requirements

  1. Define supervised fine-tuning in the context of transformer-based NLP models.
  2. Explain when you would choose supervised fine-tuning over zero-shot prompting or classical ML.
  3. Build a multi-class text classification pipeline using a pre-trained transformer.
  4. Describe preprocessing for noisy support text, including truncation and label handling.
  5. Train, validate, and evaluate the model with appropriate metrics for imbalanced classes.
  6. Discuss trade-offs in cost, latency, data requirements, and maintainability.

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Next questions
Choose Fine-Tuning for Support RoutingEasyCharlotte StaffingClassify Support Tickets by IntentMediumClassify Customer Support Tickets by Issue TypeMedium