Examples
Short, practical recipes for the most common REE workflows.
Common Workflow Examples
Try some of these ready-to-use TUI configurations for common workflows like test runs, production inference, prompt files, and more.
Minimal: Test Model
Use a small test model to verify REE is working.
Note that test models have random weights and will produce nonsensical output. This is expected.
In the TUI, fill in the following parameters:
Model Name:
hf-internal-testing/tiny-random-LlamaForCausalLMPrompt Text:
Hello worldMax New Tokens:
24Press
rto run.

Production: Reproducible Inference with a Real Model
Model Name:
Qwen/Qwen3-0.6BPrompt Text:
Explain quantum entanglement in simple terms.Max New Tokens:
256Extra Args:
--operation-set reproducible --temperature 0.7 --top-p 0.9Press
rto run.

Using a Prompt File
Save your prompt to a .JSONL file:
In the TUI:
Model Name:
Qwen/Qwen3-0.6BPrompt Text: (leave blank)
Prompt File:
/path/to/your/prompt.JSONLMax New Tokens:
128Extra Args:
Press
rto run.

Short-Circuiting (Reasoning Models)
Short-circuiting forces the model to exit a generation phase early by injecting a specific token at a given step. This is useful for reasoning models (e.g., Qwen3) that have thinking/end-thinking phases, where you want to limit the token budget spent on "thinking."
Both --short-circuit-length and --short-circuit-token must be provided together in Extra Args.
Model Name:
Qwen/Qwen3-14BPrompt Text:
Solve this math problem.Max New Tokens:
300Extra Args:
Press
rto run.

Validating a Receipt
Validation ensures that a receipt remains internally consistent and that its hashes are untampered and uncorrupted, without requiring re-computation.
After a successful run, switch the TUI to validate mode:
Subcommand:
validateReceipt Path: Paste the path to your receipt JSON file (e.g.,
~/.cache/gensyn/Qwen--Qwen3-0.6B/.../metadata/receipt_20260311_155048.json)Press
rto run.

Verifying a Receipt
Verification re-runs the entire inference pipeline and comparing the results with the receipt to ensure reproducibility.
To prove a receipt is reproducible by re-running the full inference pipeline:
Subcommand:
verifyReceipt Path: Paste the path to the receipt JSON file
Press
rto run.
REE will re-execute the computation and compare the output against the receipt. This is slower than validate since it runs the full pipeline, but it's the strongest proof that the result is reproducible.

Use validate for a quick integrity check or use verify when you need definitive proof.
Last updated