Text Generation
ONNX
GGUF
English
function-calling
edge
on-device
physical-ai
iot
octopus-v2
synaptics-sl2619
gemma3
conversational
Instructions to use BrinqAI/functiongemma-270m-physical-ai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use BrinqAI/functiongemma-270m-physical-ai with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="BrinqAI/functiongemma-270m-physical-ai", filename="functiongemma-physical-ai-Q4_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use BrinqAI/functiongemma-270m-physical-ai with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M # Run inference directly in the terminal: llama-cli -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M # Run inference directly in the terminal: llama-cli -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
Use Docker
docker model run hf.co/BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use BrinqAI/functiongemma-270m-physical-ai with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BrinqAI/functiongemma-270m-physical-ai" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BrinqAI/functiongemma-270m-physical-ai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
- Ollama
How to use BrinqAI/functiongemma-270m-physical-ai with Ollama:
ollama run hf.co/BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
- Unsloth Studio new
How to use BrinqAI/functiongemma-270m-physical-ai with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for BrinqAI/functiongemma-270m-physical-ai to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for BrinqAI/functiongemma-270m-physical-ai to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for BrinqAI/functiongemma-270m-physical-ai to start chatting
- Pi new
How to use BrinqAI/functiongemma-270m-physical-ai with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "BrinqAI/functiongemma-270m-physical-ai:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use BrinqAI/functiongemma-270m-physical-ai with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
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 BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use BrinqAI/functiongemma-270m-physical-ai with Docker Model Runner:
docker model run hf.co/BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
- Lemonade
How to use BrinqAI/functiongemma-270m-physical-ai with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull BrinqAI/functiongemma-270m-physical-ai:Q4_K_M
Run and chat with the model
lemonade run user.functiongemma-270m-physical-ai-Q4_K_M
List all available models
lemonade list
chore: tools.json for v6 (11 tools)
Browse files- tools.json +7 -45
tools.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"version": "0.1.0",
|
| 3 |
-
"description": "Physical AI tool schema
|
| 4 |
"tools": [
|
| 5 |
{
|
| 6 |
"function": {
|
|
@@ -42,9 +42,7 @@
|
|
| 42 |
"description": "Brightness 0-100. Optional, default 100."
|
| 43 |
}
|
| 44 |
},
|
| 45 |
-
"required": [
|
| 46 |
-
"color"
|
| 47 |
-
]
|
| 48 |
}
|
| 49 |
}
|
| 50 |
},
|
|
@@ -91,16 +89,14 @@
|
|
| 91 |
"description": "One of 'slow', 'normal', 'fast'. Default 'normal'."
|
| 92 |
}
|
| 93 |
},
|
| 94 |
-
"required": [
|
| 95 |
-
"pattern"
|
| 96 |
-
]
|
| 97 |
}
|
| 98 |
}
|
| 99 |
},
|
| 100 |
{
|
| 101 |
"function": {
|
| 102 |
"name": "play_buzzer",
|
| 103 |
-
"description": "Play a named pattern on
|
| 104 |
"parameters": {
|
| 105 |
"type": "OBJECT",
|
| 106 |
"properties": {
|
|
@@ -109,9 +105,7 @@
|
|
| 109 |
"description": "Named pattern: 'beep', 'double_beep', 'siren', 'chirp', 'alarm', 'success', 'error'."
|
| 110 |
}
|
| 111 |
},
|
| 112 |
-
"required": [
|
| 113 |
-
"pattern"
|
| 114 |
-
]
|
| 115 |
}
|
| 116 |
}
|
| 117 |
},
|
|
@@ -178,36 +172,6 @@
|
|
| 178 |
}
|
| 179 |
}
|
| 180 |
},
|
| 181 |
-
{
|
| 182 |
-
"function": {
|
| 183 |
-
"name": "capture_photo",
|
| 184 |
-
"description": "Capture a photo from the MIPI camera on the HAT.",
|
| 185 |
-
"parameters": {
|
| 186 |
-
"type": "OBJECT",
|
| 187 |
-
"properties": {
|
| 188 |
-
"save_as": {
|
| 189 |
-
"type": "STRING",
|
| 190 |
-
"description": "Optional filename. Default timestamp-based."
|
| 191 |
-
}
|
| 192 |
-
}
|
| 193 |
-
}
|
| 194 |
-
}
|
| 195 |
-
},
|
| 196 |
-
{
|
| 197 |
-
"function": {
|
| 198 |
-
"name": "describe_scene",
|
| 199 |
-
"description": "Capture a photo and describe what is visible using the Gemma3 vision model on Torq NPU.",
|
| 200 |
-
"parameters": {
|
| 201 |
-
"type": "OBJECT",
|
| 202 |
-
"properties": {
|
| 203 |
-
"question": {
|
| 204 |
-
"type": "STRING",
|
| 205 |
-
"description": "Optional question about the scene. Default: 'What do you see?'"
|
| 206 |
-
}
|
| 207 |
-
}
|
| 208 |
-
}
|
| 209 |
-
}
|
| 210 |
-
},
|
| 211 |
{
|
| 212 |
"function": {
|
| 213 |
"name": "respond",
|
|
@@ -220,11 +184,9 @@
|
|
| 220 |
"description": "The natural-language reply to show to the user."
|
| 221 |
}
|
| 222 |
},
|
| 223 |
-
"required": [
|
| 224 |
-
"message"
|
| 225 |
-
]
|
| 226 |
}
|
| 227 |
}
|
| 228 |
}
|
| 229 |
]
|
| 230 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": "0.1.0",
|
| 3 |
+
"description": "Physical AI tool schema for Coral Dev Board (SL2619) FunctionGemma demo. Canonical mobile-actions format.",
|
| 4 |
"tools": [
|
| 5 |
{
|
| 6 |
"function": {
|
|
|
|
| 42 |
"description": "Brightness 0-100. Optional, default 100."
|
| 43 |
}
|
| 44 |
},
|
| 45 |
+
"required": ["color"]
|
|
|
|
|
|
|
| 46 |
}
|
| 47 |
}
|
| 48 |
},
|
|
|
|
| 89 |
"description": "One of 'slow', 'normal', 'fast'. Default 'normal'."
|
| 90 |
}
|
| 91 |
},
|
| 92 |
+
"required": ["pattern"]
|
|
|
|
|
|
|
| 93 |
}
|
| 94 |
}
|
| 95 |
},
|
| 96 |
{
|
| 97 |
"function": {
|
| 98 |
"name": "play_buzzer",
|
| 99 |
+
"description": "Play a named pattern on the piezo buzzer on the HAT. The buzzer is binary GPIO on the Coral Dev Board (BUZZERn), so only timed patterns are supported — no tunable frequency.",
|
| 100 |
"parameters": {
|
| 101 |
"type": "OBJECT",
|
| 102 |
"properties": {
|
|
|
|
| 105 |
"description": "Named pattern: 'beep', 'double_beep', 'siren', 'chirp', 'alarm', 'success', 'error'."
|
| 106 |
}
|
| 107 |
},
|
| 108 |
+
"required": ["pattern"]
|
|
|
|
|
|
|
| 109 |
}
|
| 110 |
}
|
| 111 |
},
|
|
|
|
| 172 |
}
|
| 173 |
}
|
| 174 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
{
|
| 176 |
"function": {
|
| 177 |
"name": "respond",
|
|
|
|
| 184 |
"description": "The natural-language reply to show to the user."
|
| 185 |
}
|
| 186 |
},
|
| 187 |
+
"required": ["message"]
|
|
|
|
|
|
|
| 188 |
}
|
| 189 |
}
|
| 190 |
}
|
| 191 |
]
|
| 192 |
+
}
|