Skip to content

This project aims to train an intent classifier with deep learning techniques.

Notifications You must be signed in to change notification settings

erwan-auchere/intent-classification

Repository files navigation

NLP Projet: Intent classification

Authors: Yao Pacome, Erwan AUCHERE

Link to the report

The interaction between individuals is at the center of many organizations. In order to effectively assist their clients, companies could automate customer interaction. Therefore, finding more suitable models to meet this need appears to be a noble task. Several authors have addressed this issue with different analysis methods.

Among these methods, we have the "linear Conditional Random Field (CRF)," which is a discriminant model (modeling is done using conditional distributions for sequence data, it allows modeling the dependence between each state (a dialogue intent) and all input sequences). We can also mention classification algorithm methods for short texts, Bag-of-Words (BoW), and Continuous Bag-of-Words (CBoW) trained via a SVM model.

To take into account the complex dependencies between words in the representation of a statement, recurrent neural networks have been introduced. More recently, LSTMs and their simplification Gated Recurrent Unit (GRU) have been used for intention classification. In our work, we propose to use methods based on neural networks for intention classification.

This implementation is partially based on:

Dataset

The Daily Dialog is used for training.

A snippet of a conversation sample from the Daily Dialog corpus. Each utterance has a corresponding dialogue act label.

Speaker Utterances DA label
A Can you study with the radio on ? question
B No , I listen to background music . inform
A What is the difference ? question
B The radio has too many comerials. inform
A That's true , but then you have to buy a record player . inform

Reproducing the results

  1. Clone the repo: git clone -- https://github.com/erwan-auchere/intent-classification.git
  2. Install requirements: pip install -r /requirements.txt
  3. Run code.ipynb notebook

About

This project aims to train an intent classifier with deep learning techniques.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published