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.
- Runs entirely in Python using the
transformerspipeline. - 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.
Install dependencies:
!pip install transformers torch accelerate -q