Samarth Pujari commited on
Commit
e27f7ec
Β·
unverified Β·
1 Parent(s): 3a05c3b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -2
README.md CHANGED
@@ -1,2 +1,99 @@
1
- # Implementation of Chatbot using Natural Language Processing (NLP)
2
- Welcome!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # **πŸ€– AI-Powered Chatbot using NLP**
2
+
3
+ ## **πŸ“Œ Introduction**
4
+ This project is an **AI-driven chatbot**, developed as part of my **AICTE-Shell Internship**. The chatbot leverages **Natural Language Processing (NLP) and Deep Learning** techniques using **BERT** to provide intelligent responses based on user queries. The chatbot is trained on an **Intent JSON dataset** and fine-tuned to enhance accuracy.
5
+
6
+ πŸ”— **Deployed Application:** [🧠AI ChatbotπŸ€–](https://ai-conversation-chatbot.streamlit.app/)
7
+
8
+ ## **🎯 Project Goals**
9
+ βœ… Implement **AI & NLP techniques** for intelligent conversation.
10
+ βœ… Explore **BERT-based Deep Learning** for chatbot development.
11
+ βœ… Develop a **context-aware chatbot** with high accuracy.
12
+ βœ… Enhance **text preprocessing, model training, and deployment skills**.
13
+ βœ… Deploy an **interactive chatbot web app** using **Streamlit**.
14
+
15
+ ## **πŸ“‚ Dataset Used**
16
+ The chatbot is trained on a **custom Intent JSON dataset**, which includes:
17
+
18
+ - **User Queries & Responses**: Predefined conversations.
19
+ - **Intent Classification Data**: Labeled conversations for accurate intent detection.
20
+ - **Pretrained BERT Model**: Fine-tuned for improved understanding.
21
+
22
+ ## **πŸ“Š Methodology**
23
+
24
+ ### **Step 1: Data Collection & Preprocessing**
25
+ πŸ”Ή Loaded and cleaned **Intent JSON dataset**.
26
+ πŸ”Ή **Tokenized text data** using BERT tokenizer.
27
+ πŸ”Ή **Converted labels to categorical format** for training.
28
+
29
+ ### **Step 2: Model Selection & Training**
30
+ πŸ”Ή Used **BERT (Bidirectional Encoder Representations from Transformers)**.
31
+ πŸ”Ή Implemented **deep learning-based intent classification**.
32
+ πŸ”Ή Trained on multiple epochs & tuned hyperparameters for **optimal accuracy**.
33
+ πŸ”Ή Evaluated **training & validation accuracy** to ensure model performance.
34
+
35
+ ### **Step 3: Chatbot Development & Integration**
36
+ πŸ”Ή Built an **Intent Recognition Model** using **BERT for Sequence Classification**.
37
+ πŸ”Ή Designed a **Response Generation Mechanism** for accurate replies.
38
+ πŸ”Ή Integrated trained model into a **Streamlit & HuggingFace web app** for user interaction.
39
+
40
+ ### **Step 4: Deployment & User Interaction**
41
+ πŸ”Ή **Saved and exported the trained BERT model** for real-time inference.
42
+ πŸ”Ή Deployed chatbot as a **Streamlit as well as HuggingFace web app**.
43
+ πŸ”Ή **Implemented real-time conversations** with NLP-powered responses.
44
+
45
+ ## **πŸ” Key Features**
46
+ βœ… **Real-time Chatbot using BERT-based Intent Recognition**.
47
+ βœ… **Deep Learning Model trained on an Intent JSON dataset**.
48
+ βœ… **Optimized Text Processing & Tokenization**.
49
+ βœ… **Accurate Intent Classification for diverse queries**.
50
+ βœ… **Deployable on Web using Streamlit**.
51
+
52
+ ## **πŸš€ Technologies Used**
53
+ | Category | Tools & Libraries |
54
+ |---------------------|-------------------|
55
+ | **Development** | Python, Jupyter Notebook, Anaconda, VS Code|
56
+ | **NLP Frameworks** | Hugging Face Transformers, BERT |
57
+ | **Machine Learning** | TensorFlow, PyTorch |
58
+ | **Data Processing** | Pandas, NumPy |
59
+ | **Deployment** | Streamlit, Streamlit Cloud, HuggingFace |
60
+
61
+ ## **πŸ“· Screenshots**
62
+
63
+ | **Streamlit App - Chatbot Interface** |
64
+ |---------------------------------------|
65
+ |![Chatbot Screenshot](https://github.com/user-attachments/assets/chatbot-screenshot.png)|
66
+
67
+ ## **🎯 Future Improvements**
68
+ πŸ”Ή Expand dataset with **more real-world conversations**.
69
+ πŸ”Ή Integrate **voice-based interaction** using Speech Recognition.
70
+ πŸ”Ή Enhance **context retention** for long conversations.
71
+ πŸ”Ή Optimize model efficiency for **faster response times**.
72
+ πŸ”Ή Expanding chatbot capabilities with **multilingual support**.
73
+
74
+ ## **πŸ“₯ Installation & Setup**
75
+
76
+ ### **πŸ”Ή Clone the Repository**
77
+ ```bash
78
+ git clone https://github.com/Samarth4023/Shell-Internship-2.git
79
+ cd Shell-Internship-2
80
+ ```
81
+
82
+ ### **πŸ”Ή Install Required Dependencies**
83
+ ```bash
84
+ pip install -r requirements.txt
85
+ ```
86
+
87
+ ### **πŸ”Ή Run the Streamlit App**
88
+ ```bash
89
+ streamlit run app.py
90
+ ```
91
+
92
+ ## **πŸ“œ License**
93
+ This project is **open-source** and free to use. Feel free to contribute!
94
+
95
+ ## **πŸ“§ Contact**
96
+ πŸ“Œ **Author:** Samarth Pujari
97
+ πŸ“Œ **GitHub:** [Samarth4023](https://github.com/Samarth4023)
98
+ πŸ“Œ **LinkedIn:** [Samarth Pujari](https://www.linkedin.com/in/samarth-pujari-328a1326a)
99
+