Instructions to use deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX 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("deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX") 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 deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX"
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": "deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX 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 "deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX"
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 deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX
Run Hermes
hermes
- OpenClaw new
How to use deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX"
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 "deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX" \ --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"
- MLX LM
How to use deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX", "messages": [ {"role": "user", "content": "Hello"} ] }'
RavenX-Conjecture-Qwen3-8B-MLX
The first conjecture generation model fine-tuned on MLX for Apple Silicon.
Built by a security AI company that doesn't do math. That's the point.
The Story
On July 22, 2026 — first day back after two weeks sick — RavenX AI Labs:
- Read the ConjectureBench paper (arXiv:2510.11986) — nobody had implemented it locally
- Built the first MLX-native LEAN-FIRE pipeline on Apple Silicon
- Fine-tuned the first conjecture generation model that exists
- Verified Dmitry Rybin's breaking counterexample to the 30-year-old Dinitz-Garg-Goemans conjecture within hours
We don't do math. We do security AI and sovereign infrastructure. We built this cold.
🔥 Universal Conjecture Engine — 3 Modes, 5 Domains
The core insight: conjecture generation IS prediction. Same pipeline whether you're breaking a 30-year-old math conjecture or sizing a Polymarket position.
| Mode | What It Does |
|---|---|
| VALIDATE | Prove a conjecture true — decompose, formalize, verify |
| BREAK | Find a counterexample — attack surfaces, exhaustive search |
| PREDICT | Generate predictions — trading, Polymarket, security, science |
Mode 1: VALIDATE — Prove It True
from mlx_lm import load, generate
model, tokenizer = load("deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX")
messages = [
{"role": "system", "content": """You are a formal verification expert. Your task is to PROVE a conjecture is true.
Process: 1) DECOMPOSE into atomic claims 2) FORMALIZE in Lean 4 3) EVIDENCE for each claim 4) SYNTHESIZE proof 5) CONFIDENCE rating (0-1).
Output: decomposition, formal statement, proof sketch, verdict (PROVED / LIKELY TRUE / INSUFFICIENT EVIDENCE), weakest link."""},
{"role": "user", "content": "Every even integer greater than 2 is the sum of two primes (Goldbach's conjecture)\n/no_think"}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
output = generate(model, tokenizer, prompt=prompt, max_tokens=1024)
print(output)
Mode 2: BREAK — Find a Counterexample
This is how we verified the DGG counterexample. The system prompt that breaks conjectures:
messages = [
{"role": "system", "content": """You are a counterexample hunter. Your task is to DISPROVE a conjecture.
Process: 1) FORMALIZE the claim precisely 2) BOUNDARIES — constraints and degrees of freedom 3) ATTACK SURFACE — where is it weakest? 4) CONSTRUCT a candidate 5) VERIFY exhaustively (integer arithmetic) 6) CERTIFY with explicit values.
Key: exhaustive verification, integer arithmetic, show all work. Beautiful constructions are often correct."""},
{"role": "user", "content": """For single-source unsplittable flow, every fractional flow can be rounded to unsplittable flow of no higher cost, with each arc's load exceeded by at most d_max.
Try: small planar graphs, 3 terminals, unequal demands, razor-thin margins.
/no_think"""}
]
Mode 3: PREDICT — Trading, Polymarket, Security
The killer app. Conjecture = Prediction. Formalization = Resolution criteria. Counterexample = The trade.
# Polymarket prediction
messages = [
{"role": "system", "content": """You are a prediction engine. A prediction IS a conjecture. Resolution criteria IS verification.
Process: 1) FORMALIZE the claim (precise, time-bounded, resolution source) 2) DECOMPOSE into sub-claims with individual probabilities 3) BASE RATE + evidence update 4) COMBINED estimate with confidence interval 5) IDENTIFY THE EDGE (your estimate vs market price).
Use Kelly criterion for position sizing. State max downside."""},
{"role": "user", "content": """**Claim:** BTC will close above $100,000 by September 30, 2026
**Current Market Price:** 0.35
**Implied Probability:** 35.0%
**Context:** Current price ~$68K. ETF inflows $200M/day. Halving April 2024. Fed cutting rates Q3 2026.
/no_think"""}
]
# Security conjecture
messages = [
{"role": "system", "content": """You are a security verification engine. Formalize vulnerabilities as formal claims, then prove or disprove.
Process: 1) FORMALIZE the vulnerability as a claim about system state 2) ATTACK MODEL — attacker capabilities 3) Check CVE/NVD/MITRE 4) Construct minimal PoC 5) Prove or disprove the claim 6) Responsible disclosure if confirmed."""},
{"role": "user", "content": """The Sovereignty Chain's gradient ledger encryption prevents extraction of fine-tuning data without the owner's private key.
Context: PGP-based encryption of gradient deltas. Attacker has full model weights but not the PGP key.
/no_think"""}
]
Training
| Parameter | Value |
|---|---|
| Base model | Qwen/Qwen3-8B |
| Method | MLX LoRA (rank 16, alpha 32) |
| Dataset | AI-MO/NuminaMath-LEAN (1,706 train / 190 valid) |
| Iterations | 1,500 |
| Val loss | 2.993 → 0.651 (78% reduction) |
| Time | ~75 min on Apple M4 Max 128GB |
| Tokens trained | 1,010,330 |
Results
Before: model consumed all tokens in think blocks, no Lean 4 output. After: correct Lean structures — existential statements, IsGreatest, Finset.range, Real.pi.
DGG Conjecture — Verify Yourself
git clone https://github.com/DeadByDawn101/ravenx-conjecturebench
python formal_verification/verify_dgg.py
All 8 routings. Integer arithmetic. 60 > 58. 245-line Lean 4 formalization included.
Formats
| Format | Size | Link |
|---|---|---|
| MLX (this repo) | 4.3 GB | You're here |
| GGUF Q8_0 | 8.1 GB | GGUF |
Full Pipeline + Universal Prompt Engine
github.com/DeadByDawn101/ravenx-conjecturebench
Includes prompts/universal_conjecture.py — run predictions from the command line:
python prompts/universal_conjecture.py --mode predict --domain trading --claim "BTC > 100K by Sept" --market-price 0.35 --run
python prompts/universal_conjecture.py --mode break --claim "Your conjecture here" --run
python prompts/universal_conjecture.py --example dgg_break --run
RavenX AI Labs
155K+ HF downloads | 22 models | 2 USPTO patents | Security AI
- CyberAgent-35B — 20K+ downloads
- Gemma-4-E4B — 103K+ downloads
"We don't do math. That's the point." — RavenX AI Labs
- Downloads last month
- 68
4-bit