Skip to content

Anahskal/Personal_AI_Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Personal AI Assistant

A simple terminal-based AI assistant powered by a lightweight open-source language model (flan-t5-small) using Hugging Face Transformers. This assistant can remember your recent conversation and respond accordingly.


πŸš€ Features

  • Lightweight, fast setup (uses google/flan-t5-small)
  • Maintains a short conversational history (last 5 turns)
  • Runs on CPU β€” no GPU required
  • Simple, readable Python code in a single Jupyter notebook

πŸ“‚ File Structure

  • Personal_AI_Assistant.ipynb β€” The main file, contains the full code for running the assistant.

πŸ› οΈ Installation

Before running the notebook, make sure you have Python installed (preferably 3.8+). Then install the required Python packages:

pip install transformers torch accelerate -q

πŸ’¬ How to Use

  1. Open the notebook: Personal_AI_Assistant.ipynb
  2. Run all cells in order
  3. Interact with the assistant in the terminal-like interface

Example interaction:

You: where is the white house located?
πŸ€– Assistant: New York City

You: bye
πŸ‘‹ Assistant: Goodbye!

❓ Commands
You can end the conversation anytime using:

  • exit
  • quit
  • bye

🧱 Built With

  • πŸ€— Transformers
  • PyTorch
  • flan-t5-small model by Google

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors