Repository navigation
Dataset and Labels
The script embeds 30 manually written support requests. The labels are:
| Class | Index | Examples of topics |
|---|---|---|
billing |
0 | Charges, invoices, plans, refunds |
technical |
1 | API errors, app crashes, failed integrations |
account |
2 | Account settings, access, ownership |
feature_request |
3 | Requested features and integrations |
train_test_split(test_size=0.2, random_state=42, stratify=labels) produces 24 training and 6 validation rows. Because six validation rows are too few for dependable conclusions, this is a pipeline demonstration, not a benchmark.
AutoTokenizer.from_pretrained('distilbert-base-uncased') tokenizes text with truncation=True, max_length=128 and padding=False; DataCollatorWithPadding pads dynamically per batch.
Collect a substantially larger, representative, consented, de-identified dataset; split by time or customer as appropriate to avoid leakage; add label audits and a held-out test split; evaluate multiple seeds. Do not upload private tickets without authorization.
Transformer Training Wiki · Implementation status: DistilBERT source available.This project is licensed under the Apache License, Version 2.0.© 2026 Sudhanshu Shukla · Licensed under the Apache License, Version 2.0
Overview
Architecture
Implemented classifier
- DistilBERT-Workflow
- Dataset-and-Labels
- Training-Configuration
- Evaluation-and-Inference
- Frozen-Backbone-Comparison
- Artifacts-and-Checkpoints
Experimental alignment draft
Operations