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.
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.
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
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.
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.
For any inquiries or feedback regarding Haiku, please contact u/mentaldegeneration