https://github.com/amanpriyanshu/bavardez
Building a chatbot from scratch.
https://github.com/amanpriyanshu/bavardez
Last synced: 5 months ago
JSON representation
Building a chatbot from scratch.
- Host: GitHub
- URL: https://github.com/amanpriyanshu/bavardez
- Owner: AmanPriyanshu
- License: mit
- Created: 2021-04-12T17:57:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-14T14:16:18.000Z (over 4 years ago)
- Last Synced: 2025-02-08T17:23:56.858Z (10 months ago)
- Language: Python
- Size: 149 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bavardez
Building a chatbot from scratch. The bot uses a Bag Of Word for encoding (no word embeddings have been used yet). It uses a simple feed forward neural network to predict labels based on previously given texts. The ability of NLP to learn such simple tasks makes it one of the strongest tools in the field of Artificial/Machine Learning based Chatbots.

## Versions:
### 1. Bag of Words Model:

### 2. GloVe Model:

## Installation:
Use the following command:
```
git clone https://github.com/AmanPriyanshu/Bavardez.git
```
## To Execute Bavardez:
Use the command:
```
python bavardez.py
```
## To add additional Intents/Responses to the same:
Use the command:
```
python intent_initializer.py
```
The menu for this is self-explanatory allowing most people to use it.
```python
Enter:
0. If you wish to initialize all the intents.
1. If you wish to add another intent.
2. If you wish to edit one of the intents.
Choice:
```
## To Re-Train the Model:
Use the command:
```
python train.py
```
## Credits:
The bot is loosely based off of the youtube series [**Chat Bot With PyTorch** by *Python Engineer*](https://www.youtube.com/playlist?list=PLqnslRFeH2UrFW4AUgn-eY37qOAWQpJyg)