- Overview
- Project Goals
- Methodology
- Roadmap
- Impact and Applications
- Installation
- Contributing
- License
- Acknowledgments
This project focuses on the challenge of understanding multiple intents in customer reviews, using a mix of Large Language Models (LLMs) and deep learning techniques. Our goal is to improve how we interpret complex feedback from customers, making significant strides in the field of natural language understanding (NLU).
The main goal is to create a robust system that can identify and classify various intents within customer reviews. We plan to combine the advanced capabilities of LLMs with traditional deep-learning approaches to uncover the complex layers of intent in text data, providing valuable insights for both businesses and academic research.
Our methodology integrates state-of-the-art language models with deep learning to systematically process and classify customer feedback:
We start by using Mistral to analyze customer reviews, using a predefined list of categories to identify intents and sentiment. LangChain, a library known for its effectiveness with language models, is crucial in this phase for accurate intent recognition.
After extracting intents, we use Keras, a comprehensive deep learning library, to develop a multi-class classification model. This model is trained on the extracted data to accurately classify intents.
We then create a sentiment analysis model using Keras, which assesses the sentiment for each classified intent. This model processes both the text and its associated classes to provide a sentiment rating for each intent.
Additionally, we explore refining Small Language Models (SLMs) with Keras to offer an alternative to Mistral for intent extraction. This step aims to improve our system's efficiency and versatility.
Our initial focus is on developing the intent extraction and multi-class classification capabilities. Establishing this foundation is essential for the success of the subsequent steps, allowing us to accurately interpret multi-intent customer feedback.
Accurately identifying multi-intent in customer reviews can greatly enhance customer service and inform product development. This project has the potential to make significant contributions to these areas, as well as offer new directions for research in natural language processing (NLP) and artificial intelligence (AI).
To get started with this project, clone the repo and install the required dependencies:
git clone https://github.com/JohnnyFoulds/multi-intent-classification.git
cd multi-intent-classification
pip install -r requirements.txt
Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.