How crh225/plumb works
Plumb-4B is both a one-pass typed-decision model and the training/evaluation pipeline that produces its rounds. The user-facing path accepts evidence and typed questions through the Python runtime or HTTP service, then returns calibrated option probabilities. The broader pipeline generates and verifies teacher questions, combines them with human-labelled replay, screens/mines training data, trains and calibrates a model, and benchmarks it; unattended runs and a live dashboard support operation. Some training and dashboard implementations were not excerpted, so those relationships are included only where the README documents them.
Main entry points: build_train.py Training set assembly · lora.py LoRA training · runtime.py Typed decision runtime · run-bench.sh Public benchmark runner
Components 22
Decision runtime
- HTTP decision API
jevk5/server.py - Typed decision runtime
jevk5/runtime.py - Published model weights
- Ollama integration
Training data
- Teacher generation and verification
training/teacher.py - Human-labelled replay
training/build_replay.py - Hard replay datasets
training/build_hard_replay.py - Training set assembly
training/build_train.py - Benchmark overlap scan
training/scan_overlap.py - Exact-text audit
training/audit_exact.py - Hard-question mining
training/mine_hard.py
Model training
- Training batching
training/batching.py - LoRA training
training/lora.py - Temperature fitting
training/fit_temperature.py
Evaluation and operations
- Public benchmark runner
run-bench.sh - Round results
results - Unattended round supervisor
supervise.sh - Live dashboard
dashboard
Other components
- Decision caller
- Teacher LLM
- Public datasets
- Ollama service
Connections 29
- Decision caller → Typed decision runtime: calls
README.md - Decision caller → HTTP decision API: posts decisions
README.md - HTTP decision API → Typed decision runtime: calls decide
jevk5/server.py - Typed decision runtime → Published model weights: loads weights
README.md - Typed decision runtime → Decision caller: returns probabilities
README.md - Teacher LLM → Teacher generation and verification: answers questions
README.md - Public datasets → Human-labelled replay: supplies labels
README.md - Public datasets → Hard replay datasets: supplies labels
README.md - Teacher generation and verification → Training set assembly: provides agreed items
README.md - Human-labelled replay → Training set assembly: provides replay
README.md - Hard replay datasets → Training set assembly: provides hard dev
README.md - Training set assembly → Benchmark overlap scan: screens training set
README.md - Training set assembly → Exact-text audit: audits text
README.md - Benchmark overlap scan → Hard-question mining: clears benchmark items
- Training set assembly → Hard-question mining: selects hard items
README.md - Hard-question mining → LoRA training: provides training set
README.md - Training set assembly → LoRA training: provides training set
README.md - LoRA training → Training batching: uses batches
training/lora.py - LoRA training → Typed decision runtime: uses model runtime
training/lora.py - LoRA training → Temperature fitting: provides trained model
README.md - Temperature fitting → Typed decision runtime: writes runtime calibration
training/fit_temperature.py - Temperature fitting → Public benchmark runner: calibrates round
README.md - LoRA training → Public benchmark runner: evaluates round
README.md - Public benchmark runner → Round results: writes scores
README.md - Unattended round supervisor → Teacher generation and verification: keeps generating
README.md - Unattended round supervisor → Public benchmark runner: starts rounds
README.md - Unattended round supervisor → Live dashboard: updates live view
README.md - Decision caller → Ollama service: posts decision
README.md - Ollama service → Ollama integration: dispatches endpoint
README.md