Instructions to use OculusMindAI/OculusMind-ToolCall-8B-v1 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 OculusMindAI/OculusMind-ToolCall-8B-v1 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 OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf OculusMindAI/OculusMind-ToolCall-8B-v1: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 OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf OculusMindAI/OculusMind-ToolCall-8B-v1: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 OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
Use Docker
docker model run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use OculusMindAI/OculusMind-ToolCall-8B-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OculusMindAI/OculusMind-ToolCall-8B-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OculusMindAI/OculusMind-ToolCall-8B-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
- Ollama
How to use OculusMindAI/OculusMind-ToolCall-8B-v1 with Ollama:
ollama run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
- Unsloth Studio
How to use OculusMindAI/OculusMind-ToolCall-8B-v1 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 OculusMindAI/OculusMind-ToolCall-8B-v1 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 OculusMindAI/OculusMind-ToolCall-8B-v1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for OculusMindAI/OculusMind-ToolCall-8B-v1 to start chatting
- Pi
How to use OculusMindAI/OculusMind-ToolCall-8B-v1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OculusMindAI/OculusMind-ToolCall-8B-v1: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": "OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use OculusMindAI/OculusMind-ToolCall-8B-v1 with Docker Model Runner:
docker model run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
- Lemonade
How to use OculusMindAI/OculusMind-ToolCall-8B-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
Run and chat with the model
lemonade run user.OculusMind-ToolCall-8B-v1-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use OculusMindAI/OculusMind-ToolCall-8B-v1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OculusMindAI/OculusMind-ToolCall-8B-v1: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 OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use OculusMindAI/OculusMind-ToolCall-8B-v1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M
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 "OculusMindAI/OculusMind-ToolCall-8B-v1:Q4_K_M" \ --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"
Running this model in Ollama
Every command and every output on this page was executed against the files in this repository on Ollama 0.32.5 before publication. Nothing here is written from memory.
1. Get the files
You need the repository contents on disk — the Modelfile reads the GGUF from a
path relative to itself, so keep the layout intact.
huggingface-cli download OculusMindAI/OculusMind-ToolCall-8B-v1 \
--local-dir ./OculusMind-ToolCall-8B-v1
cd ./OculusMind-ToolCall-8B-v1
To save bandwidth, fetch only the quantization you want:
# ~4.8 GB — Q4_K_M
huggingface-cli download OculusMindAI/OculusMind-ToolCall-8B-v1 \
--local-dir ./OculusMind-ToolCall-8B-v1 \
--include "Modelfile" "gguf/Q4_K_M/*"
# ~8.4 GB — Q8_0
huggingface-cli download OculusMindAI/OculusMind-ToolCall-8B-v1 \
--local-dir ./OculusMind-ToolCall-8B-v1 \
--include "Modelfile.Q8_0" "gguf/Q8_0/*"
Verify what you downloaded against CHECKSUMS.sha256:
shasum -a 256 -c CHECKSUMS.sha256
2. Create the model
Run from the directory containing the Modelfile. This matters: FROM is
resolved relative to the Modelfile's own location, not your shell's working
directory, and Ollama reports a mismatch as 400 Bad Request: invalid model name rather than a missing-file error.
ollama create pico -f Modelfile # Q4_K_M
ollama create pico-q8 -f Modelfile.Q8_0 # Q8_0
ollama create copies the weights into Ollama's own store, so each build costs
its size again on disk (4.8 GB / 8.4 GB) on top of the download.
Which one? Q8_0 is the more faithful build and the one this model card
leads with; Q4_K_M is ~40 % smaller and ~40 % faster to generate. Benchmark
scores for the two are within noise of each other — see the model card §3.
3. Use it
ollama run pico "Name three primary colors."
The three primary colors are red, blue, and yellow.
With no system prompt of your own, the model introduces itself from the default embedded in the GGUF:
ollama run pico "Who are you? Answer in one sentence."
I am a large language model created by OculusMind.AI.
4. Tool calling — what this model is for
Pass tools through Ollama's OpenAI-shaped tools array on /api/chat:
curl -s http://127.0.0.1:11434/api/chat -d '{
"model": "pico",
"stream": false,
"messages": [{"role": "user", "content": "What is the weather in San Francisco in celsius?"}],
"tools": [{
"type": "function",
"function": {
"name": "get_current_weather",
"description": "Get the current weather for a city",
"parameters": {
"type": "object",
"properties": {
"city": {"type": "string", "description": "The city name"},
"unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}
},
"required": ["city", "unit"]
}
}
}]
}'
Returns a structured call with empty content:
{"message": {"role": "assistant", "content": "",
"tool_calls": [{"function": {
"name": "get_current_weather",
"arguments": {"city": "San Francisco", "unit": "celsius"}}}]}}
Feed the result back as a tool message to get the final answer:
{"messages": [
{"role": "user", "content": "What is the weather in San Francisco in celsius?"},
{"role": "assistant", "content": "", "tool_calls": [{"function": {"name": "get_current_weather", "arguments": {"city": "San Francisco", "unit": "celsius"}}}]},
{"role": "tool", "content": "{\"temp_c\": 14, \"conditions\": \"foggy\"}"}
]}
The current temperature in San Francisco is 14 degrees Celsius and it's foggy.
Both quantizations produce identical tool calls on this example.
5. Settings the Modelfile pins, and why
| Directive | Value | Reason |
|---|---|---|
stop |
</s>, [INST], [/INST], [TOOL_RESULTS] |
Mistral control tokens. Without these the model can run past its turn and emit the next prompt's scaffolding as text. |
temperature |
0.001 |
BFCL's own default, which is what our published numbers were measured at. Near-deterministic, not greedy. |
num_ctx |
32768 |
Bounds memory. We evaluated at 65,536; raise it if your machine allows, especially with long tool schemas. |
No SYSTEM line is set, deliberately. A prompt telling the model when to call
tools and when to decline is the behaviour the benchmarks measure, so baking one
in would bias the very categories where this model is weakest. Supply your own agent prompt;
this model was fine-tuned on trajectories carrying real system prompts and tool
schemas, and performs best when given them.
6. Two honest warnings
These are not the settings our benchmark numbers came from. The published
BFCL figures were produced by a harness that renders prompts itself and calls
llama.cpp's raw /completion endpoint. Ollama uses the chat template embedded
in the GGUF and its own tool parser. Both work; they are different
experiments, and nothing in the output tells you which one you ran. Do not
expect to reproduce our numbers through Ollama — see
eval/reproduce.md.
This model is worse than its base at declining. It regressed on
irrelevance detection (live_irrelevance −15.38 at Q8_0). If your workload
sends requests that should not produce a tool call, prefer the base model.
Details in the model card §3.2.
7. Cleaning up
ollama rm pico pico-q8