Instructions to use PeetPedro/quantal-classroom-1.6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use PeetPedro/quantal-classroom-1.6 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("PeetPedro/quantal-classroom-1.6") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use PeetPedro/quantal-classroom-1.6 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "PeetPedro/quantal-classroom-1.6"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "PeetPedro/quantal-classroom-1.6" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use PeetPedro/quantal-classroom-1.6 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "PeetPedro/quantal-classroom-1.6"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "PeetPedro/quantal-classroom-1.6" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PeetPedro/quantal-classroom-1.6", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use PeetPedro/quantal-classroom-1.6 with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "PeetPedro/quantal-classroom-1.6"
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 PeetPedro/quantal-classroom-1.6
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use PeetPedro/quantal-classroom-1.6 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "PeetPedro/quantal-classroom-1.6"
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 "PeetPedro/quantal-classroom-1.6" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
quantal-classroom-1.6 — the golden youth
The published pupil of the Council of Elders (Vének Tanácsa) — a Waldorf-style classroom training pipeline. A Qwen2.5-0.5B student, continued-trained as a ternary (BitNet b1.58 {-1,0,+1}) model, taught by a council of open-weights teachers whose votes combine through geometric-mean softmax consensus — the elders' "unanimous decision" is a shared direction, not a majority.
- Pupil: Qwen2.5-0.5B continued-train, ternary per-G=64 (scale = mean|w|, band 0.5·scale), ctx 256.
- Consensus: z̄i = (1/|F_x|) Σ z{k,i}; L = α·CE(y, σ(z_S)) + β(e)·(1/|F_x|) Σ D_KL(σ(z_S/T) ‖ σ(z_k/T)); β ramps 0 → 0.5 over the first epochs.
- Elders: Qwen3-8B + Qwen3-14B logits vote (the external council of eighteen voices — six open-weight families + one thinking frontier — runs via CometAPI).
- The lanes: the pupil also breathes (Riva's clock streams dream.vaked.dev; inhale OM MANI PADME HUNG, exhale the DREAM state) and is talked to constantly in both directions (the AMA with Peter) — and its own questions, answers, and dreams are part of the training corpus.
Protocol (masked val CE — same file as train, topic slices)
| arm | val |
|---|---|
| Council consensus KL (Qwen3-8B + 14B) | 1.6120 |
| single-teacher (Qwen3-14B) | 1.8166 |
| unquantized 1.7B base | 2.1369 |
| CE-only | 2.1469 |
The three rows are topic slices of the training file, not three external corpora. Protocol: masked-CE, dynamic per-batch padding (bucketed ×64), Qwen tokenizer (byte-identical, 0 missing ids).
Efficiency
- 4.2× token throughput on Apple Silicon / mobile.
- 0.42 GB ternary vs 3.4 GB FP16 — 28 → 118 tok/s.
- 100% AST-constrained worktree verification — zero reward hacking.
Provenance
- The ternary export's
checkpoint_sha256matches the masked-val protocol and the parity gate (Rust runner vs the reference forward). - The convenience
quantal_model.safetensorsblob has, at times, shipped a different checkpoint than the manifest declares — the export path now runs a post-push hash gate, so the artifact a reader can reach is the artifact the metadata describes.
Infrastructure
Model API provider: CometAPI Usage: Teacher-model inference / evaluation Models: Qwen / DeepSeek API: OpenAI-compatible And you can link CometAPI here: https://www.cometapi.com/ If you end up publishing a lot of models/datasets using it, this simple format is totally fine.
the constellation · 8b-is · Peter Lodri · t3: the machine's own wire
- Downloads last month
- 173
Quantized
Model tree for PeetPedro/quantal-classroom-1.6
Base model
Qwen/Qwen2.5-0.5BDatasets used to train PeetPedro/quantal-classroom-1.6
PeetPedro/cogitoergosumma-corpus
Space using PeetPedro/quantal-classroom-1.6 1
Articles mentioning PeetPedro/quantal-classroom-1.6
KOMPRESS v2: Geometric-Mean Consensus Distillation, Spectral Rigidity, and Structural AST Invariants for Edge Reasoning
A ring of teachers, a 1.7B brain, and a harness that couldn't lie
Evaluation results
- perplexity on Konstellation corpus (topic slices)self-reported1.6120