How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf Scorched2/shader-v2:Q8_0
# Run inference directly in the terminal:
llama-cli -hf Scorched2/shader-v2:Q8_0
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf Scorched2/shader-v2:Q8_0
# Run inference directly in the terminal:
llama-cli -hf Scorched2/shader-v2:Q8_0
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 Scorched2/shader-v2:Q8_0
# Run inference directly in the terminal:
./llama-cli -hf Scorched2/shader-v2:Q8_0
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 Scorched2/shader-v2:Q8_0
# Run inference directly in the terminal:
./build/bin/llama-cli -hf Scorched2/shader-v2:Q8_0
Use Docker
docker model run hf.co/Scorched2/shader-v2:Q8_0
Quick Links

Hierarchical Reasoning Model (HRM)

Custom MoE language model with 3-level hierarchical reasoning and DeepSeek-V3 memory strategies.

Architecture: 3 levels 路 16 experts (4 active) 路 MLA attention 路 Hierarchical memory
Parameters: ~350M total, ~45M active per token
Trained on: OpenHermes-2.5

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("Scorched2/shader-v2", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("Scorched2/shader-v2")

inputs = tokenizer("### Instruction:\nExplain AI.\n\n### Response:\n", return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(out[0]))
Downloads last month
52
Safetensors
Model size
0.3B params
Tensor type
F32
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support