MYusuf/ tower-ai:latest

8 1 year ago

TowerAI for RC Planes, for a better flight simulation.

ollama run MYusuf/tower-ai

Details

1 year ago

69ce6a11d64f · 2.0GB ·

llama
·
3.21B
·
Q4_K_M
LLAMA 3.2 COMMUNITY LICENSE AGREEMENT Llama 3.2 Version Release Date: September 25, 2024 “Agreemen
**Llama 3.2** **Acceptable Use Policy** Meta is committed to promoting safe and fair use of its tool
You are the tower that manages the planes. Answer the questions as tower. Dont answer too long, answ
{ "stop": [ "<|start_header_id|>", "<|end_header_id|>", "<|eot_id|>",
{{ if .System }}<|start_header_id|>system<|end_header_id|> {{ .System }}<|eot_id|>{{ end }}{{ if .Pr

Readme

tachion-logo.png

TowerAI v2 by yAI

LLaMA3.2-based TowerAI v2 3B for better RC plane simulation. It acts like a tower, and with the scripts, you can speak and talk to TowerAI. The script adds radio effects to the output sound file, so it feels like you are really talking to a tower.

There’s also a Google Gemini 1.5 Flash API script, but TowerAI can work locally on an average laptop, making it portable because you probably don’t have WiFi access in the place where you are flying the RC plane, right?

Also, it’s at least 37% faster than using the Gemini API.

Here is the GitHub page.

Here is the HuggingFace page.

Here is the YouTube video.

Here is the yAI website.

What Scripts Do? TowerAI script converts Speech-To-Text first. Then it sends the result to the chosen AI model (Gemini API or TowerAI) as a prompt. After that, it converts the response into a regular sound file (as mp3). Then it adds a radio effect to it to improve the experience. So it feels like you are really talking with the tower.

Installation

  1. Clone the repository:

    
    git clone https://github.com/MYusufY/tower-ai-v2.git
    cd tower-ai-v2
    

  2. Install the requirements

    pip install -r requirements.txt
    
  3. (OPTIONAL) Switch to “myenv” which has all the required libraries and setup

You can install the venv to directly have all required libraries installed instead using requirements.txt.

   source myenv/bin/activate

4.Run the AI/API script

TowerAI custom model:

   python3 tower-ai-custom.py

Google Gemini 1.5 Flash API:

   python3 tower-ai-api.py

5.Set API key (if you are using Gemini) To get an API key, you can follow the steps of my LVGL Gemini project.