Text Generation
Transformers
Safetensors
GGUF
ministral3
function-calling
tool-use
agent
ministral
experimental
conversational
Instructions to use OculusMindAI/OculusMind-ToolCall-8B-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OculusMindAI/OculusMind-ToolCall-8B-v2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("OculusMindAI/OculusMind-ToolCall-8B-v2") model = AutoModelForCausalLM.from_pretrained("OculusMindAI/OculusMind-ToolCall-8B-v2", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 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-v2:Q8_0 # Run inference directly in the terminal: llama cli -hf OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0
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-v2:Q8_0 # Run inference directly in the terminal: llama cli -hf OculusMindAI/OculusMind-ToolCall-8B-v2: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 OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0
Use Docker
docker model run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 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-v2" # 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-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0
- SGLang
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "OculusMindAI/OculusMind-ToolCall-8B-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OculusMindAI/OculusMind-ToolCall-8B-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "OculusMindAI/OculusMind-ToolCall-8B-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OculusMindAI/OculusMind-ToolCall-8B-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 with Ollama:
ollama run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0
- Unsloth Desktop
- Pi
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 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-v2: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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 with Docker Model Runner:
docker model run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0
- Lemonade
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0
Run and chat with the model
lemonade run user.OculusMind-ToolCall-8B-v2-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 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-v2: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:9931/v1 hermes config set model.default OculusMindAI/OculusMind-ToolCall-8B-v2:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use OculusMindAI/OculusMind-ToolCall-8B-v2 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-v2: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:9931/v1 \ --custom-model-id "OculusMindAI/OculusMind-ToolCall-8B-v2: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"
Document the one-line Ollama install: ollama run oculusmindai/toolcall-8b-v2 (Ollama catalog) or hf.co/OculusMindAI/OculusMind-ToolCall-8B-v2
Browse files- CHECKSUMS.sha256 +2 -2
- README.md +7 -1
- USAGE-OLLAMA.md +30 -4
CHECKSUMS.sha256
CHANGED
|
@@ -19,9 +19,9 @@ bf02e982fd7a72202ab02eb837a9f7c3cddea4e87db6d0def674689de38fba11 model-00004-of
|
|
| 19 |
af1404948cc6758687de0851efb0786f819a088139792e19b26681e471b62a1c Modelfile
|
| 20 |
15cd61407a600e82b2481d83fbf100871e2d61a74f323be05fc0dad1d33057d8 NOTICE
|
| 21 |
86cb31f9330417900cdcd032702beb1d0af4aeb24896872827c0b7d2f8fd6316 params
|
| 22 |
-
|
| 23 |
8233d50ad79471ccb483a869703b940f5db1763db7ffd7c0134e0cec1a00a56e special_tokens_map.json
|
| 24 |
3172c95e8a831428f1a1085d1f141b045bce0769d5341c775b0a8e3f98305323 system
|
| 25 |
f59f7294e4f26383d0ea93840fe21cf197784be0842a8301a0343e8c34ed0d6d tokenizer_config.json
|
| 26 |
d5f6046775b112f0e2d456ee9dba450684ab964fe5c4e231599bdc6773028135 tokenizer.json
|
| 27 |
-
|
|
|
|
| 19 |
af1404948cc6758687de0851efb0786f819a088139792e19b26681e471b62a1c Modelfile
|
| 20 |
15cd61407a600e82b2481d83fbf100871e2d61a74f323be05fc0dad1d33057d8 NOTICE
|
| 21 |
86cb31f9330417900cdcd032702beb1d0af4aeb24896872827c0b7d2f8fd6316 params
|
| 22 |
+
6591c57fbbcd5e9fc6d34bc208423a889ab6fe6bd7288cc5535d0ec5875c30d4 README.md
|
| 23 |
8233d50ad79471ccb483a869703b940f5db1763db7ffd7c0134e0cec1a00a56e special_tokens_map.json
|
| 24 |
3172c95e8a831428f1a1085d1f141b045bce0769d5341c775b0a8e3f98305323 system
|
| 25 |
f59f7294e4f26383d0ea93840fe21cf197784be0842a8301a0343e8c34ed0d6d tokenizer_config.json
|
| 26 |
d5f6046775b112f0e2d456ee9dba450684ab964fe5c4e231599bdc6773028135 tokenizer.json
|
| 27 |
+
283451312118458c135f4d6d03d82ebcaf8a8fb493dbc1ec2498b027aa7d89b4 USAGE-OLLAMA.md
|
README.md
CHANGED
|
@@ -421,12 +421,18 @@ artifact: every figure in this card is from this file, through llama.cpp.
|
|
| 421 |
Ollama users: [`USAGE-OLLAMA.md`](./USAGE-OLLAMA.md) walks through create, run,
|
| 422 |
a tool call and the tool-result round trip, every command executed against these
|
| 423 |
files on Ollama 0.35.1; `ollama create oculusmind-ai-pico-v2:q8_0 -f Modelfile`
|
| 424 |
-
builds it with the right stop tokens and an identity-only system prompt.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 425 |
|
| 426 |
| file | bytes | sha256 |
|
| 427 |
|---|---:|---|
|
| 428 |
| `gguf/Q8_0/model-q8_0.gguf` | 9,028,871,552 | `fe76fb07e5ca7351171bcd94838129514f8ad9bfc0a4e84ac6d9c247b33e1c56` |
|
| 429 |
| `Modelfile` — Ollama definition for the GGUF above | 2,458 | `af1404948cc6758687de0851efb0786f819a088139792e19b26681e471b62a1c` |
|
|
|
|
|
|
|
| 430 |
|
| 431 |
**B. transformers, vLLM, MLX → the BF16 safetensors.** The same merged weights at
|
| 432 |
full precision, in the standard Hugging Face layout (`Ministral3ForCausalLM`,
|
|
|
|
| 421 |
Ollama users: [`USAGE-OLLAMA.md`](./USAGE-OLLAMA.md) walks through create, run,
|
| 422 |
a tool call and the tool-result round trip, every command executed against these
|
| 423 |
files on Ollama 0.35.1; `ollama create oculusmind-ai-pico-v2:q8_0 -f Modelfile`
|
| 424 |
+
builds it with the right stop tokens and an identity-only system prompt. To
|
| 425 |
+
install it in one line instead, with the same settings:
|
| 426 |
+
`ollama run oculusmindai/toolcall-8b-v2` (from the Ollama catalog) or
|
| 427 |
+
`ollama run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v2` (from this repository,
|
| 428 |
+
which reads `system` and `params` below).
|
| 429 |
|
| 430 |
| file | bytes | sha256 |
|
| 431 |
|---|---:|---|
|
| 432 |
| `gguf/Q8_0/model-q8_0.gguf` | 9,028,871,552 | `fe76fb07e5ca7351171bcd94838129514f8ad9bfc0a4e84ac6d9c247b33e1c56` |
|
| 433 |
| `Modelfile` — Ollama definition for the GGUF above | 2,458 | `af1404948cc6758687de0851efb0786f819a088139792e19b26681e471b62a1c` |
|
| 434 |
+
| `system` — the Modelfile's system prompt, for `ollama run hf.co/...` | 463 | `3172c95e8a831428f1a1085d1f141b045bce0769d5341c775b0a8e3f98305323` |
|
| 435 |
+
| `params` — the Modelfile's stop tokens, temperature and context, for `ollama run hf.co/...` | 122 | `86cb31f9330417900cdcd032702beb1d0af4aeb24896872827c0b7d2f8fd6316` |
|
| 436 |
|
| 437 |
**B. transformers, vLLM, MLX → the BF16 safetensors.** The same merged weights at
|
| 438 |
full precision, in the standard Hugging Face layout (`Ministral3ForCausalLM`,
|
USAGE-OLLAMA.md
CHANGED
|
@@ -1,9 +1,33 @@
|
|
| 1 |
# Running Pico V2 in Ollama
|
| 2 |
|
| 3 |
-
Every command and every output on this page was executed against
|
| 4 |
-
|
| 5 |
-
2.1.1 (macOS, Apple M3 Ultra),
|
| 6 |
-
written from memory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
---
|
| 9 |
|
|
@@ -175,6 +199,8 @@ stop "[/INST]"
|
|
| 175 |
stop "[TOOL_RESULTS]"
|
| 176 |
```
|
| 177 |
|
|
|
|
|
|
|
| 178 |
| Directive | Value | Reason |
|
| 179 |
|---|---|---|
|
| 180 |
| `stop` | `</s>`, `[INST]`, `[/INST]`, `[TOOL_RESULTS]` | Mistral control tokens. Without them a tool call can run past its turn into the next prompt's scaffolding and fail to parse. |
|
|
|
|
| 1 |
# Running Pico V2 in Ollama
|
| 2 |
|
| 3 |
+
Every command and every output on this page was executed against this
|
| 4 |
+
repository and the Ollama catalog, on **Ollama 0.35.1** with `huggingface_hub`
|
| 5 |
+
2.1.1 and 2.2.0 (macOS, Apple M3 Ultra), between 2026-10-07 and 2026-10-10.
|
| 6 |
+
Nothing here is written from memory.
|
| 7 |
+
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
## The one-line install
|
| 11 |
+
|
| 12 |
+
Ollama can install and run the model in one command, with nothing to download
|
| 13 |
+
by hand. From the Ollama catalog:
|
| 14 |
+
|
| 15 |
+
```sh
|
| 16 |
+
ollama run oculusmindai/toolcall-8b-v2
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
Or straight from this repository:
|
| 20 |
+
|
| 21 |
+
```sh
|
| 22 |
+
ollama run hf.co/OculusMindAI/OculusMind-ToolCall-8B-v2
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
Both are the same 9.0 GB build with the same settings as the `Modelfile`: the
|
| 26 |
+
stop tokens, temperature 0, the 32,768-token context and the identity prompt
|
| 27 |
+
(§5). Both give the outputs shown in §3 and §4. Needs Ollama 0.35.1 or newer.
|
| 28 |
+
|
| 29 |
+
The rest of this page builds the model from this repository's files with
|
| 30 |
+
`ollama create`, which lets you read and change every setting before you run it.
|
| 31 |
|
| 32 |
---
|
| 33 |
|
|
|
|
| 199 |
stop "[TOOL_RESULTS]"
|
| 200 |
```
|
| 201 |
|
| 202 |
+
Ollama prints these lines in no fixed order; the values are what matter.
|
| 203 |
+
|
| 204 |
| Directive | Value | Reason |
|
| 205 |
|---|---|---|
|
| 206 |
| `stop` | `</s>`, `[INST]`, `[/INST]`, `[TOOL_RESULTS]` | Mistral control tokens. Without them a tool call can run past its turn into the next prompt's scaffolding and fail to parse. |
|