CoolFace
Modelpublic

SaherMuhamed/bert-intention-classifier

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes25downloads
Model Card

๐Ÿค– Intent Detection using Fine-Tuned BERT

This project utilizes a fine-tuned BERT model (bert-base-uncased) for intent classification tasks. It is an encoder-only transformer designed to detect user intents from text inputs (e.g., chatbot queries) and classify them into predefined categories such as banking, travel, finance, and more.

The model is trained on the CLINC150 (clinc_oos) dataset and evaluated using accuracy as the primary metric.


๐Ÿ“Š Dataset --> CLINC150

The project uses the CLINC150 dataset, a benchmark dataset for intent classification in task-oriented dialogue systems.


๐Ÿงพ Dataset Overview

  • โ€”Total intents: 150 unique user intents
  • โ€”Domains: 10 real-world domains (e.g., banking, travel, weather, small talk)
  • โ€”Examples: ~22,500 utterances
  • โ€”Language: English
  • โ€”Out-of-scope (OOS): Includes OOS examples to test robustness

๐Ÿ“ฆ Source


๐Ÿš€ Example

Request: "I want to book a flight"

Response: "book_flight"