Spaces:
Sleeping
A newer version of the Streamlit SDK is available:
1.49.1
license: apache-2.0
title: π§ AI Chatbotπ€
sdk: streamlit
emoji: π»
colorFrom: pink
colorTo: purple
thumbnail: >-
https://cdn-uploads.huggingface.co/production/uploads/6686260107019f3fe482ce08/xfpa6MidZ5aE9OEP96pi5.jpeg
short_description: The System on Real-Time Intent Recognition and Conversations
sdk_version: 1.44.1
π€ AI-Powered Chatbot using NLP
π Introduction
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.
π Deployed Application: π§ AI Chatbotπ€
π― Project Goals
β
Implement AI & NLP techniques for intelligent conversation.
β
Explore BERT-based Deep Learning for chatbot development.
β
Develop a context-aware chatbot with high accuracy.
β
Enhance text preprocessing, model training, and deployment skills.
β
Deploy an interactive chatbot web app using Streamlit.
π Dataset Used
The chatbot is trained on a custom Intent JSON dataset, which includes:
- User Queries & Responses: Predefined conversations.
- Intent Classification Data: Labeled conversations for accurate intent detection.
- Pretrained BERT Model: Fine-tuned for improved understanding.
π Methodology
Step 1: Data Collection & Preprocessing
πΉ Loaded and cleaned Intent JSON dataset.
πΉ Tokenized text data using BERT tokenizer.
πΉ Converted labels to categorical format for training.
Step 2: Model Selection & Training
πΉ Used BERT (Bidirectional Encoder Representations from Transformers).
πΉ Implemented deep learning-based intent classification.
πΉ Trained on multiple epochs & tuned hyperparameters for optimal accuracy.
πΉ Evaluated training & validation accuracy to ensure model performance.
Step 3: Chatbot Development & Integration
πΉ Built an Intent Recognition Model using BERT for Sequence Classification.
πΉ Designed a Response Generation Mechanism for accurate replies.
πΉ Integrated trained model into a Streamlit & HuggingFace web app for user interaction.
Step 4: Deployment & User Interaction
πΉ Saved and exported the trained BERT model for real-time inference.
πΉ Deployed chatbot as a Streamlit as well as HuggingFace web app.
πΉ Implemented real-time conversations with NLP-powered responses.
π Key Features
β
Real-time Chatbot using BERT-based Intent Recognition.
β
Deep Learning Model trained on an Intent JSON dataset.
β
Optimized Text Processing & Tokenization.
β
Accurate Intent Classification for diverse queries.
β
Deployable on Web using Streamlit.
π Technologies Used
Category | Tools & Libraries |
---|---|
Development | Python, Jupyter Notebook, Anaconda, VS Code |
NLP Frameworks | Hugging Face Transformers, BERT |
Machine Learning | TensorFlow, PyTorch |
Data Processing | Pandas, NumPy |
Deployment | Streamlit, Streamlit Cloud, HuggingFace |
π· Screenshots
π― Future Improvements
πΉ Expand dataset with more real-world conversations.
πΉ Integrate voice-based interaction using Speech Recognition.
πΉ Enhance context retention for long conversations.
πΉ Optimize model efficiency for faster response times.
πΉ Expanding chatbot capabilities with multilingual support.
π₯ Installation & Setup
πΉ Clone the Repository
git clone https://github.com/Samarth4023/Shell-Internship-2.git
cd Shell-Internship-2
πΉ Install Required Dependencies
pip install -r requirements.txt
πΉ Run the Streamlit App
streamlit run app.py
π License
This project is open-source and free to use. Feel free to contribute!
π§ Contact
π Author: Samarth Pujari
π GitHub: Samarth4023
π LinkedIn: Samarth Pujari