tostido/cascade-observations
Viewer โข Updated โข 3.32k โข 1.58k
How to use tostido/Champion-Dreamer with Transformers:
# Load model directly
from transformers import DreamerV3
model = DreamerV3.from_pretrained("tostido/Champion-Dreamer", dtype="auto")THIS IS THE OPPOSITE OF A BLACK BOX
Every weight, decision, and mutation is fully transparent.
๐ CASCADE Hyperlattice Demo โ Real-time 3D visualization with HOLD protocol
A self-contained, merkle-hashed AI agent that can:
TIER 1 - RSSM (Recurrent State Space Model)
โข DreamerV3 L-size: deter=4096, stoch=32x32
โข Total latent: 5120 dimensions
TIER 2 - LoRA Adapter (EVOLVED)
โข ~82K parameters, rank=16
โข Maps latent โ 8 action logits
TIER 3 - Evolved Traits
โข Hyperparameters discovered via NEAT-style evolution
| Property | Value |
|---|---|
| Merkle Hash | 38438eb04586975cda66a08fd3c447bb |
| Generation | 42 |
| Fitness | 0.5879 |
| Brain Type | DreamerV3 |
# Load from Hugging Face
from huggingface_hub import hf_hub_download
import importlib.util
# Download the self-compiling champion
path = hf_hub_download(
repo_id="tostido/Champion-Dreamer",
filename="champion_gen42.py"
)
spec = importlib.util.spec_from_file_location("champion", path)
champion = importlib.util.module_from_spec(spec)
spec.loader.exec_module(champion)
# Create agent
agent = champion.ChampionAgent()
# Verify integrity
assert agent.verify_quine_integrity()
# Run inference
obs = [0.0] * 64 # Your observation
action_probs, value = agent.forward(obs)
print(f"Action: {action_probs.argmax()}, Value: {value:.4f}")
# Full transparency
agent.show_readme()
# The champion can compile itself to standard formats
agent.export_onnx("champion.onnx")
agent.export_pytorch("champion.pt")
Human-in-the-loop oversight at inference time:
# Run with HOLD (requires cascade-lattice)
result = agent.forward_hold(obs, blocking=True, timeout=30.0)
# Result includes:
# - action: final action taken
# - was_override: True if human intervened
# - hold_id: merkle hash of decision point
Want your model wrapped as a Glass Box Quine Brain?
I offer conversion services for:
What you get:
๐ง Contact: [towers.jeff@gmail.com]
| File | Description |
|---|---|
champion_gen42.py |
The complete quine brain (~481MB with embedded weights) |
requirements.txt |
Dependencies for running locally |
MIT โ Use freely, but the quine hash proves provenance.