Welcome to the Small Language Model Chatbot repository! This project showcases an interactive chatbot built with Python, utilizing Hugging Face’s distilGPT-2 model. It’s designed to be fun and lightweight, making it perfect for demonstrating the capabilities of small-scale language models.
The Small Language Model Chatbot serves as an engaging way to explore natural language processing. With its interactive design, users can easily input queries and receive responses in real-time. This chatbot highlights the capabilities of smaller language models, making it accessible for educational purposes, demonstrations, and casual conversations.
To get started with the Small Language Model Chatbot, follow these steps:
git clone https://github.com/bubajanneh/small-language-model-chatbot.git
cd small-language-model-chatbot
pip install -r requirements.txt
After setting up the environment, you can start using the chatbot. Simply launch the Jupyter Notebook and follow the instructions in the notebook to interact with the chatbot.
The chatbot utilizes ipywidgets
to create an interactive experience. Users can input text, submit queries, and receive responses without needing to refresh the page. This seamless interaction enhances user engagement and makes the chatbot more enjoyable to use.
One of the standout features of this chatbot is its ability to visually track conversation history. As users interact with the bot, the chat history is displayed in a user-friendly format. This allows users to refer back to previous messages, making conversations more coherent and enjoyable.
We welcome contributions from the community! If you would like to enhance the Small Language Model Chatbot, please follow these steps:
git checkout -b feature/your-feature-name
git commit -m "Add your message here"
git push origin feature/your-feature-name
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the license terms.
For any questions or feedback, please reach out to the project maintainer:
You can find the latest releases of the Small Language Model Chatbot here. Make sure to download the latest version and execute the files to experience the chatbot.
To keep up with updates, check the “Releases” section regularly.
Feel free to explore the repository, contribute, and enjoy the chatbot experience!