Instructions to use h3rb3rn/moe-sovereign-planner-olmo3-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use h3rb3rn/moe-sovereign-planner-olmo3-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="h3rb3rn/moe-sovereign-planner-olmo3-7b")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("h3rb3rn/moe-sovereign-planner-olmo3-7b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use h3rb3rn/moe-sovereign-planner-olmo3-7b 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 h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M # Run inference directly in the terminal: llama cli -hf h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M # Run inference directly in the terminal: llama cli -hf h3rb3rn/moe-sovereign-planner-olmo3-7b: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 h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf h3rb3rn/moe-sovereign-planner-olmo3-7b: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 h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M
Use Docker
docker model run hf.co/h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use h3rb3rn/moe-sovereign-planner-olmo3-7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "h3rb3rn/moe-sovereign-planner-olmo3-7b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "h3rb3rn/moe-sovereign-planner-olmo3-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M
- SGLang
How to use h3rb3rn/moe-sovereign-planner-olmo3-7b 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 "h3rb3rn/moe-sovereign-planner-olmo3-7b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "h3rb3rn/moe-sovereign-planner-olmo3-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "h3rb3rn/moe-sovereign-planner-olmo3-7b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "h3rb3rn/moe-sovereign-planner-olmo3-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use h3rb3rn/moe-sovereign-planner-olmo3-7b with Ollama:
ollama run hf.co/h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use h3rb3rn/moe-sovereign-planner-olmo3-7b with Docker Model Runner:
docker model run hf.co/h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M
- Lemonade
How to use h3rb3rn/moe-sovereign-planner-olmo3-7b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull h3rb3rn/moe-sovereign-planner-olmo3-7b:Q4_K_M
Run and chat with the model
lemonade run user.moe-sovereign-planner-olmo3-7b-Q4_K_M
List all available models
lemonade list
- Atomic Chat
MoE Sovereign Planner 7B -- OLMo-3 (moe-sovereign-planner-olmo3-7b)
Task Decomposition & Orchestration
Model Summary
moe-sovereign-planner-olmo3-7b is a LoRA fine-tune of OLMo-3-7B-Instruct, specialized as the orchestrator/planner of the MoE Sovereign compound-AI system: it decomposes an incoming request into 1-4 subtasks for the domain experts, extracting and propagating explicit numerical constraints so experts cannot hallucinate default values.
Genuinely open-source base (Ai2 -- weights, training data, and training code all publicly documented), the Spur-2 (open-source) counterpart to the parallel Qwen3.5-9B planner trained on the open-weight track.
Training Configuration
| Parameter | Value |
|---|---|
| Method | LoRA (rank 16, alpha 32, dropout 0.05) |
| Trainable parameters | 39,976,960 of 7,337,988,096 (0.54%) |
| Epochs | 3 |
| Effective batch size | 128 (micro-batch 4 x 8 GPUs x grad-accum 4) |
| Learning rate | 1.5e-5 |
| Training sequence length | 4,096 tokens |
| Compute | EuroHPC LUMI-G, 8x AMD Instinct MI250X GCDs, ROCm |
| Training examples | 4,726 curated decomposition examples |
Observed Training Trajectory
Training loss: 2.111 -> 1.094 -> 0.737. Smooth decline, no overfitting signature.
Prompt Format
ChatML. System prompt:
You are the orchestrator of a Mixture-of-Experts system.
Decompose the following request into 1-4 subtasks.
Mandatorily extract all numerical constraints and technical parameters from the request (e.g. model sizes, MTU values, protocol overheads, chemical doses, bitrates). Integrate these as IMMUTABLE_CONSTANTS directly into each subtask description for the experts, so experts cannot hallucinate default values.
Available Formats
| File | Notes |
|---|---|
moe-sovereign-planner-olmo3-7b-Q4_K_M.gguf |
Recommended for deployment |
moe-sovereign-planner-olmo3-7b-Q8_0.gguf |
Higher-fidelity reference quantization |
Hardware Guidance
OLMo-3-7B's native context is 65,536 tokens (via YaRN extension). Fits comfortably on a single modern 12GB+ GPU at Q4_K_M.
Ollama Modelfile
FROM ./moe-sovereign-planner-olmo3-7b-Q4_K_M.gguf
SYSTEM """You are the orchestrator of a Mixture-of-Experts system.
Decompose the following request into 1-4 subtasks.
Mandatorily extract all numerical constraints and technical parameters from the request (e.g. model sizes, MTU values, protocol overheads, chemical doses, bitrates). Integrate these as IMMUTABLE_CONSTANTS directly into each subtask description for the experts, so experts cannot hallucinate default values."""
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>"""
PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.2
PARAMETER num_ctx 32768
Limitations
- Decomposition quality depends on the request containing extractable constraints; ambiguous requests may yield underspecified subtasks.
- Does not execute the subtasks itself -- routes to the domain experts.
License
Apache 2.0, inherited from the OLMo-3-7B-Instruct base model.
- Downloads last month
- 71
4-bit
8-bit
Model tree for h3rb3rn/moe-sovereign-planner-olmo3-7b
Base model
allenai/Olmo-3-1025-7B