Text Generation
MLX
Safetensors
English
qwen3
theorem-proving
lean4
conjecture-generation
apple-silicon
ravenx
conjecturebench
prediction-markets
trading
polymarket
formal-verification
conversational
4-bit precision
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 @earendil-works/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
- 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"} ] }' - Hermes Agent
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
- Atomic Chat
- OpenClaw
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"
Model card: first MLX conjecture model
Browse files
README.md
CHANGED
|
@@ -1,9 +1,88 @@
|
|
| 1 |
---
|
| 2 |
-
library_name: mlx
|
| 3 |
license: apache-2.0
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- mlx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: mlx
|
| 6 |
tags:
|
| 7 |
+
- theorem-proving
|
| 8 |
+
- lean4
|
| 9 |
+
- conjecture-generation
|
| 10 |
+
- apple-silicon
|
| 11 |
- mlx
|
| 12 |
+
- ravenx
|
| 13 |
+
base_model: Qwen/Qwen3-8B
|
| 14 |
+
datasets:
|
| 15 |
+
- AI-MO/NuminaMath-LEAN
|
| 16 |
+
pipeline_tag: text-generation
|
| 17 |
---
|
| 18 |
+
|
| 19 |
+
# RavenX-Conjecture-Qwen3-8B-MLX
|
| 20 |
+
|
| 21 |
+
**The first conjecture generation model fine-tuned on MLX for Apple Silicon.**
|
| 22 |
+
|
| 23 |
+
Built by a security AI company that doesn't do math. That's the point.
|
| 24 |
+
|
| 25 |
+
## The Story
|
| 26 |
+
|
| 27 |
+
On July 22, 2026 — first day back after two weeks sick — RavenX AI Labs:
|
| 28 |
+
|
| 29 |
+
1. Read the ConjectureBench paper (arXiv:2510.11986) — nobody had implemented it locally
|
| 30 |
+
2. Built the first MLX-native LEAN-FIRE pipeline on Apple Silicon
|
| 31 |
+
3. Fine-tuned the first conjecture generation model that exists
|
| 32 |
+
4. Verified Dmitry Rybin's breaking counterexample to the 30-year-old Dinitz-Garg-Goemans conjecture within hours
|
| 33 |
+
|
| 34 |
+
We don't do math. We do security AI and sovereign infrastructure. We built this cold.
|
| 35 |
+
|
| 36 |
+
## Training
|
| 37 |
+
|
| 38 |
+
| Parameter | Value |
|
| 39 |
+
|-----------|-------|
|
| 40 |
+
| Base model | Qwen/Qwen3-8B |
|
| 41 |
+
| Method | MLX LoRA (rank 16, alpha 32) |
|
| 42 |
+
| Dataset | AI-MO/NuminaMath-LEAN (1,706 train / 190 valid) |
|
| 43 |
+
| Iterations | 1,500 |
|
| 44 |
+
| Val loss | 2.993 → 0.651 (78% reduction) |
|
| 45 |
+
| Time | ~75 min on Apple M4 Max 128GB |
|
| 46 |
+
| Tokens trained | 1,010,330 |
|
| 47 |
+
|
| 48 |
+
## Results — Before vs After
|
| 49 |
+
|
| 50 |
+
**Putnam 2004 A1** (existence proof): Before = no output. After = correct existential Lean structure.
|
| 51 |
+
|
| 52 |
+
**Putnam 2013 B2** (cosine max = 3): Before = no output. After = IsGreatest with Finset.range, Real.pi (correct Mathlib idioms).
|
| 53 |
+
|
| 54 |
+
## Usage
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from mlx_lm import load, generate
|
| 58 |
+
model, tokenizer = load("deadbydawn101/RavenX-Conjecture-Qwen3-8B-MLX")
|
| 59 |
+
prompt = tokenizer.apply_chat_template([
|
| 60 |
+
{"role": "system", "content": "You are an expert mathematician. Generate the precise solution as a Lean 4 expression."},
|
| 61 |
+
{"role": "user", "content": "What are the real roots of x^2 - 4x = 0?\n/no_think"},
|
| 62 |
+
], tokenize=False, add_generation_prompt=True)
|
| 63 |
+
output = generate(model, tokenizer, prompt=prompt, max_tokens=512)
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## DGG Conjecture — Verify Yourself
|
| 67 |
+
|
| 68 |
+
```bash
|
| 69 |
+
git clone https://github.com/DeadByDawn101/ravenx-conjecturebench
|
| 70 |
+
python formal_verification/verify_dgg.py
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
All 8 routings. Integer arithmetic. 60 > 58. Lean 4 formalization (245 lines) included.
|
| 74 |
+
|
| 75 |
+
## Formats
|
| 76 |
+
|
| 77 |
+
| Format | Size | Link |
|
| 78 |
+
|--------|------|------|
|
| 79 |
+
| **MLX (this repo)** | 4.3 GB | You're here |
|
| 80 |
+
| GGUF Q8_0 | 8.1 GB | [GGUF](https://huggingface.co/deadbydawn101/RavenX-Conjecture-Qwen3-8B-GGUF) |
|
| 81 |
+
|
| 82 |
+
Pipeline: [github.com/DeadByDawn101/ravenx-conjecturebench](https://github.com/DeadByDawn101/ravenx-conjecturebench)
|
| 83 |
+
|
| 84 |
+
## RavenX AI Labs
|
| 85 |
+
|
| 86 |
+
155K+ HF downloads | 22 models | 2 USPTO patents | Security AI
|
| 87 |
+
|
| 88 |
+
*"We don't do math. That's the point." — RavenX AI Labs*
|