Instructions to use genome06/automated_tech_support_ticketing_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use genome06/automated_tech_support_ticketing_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="genome06/automated_tech_support_ticketing_model")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("genome06/automated_tech_support_ticketing_model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| language: en | |
| license: mit | |
| library_name: transformers | |
| tags: | |
| - text-classification | |
| - pytorch | |
| - distilbert | |
| - customer-support | |
| - nlp | |
| datasets: | |
| - Bitext/customer-support-intent-dataset | |
| metrics: | |
| - accuracy | |
| - f1 | |
| pipeline_tag: text-classification | |
| # DistilBERT for Automated Tech-Support Classification | |
| This model is a fine-tuned version of **DistilBERT** (`distilbert-base-uncased`) trained to classify customer support tickets into **27 specific intents** across 11 major categories. | |
| This model is the "Brain" of the **Automated Tech-Support Ticketing System** project. | |
| ## π Model Details | |
| - **Architecture**: DistilBERT (Transformers) | |
| - **Task**: Multi-class Text Classification | |
| - **Intents**: 27 (e.g., `cancel_order`, `recover_password`, `edit_account`, etc.) | |
| - **Framework**: PyTorch & Hugging Face Transformers | |
| ## π Performance (Week 2 Results) | |
| The model achieved near-perfect scores on the **Bitext Customer Support Dataset**: | |
| - **Training Accuracy**: 100.00% | |
| - **Validation Accuracy**: 99.76% | |
| - **Macro Average F1-Score**: 1.00 | |
| ## π Artifacts in this Repo | |
| - `best_model_state.bin`: The trained PyTorch model weights. | |
| - `tokenizer/`: Full configuration for the BERT tokenizer. | |
| - `label_encoder.joblib`: The mapping for the 27 intent classes. | |
| ## π οΈ Integration with Project | |
| This model is designed to be used in conjunction with a FastAPI backend and a Gemini 2.5-flash reasoning layer. | |
| To use this model in your local setup, you can clone this repository or use the `huggingface_hub` library to download the artifacts into the `models/` directory of the main project. | |
| ### How to Load (Example): | |
| ```python | |
| from transformers import DistilBertForSequenceClassification, DistilBertTokenizer | |
| import torch | |
| # Path to the downloaded model | |
| model = DistilBertForSequenceClassification.from_pretrained("./models/tokenizer", num_labels=27) | |
| model.load_state_dict(torch.load("./models/best_model_state.bin")) | |
| ``` | |
| # π Main Project Repository | |
| For the full end-to-end implementation (FastAPI, Streamlit, and LLM Integration), please visit my GitHub: | |
| π [GitHub Repository](https://github.com/Genome06/automated-tech-support-ticketing) | |
| Developed by Baltasar Patrizhard Djata Part of the "Automated Tech-Support Ticketing System" Portfolio Project (2026). | |