Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shukur-alom/ai-chatbot
This is AI ChatBot. I make it By AI(NLP). I know sometime it's show wrong answer because i use less data to train my model because i haven't big dataset. you can read my code and you can learn many thing. This chatbot is not bad at all. You can have fun with it in your spare time if you want.
https://github.com/shukur-alom/ai-chatbot
artificial-intelligence artificial-intelligence-algorithms artificial-neural-networks chat chatbot deep machine-learning machine-learning-algorithms ml natural natural-language natural-language-processing natural-language-understanding nlp nlp-machine-learning pytho python tensorflow tensorflow2
Last synced: 4 months ago
JSON representation
This is AI ChatBot. I make it By AI(NLP). I know sometime it's show wrong answer because i use less data to train my model because i haven't big dataset. you can read my code and you can learn many thing. This chatbot is not bad at all. You can have fun with it in your spare time if you want.
- Host: GitHub
- URL: https://github.com/shukur-alom/ai-chatbot
- Owner: shukur-alom
- License: mit
- Created: 2021-04-11T17:37:38.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-11T18:14:11.000Z (about 1 year ago)
- Last Synced: 2024-04-18T07:19:04.791Z (10 months ago)
- Topics: artificial-intelligence, artificial-intelligence-algorithms, artificial-neural-networks, chat, chatbot, deep, machine-learning, machine-learning-algorithms, ml, natural, natural-language, natural-language-processing, natural-language-understanding, nlp, nlp-machine-learning, pytho, python, tensorflow, tensorflow2
- Language: Jupyter Notebook
- Homepage:
- Size: 1010 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AI-ChatBot
This project implements a simple chatbot using Keras with a pre-trained model. The chatbot is trained on a dataset of intents and responses. The model predicts the intent of user input and generates an appropriate response.
## Overview
This chatbot script uses a neural network model (`chatbot_model.h5`), a tokenizer (`Tokenizer.p`), and a label encoder (`LabelEncoder.p`) to understand user input and generate responses. The model is trained on a dataset of intents and responses provided in the `intents.json` file.
## Prerequisites
- Python 3.x
- Required Python packages: Keras, pandas, numpy## Installation
1. Clone the repository:
```
https://github.com/shukur-alom/AI-ChatBot.git
```
2. Install the required dependencies:```
pip install -r requirements.txt
```3. Run the chatbot script:
```
python main.py
```4. Enter your messages when prompted, and the chatbot will generate responses based on the trained model.
# Model Details
* The model is a neural network loaded from chatbot_model.h5.
* Tokenization is performed using the tokenizer saved in Tokenizer.p.
* Intent labels are encoded and decoded using the label encoder saved in LabelEncoder.p.
* The intents and responses are defined in the intents.json file.