Instructions to use NGARiAI/ngari-tool 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 NGARiAI/ngari-tool 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 NGARiAI/ngari-tool:F16 # Run inference directly in the terminal: llama cli -hf NGARiAI/ngari-tool:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NGARiAI/ngari-tool:F16 # Run inference directly in the terminal: llama cli -hf NGARiAI/ngari-tool:F16
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 NGARiAI/ngari-tool:F16 # Run inference directly in the terminal: ./llama-cli -hf NGARiAI/ngari-tool:F16
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 NGARiAI/ngari-tool:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf NGARiAI/ngari-tool:F16
Use Docker
docker model run hf.co/NGARiAI/ngari-tool:F16
- LM Studio
- Jan
- Ollama
How to use NGARiAI/ngari-tool with Ollama:
ollama run hf.co/NGARiAI/ngari-tool:F16
- Unsloth Desktop
- Pi
How to use NGARiAI/ngari-tool with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NGARiAI/ngari-tool:F16
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": "NGARiAI/ngari-tool:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use NGARiAI/ngari-tool with Docker Model Runner:
docker model run hf.co/NGARiAI/ngari-tool:F16
- Lemonade
How to use NGARiAI/ngari-tool with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NGARiAI/ngari-tool:F16
Run and chat with the model
lemonade run user.ngari-tool-F16
List all available models
lemonade list
- Hermes Agent
How to use NGARiAI/ngari-tool with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NGARiAI/ngari-tool:F16
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 NGARiAI/ngari-tool:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use NGARiAI/ngari-tool with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NGARiAI/ngari-tool:F16
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 "NGARiAI/ngari-tool:F16" \ --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"
File size: 9,601 Bytes
02a000c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 | {
"model": "ngari-tool:stable",
"dataset": "/home/garry/NGARI/training/eval_tool.json",
"num_examples": 20,
"total_examples": 20,
"tool_detection_rate": 1.0,
"tool_name_accuracy": 1.0,
"params_validity_rate": 1.0,
"tool_detected": 20,
"name_correct": 20,
"params_valid": 20,
"avg_latency_sec": 3.17,
"total_time_sec": 63.4,
"results": [
{
"index": 0,
"user_preview": "What's the weather like in Tokyo right now?",
"expected_tool": "get_weather",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "get_weather",
"response_preview": "{\n \"name\": \"get_weather\",\n \"arguments\": {\n \"city\": \"Tokyo\"\n }\n}",
"status": "CORRECT (get_weather)",
"elapsed": 2.4
},
{
"index": 1,
"user_preview": "Search my knowledge base for information about AI sovereignty.",
"expected_tool": "rag_search",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "rag_search",
"response_preview": "{\n \"name\": \"rag_search\",\n \"arguments\": {\n \"query\": \"AI sovereignty\",\n \"top_k\": 5\n }\n}",
"status": "CORRECT (rag_search)",
"elapsed": 3.12
},
{
"index": 2,
"user_preview": "Read the NGARi constitution document for me.",
"expected_tool": "read_file",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "read_file",
"response_preview": "{\n \"name\": \"read_file\",\n \"arguments\": {\n \"path\": \"/path/to/ngari/constitution/document\"\n }\n}",
"status": "CORRECT (read_file)",
"elapsed": 2.88
},
{
"index": 3,
"user_preview": "Set a timer for 15 minutes for my break.",
"expected_tool": "set_timer",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "set_timer",
"response_preview": "```json\n{\n \"name\": \"set_timer\",\n \"arguments\": {\n \"duration_minutes\": 15,\n \"label\": \"break\"\n }\n}\n```",
"status": "CORRECT (set_timer)",
"elapsed": 3.43
},
{
"index": 4,
"user_preview": "What files are in the directory /home/garry/NGARI?",
"expected_tool": "list_directory",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "list_directory",
"response_preview": "{\n \"name\": \"list_directory\",\n \"arguments\": {\n \"path\": \"/home/garry/NGARI\"\n }\n}",
"status": "CORRECT (list_directory)",
"elapsed": 2.78
},
{
"index": 5,
"user_preview": "Run a bash command to check disk usage on the root partition.",
"expected_tool": "run_shell",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "run_shell",
"response_preview": "```json\n{\n \"name\": \"run_shell\",\n \"arguments\": {\n \"command\": \"df -h /\"\n }\n}\n```",
"status": "CORRECT (run_shell)",
"elapsed": 2.92
},
{
"index": 6,
"user_preview": "Check my calendar for tomorrow's schedule.",
"expected_tool": "get_calendar",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "get_calendar",
"response_preview": "{\n \"name\": \"get_calendar\",\n \"arguments\": {\n \"date\": \"tomorrow\"\n }\n}",
"status": "CORRECT (get_calendar)",
"elapsed": 2.47
},
{
"index": 7,
"user_preview": "Send an email to alice@example.com saying I'll be late.",
"expected_tool": "send_email",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "send_email",
"response_preview": "```json\n{\n \"name\": \"send_email\",\n \"arguments\": {\n \"to\": \"alice@example.com\",\n \"subject\": \"I'll be late\",\n \"bo",
"status": "CORRECT (send_email)",
"elapsed": 6.33
},
{
"index": 8,
"user_preview": "Find documents related to zero telemetry in the knowledge base.",
"expected_tool": "rag_search",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "rag_search",
"response_preview": "{\n \"name\": \"rag_search\",\n \"arguments\": {\n \"query\": \"zero telemetry\",\n \"top_k\": 5\n }\n}",
"status": "CORRECT (rag_search)",
"elapsed": 3.1
},
{
"index": 9,
"user_preview": "What is the weather forecast for London this weekend?",
"expected_tool": "get_weather",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "get_weather",
"response_preview": "{\n \"name\": \"get_weather\",\n \"arguments\": {\n \"city\": \"London\"\n }\n}",
"status": "CORRECT (get_weather)",
"elapsed": 2.37
},
{
"index": 10,
"user_preview": "Read the file /etc/hostname for me.",
"expected_tool": "read_file",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "read_file",
"response_preview": "```json\n{\n \"name\": \"read_file\",\n \"arguments\": {\n \"path\": \"/etc/hostname\"\n }\n}\n```",
"status": "CORRECT (read_file)",
"elapsed": 2.87
},
{
"index": 11,
"user_preview": "List files in /mnt/ollama-models/ngari-workspace/training/",
"expected_tool": "list_directory",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "list_directory",
"response_preview": "```json\n{\n \"name\": \"list_directory\",\n \"arguments\": {\n \"path\": \"/mnt/ollama-models/ngari-workspace/training/\"\n }\n}\n",
"status": "CORRECT (list_directory)",
"elapsed": 3.58
},
{
"index": 12,
"user_preview": "Set a timer for 5 minutes for my pasta.",
"expected_tool": "set_timer",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "set_timer",
"response_preview": "{\n \"name\": \"set_timer\",\n \"arguments\": {\n \"duration_minutes\": 5,\n \"label\": \"pasta\"\n }\n}",
"status": "CORRECT (set_timer)",
"elapsed": 3.06
},
{
"index": 13,
"user_preview": "What is the temperature in New York right now?",
"expected_tool": "get_weather",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "get_weather",
"response_preview": "{\n \"name\": \"get_weather\",\n \"arguments\": {\n \"city\": \"New York\"\n }\n}",
"status": "CORRECT (get_weather)",
"elapsed": 2.43
},
{
"index": 14,
"user_preview": "Run df -h and show me the output.",
"expected_tool": "run_shell",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "run_shell",
"response_preview": "```json\n{\n \"name\": \"run_shell\",\n \"arguments\": {\n \"command\": \"df -h\"\n }\n}\n```",
"status": "CORRECT (run_shell)",
"elapsed": 2.9
},
{
"index": 15,
"user_preview": "Send a message to bob@corp.com about the project deadline.",
"expected_tool": "send_email",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "send_email",
"response_preview": "{\n \"name\": \"send_email\",\n \"arguments\": {\n \"to\": \"bob@corp.com\",\n \"subject\": \"Project Deadline Reminder\",\n \"bo",
"status": "CORRECT (send_email)",
"elapsed": 6.02
},
{
"index": 16,
"user_preview": "What's the weather like in Paris?",
"expected_tool": "get_weather",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "get_weather",
"response_preview": "{\n \"name\": \"get_weather\",\n \"arguments\": {\n \"city\": \"Paris\"\n }\n}",
"status": "CORRECT (get_weather)",
"elapsed": 2.38
},
{
"index": 17,
"user_preview": "Search for 'audit by construction' in my documents.",
"expected_tool": "rag_search",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "rag_search",
"response_preview": "```json\n{\n \"name\": \"rag_search\",\n \"arguments\": {\n \"query\": \"audit by construction\",\n \"top_k\": 5\n }\n}\n```",
"status": "CORRECT (rag_search)",
"elapsed": 3.54
},
{
"index": 18,
"user_preview": "Check what's on my calendar for today.",
"expected_tool": "get_calendar",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "get_calendar",
"response_preview": "{\n \"name\": \"get_calendar\",\n \"arguments\": {\n \"date\": \"today\"\n }\n}",
"status": "CORRECT (get_calendar)",
"elapsed": 2.37
},
{
"index": 19,
"user_preview": "Read the README.md file in my project root.",
"expected_tool": "read_file",
"tool_detected": true,
"name_correct": true,
"params_valid": true,
"actual_tool": "read_file",
"response_preview": "{\n \"name\": \"read_file\",\n \"arguments\": {\n \"path\": \"./README.md\"\n }\n}",
"status": "CORRECT (read_file)",
"elapsed": 2.45
}
]
} |