Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🤖 Simple Text-to-Text Chatbot using Hugging Face Transformers

This project is a minimal conversational chatbot built with Hugging Face Transformers and PyTorch.
It uses the FLAN-T5-small model (google/flan-t5-small) to generate text responses in an interactive loop.


🚀 Features

  • Runs entirely in Python using the transformers pipeline.
  • Maintains a chat history (last 5 turns as context).
  • Simple REPL loop (while True) for chatting with the bot.
  • Lightweight model (flan-t5-small) → runs fast on CPU/Colab.

📦 Installation

Install dependencies:

!pip install transformers torch accelerate -q

About

A simple text-based chatbot using Hugging Face’s flan-t5-small model. Runs in a loop on Colab/CLI, keeps short chat history, and generates AI responses.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages