Skip to content

Minimalist offline personal assistant for all platforms with a simple and modern interface. Written in under 100 lines of python

License

Notifications You must be signed in to change notification settings

Damocles2/Haiku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

haikubanner

Haiku - Minimalist offline personal assistant

Haiku is a minimalist personal assistant based off of the transformers/pytorch pipeline, intended to provide a viable alternative to ChatGPT that can be run in the background on modest hardware. Haiku is designed following the KISS (Keep It Simple, Stupid) principle, emphasizing simplicity, efficiency, and versatility. It is written in a single easy-to-understand Python script with only 99 lines of code and very few dependencies. With its minimalistic design and modern interface, Haiku provides a seamless and foolproof user experience.

Screenshot 2024-03-09 143355

Features

Minimalist Design: Haiku boasts a minimalist and modern interface that is easy to navigate and clutter-free.

Single Python Script: The entire functionality of Haiku is encapsulated within a single Python script, making it easy to understand and modify.

Low Resource Usage: Haiku is optimized to run comfortably on systems with as little as 6GB of VRAM, ensuring smooth performance without consuming excessive resources when idle.

Keyboard Shortcuts: Utilizing keyboard shortcuts, such as Ctrl+D to clear the current chat, Haiku enhances user experience by providing efficient navigation options.

Versatile: Haiku is based on an awq quant of zephyr-7b-beta, which enables it to excel in various tasks such as writing stories, answering questions, and more. It serves as your very own chat GPT, offering functionality beyond mere roleplay.

Untitled

Getting Started

To get started with Haiku, follow these simple steps:

Download the Python Script: Clone or download the script and icon from the GitHub repository.

Install Dependencies: Ensure you have Python and pip installed on your system. Make sure to do pip install customtkinter, pytorch, transformers. Also make sure you have the noto sans regular font installed by double clicking it and clicking "install" in the top left of the resulting window.

Run the Script: Execute the Python script on your local machine to launch Haiku. On the first launch, it will download the model before starting the interface. If it complains about something being unavailable, simply install it with pip and retry.

Start Chatting: Once Haiku is running, you are free to start using it, regardless of wheter you have an internet connection or not

Contributing

Although i intend to keep Haiku relatively simple, i welcome contributions from the community. If you have ideas for improving the app, feel free to submit pull requests or open issues on the GitHub repository.

License

Haiku is licensed under the GNU General Public License v3.0. You are free to use, modify, and distribute the software as per the terms of the license.

Contact

For any inquiries or feedback regarding Haiku, please contact u/mentaldegeneration

About

Minimalist offline personal assistant for all platforms with a simple and modern interface. Written in under 100 lines of python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages