Instructions to use OpenTARS/Gargantua-Pi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use OpenTARS/Gargantua-Pi with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf OpenTARS/Gargantua-Pi:Q8_0 # Run inference directly in the terminal: llama cli -hf OpenTARS/Gargantua-Pi:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf OpenTARS/Gargantua-Pi:Q8_0 # Run inference directly in the terminal: llama cli -hf OpenTARS/Gargantua-Pi:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf OpenTARS/Gargantua-Pi:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf OpenTARS/Gargantua-Pi:Q8_0
Use Docker
docker model run hf.co/OpenTARS/Gargantua-Pi:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use OpenTARS/Gargantua-Pi with Ollama:
ollama run hf.co/OpenTARS/Gargantua-Pi:Q8_0
- Unsloth Desktop
- Pi
How to use OpenTARS/Gargantua-Pi with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OpenTARS/Gargantua-Pi:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "OpenTARS/Gargantua-Pi:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use OpenTARS/Gargantua-Pi with Docker Model Runner:
docker model run hf.co/OpenTARS/Gargantua-Pi:Q8_0
- Lemonade
How to use OpenTARS/Gargantua-Pi with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull OpenTARS/Gargantua-Pi:Q8_0
Run and chat with the model
lemonade run user.Gargantua-Pi-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use OpenTARS/Gargantua-Pi with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OpenTARS/Gargantua-Pi:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default OpenTARS/Gargantua-Pi:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use OpenTARS/Gargantua-Pi with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OpenTARS/Gargantua-Pi:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "OpenTARS/Gargantua-Pi:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: gemma
|
| 3 |
+
base_model: google/functiongemma-270m-it
|
| 4 |
+
library_name: llama.cpp
|
| 5 |
+
tags:
|
| 6 |
+
- gguf
|
| 7 |
+
- gemma3
|
| 8 |
+
- function-calling
|
| 9 |
+
- tool-use
|
| 10 |
+
- tiny
|
| 11 |
+
- local
|
| 12 |
+
- cpu
|
| 13 |
+
language:
|
| 14 |
+
- pt
|
| 15 |
+
- en
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Gargantua Pi (270M)
|
| 19 |
+
|
| 20 |
+
Gargantua Pi is the tiniest model of the [openTARS](https://project-opentars.github.io/OpenTARS/) assistant. It is built for small boards and low-power machines: Raspberry Pi, Orange Pi and any computer without a graphics card. At about 300 MB it loads in a moment and answers on the CPU.
|
| 21 |
+
|
| 22 |
+
It does four things well: run a terminal command, search the web, remember a fact, and forget one. It answers in Portuguese and English and politely says so when you ask for something it cannot do, such as looking at the screen.
|
| 23 |
+
|
| 24 |
+
- **Base:** FunctionGemma 270M, fine-tuned by the openTARS project on its own tool-use data (4 tools: `execute_terminal`, `search_web`, `remember`, `forget`).
|
| 25 |
+
- **File:** `gargantua-1.2-pi-functiongemma-270m-Q8_0.gguf` (0.3 GB).
|
| 26 |
+
- **Runs with:** llama.cpp and Ollama (the `functiongemma` renderer and parser are built in).
|
| 27 |
+
- **License:** Gemma Terms of Use, inherited from the base model. Anyone who redistributes it must pass those terms on.
|
| 28 |
+
|
| 29 |
+
## Use
|
| 30 |
+
|
| 31 |
+
With Ollama, create the model from the downloaded file:
|
| 32 |
+
|
| 33 |
+
```bash
|
| 34 |
+
printf 'FROM ./gargantua-1.2-pi-functiongemma-270m-Q8_0.gguf\nRENDERER functiongemma\nPARSER functiongemma\nPARAMETER temperature 0.1\n' > Modelfile
|
| 35 |
+
ollama create gargantua-pi -f Modelfile
|
| 36 |
+
ollama run gargantua-pi "how much free memory is there?"
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
Pass the four tools in the request so it can call them. The openTARS app does this for you.
|
| 40 |
+
|
| 41 |
+
## Measured result
|
| 42 |
+
|
| 43 |
+
On our own 39-request check of the first move (pick the right tool, or none) it gets 31 of 39 right. This is our own test, not a public benchmark.
|
| 44 |
+
|
| 45 |
+
## Checksum
|
| 46 |
+
|
| 47 |
+
SHA-256 of the GGUF: `f921e2370833585eda692d4878f9ba50899bdce18b57dc10d0300f8a66f5ac60`
|