CoolFace
Modelpublic

deadbydawn101/ravenx-Gemma4-12B-MTP-OBLITERATED-OpenMAI-OpenMythos-deep-reasoning-mlx

sourceHugging Faceotherupdated 4mo agoView on Hugging Face
7likes772downloads
Model Card

๐Ÿฅ‡ WORLD FIRST: RavenX ร— Gemma 4 12B MTP OBLITERATED โ€” Deep Reasoning

<p align="center"> <b>The first trained Gemma 4 12B on the planet.</b><br> <b>Proprietary training methodology. MTP-ready architecture. $0 cloud cost.</b><br> <b>MLX format for Apple Silicon.</b> </p>

Gemma 4 was released June 3, 2026 โ€” its gemma4_unified architecture wasn't supported by ANY training framework. We developed proprietary techniques to train it successfully.

โš ๏ธ DISCLAIMER

This model is an experimental research proof of concept. Provided AS-IS for educational and research purposes only. The base model is abliterated (refusal filters removed). Use responsibly.


Community Project

This is a community project. We're combining methods from:

  • โ€”Google โ€” Gemma 4 architecture, MTP heads, foundational model weights
  • โ€”OBLITERATUS โ€” SOM-manifold two-pass abliteration of the base model
  • โ€”Microsoft โ€” MAI hill-climbing methodology (open-sourced as OpenMAI)
  • โ€”MIT โ€” Self-revising discovery systems, arXiv:2606.01444 (implemented as OpenSelfRevise)
  • โ€”Mirai Labs โ€” RHT quantization and fused inference (open-sourced as OpenMirai)
  • โ€”RavenX โ€” OpenMythos depth extrapolation, GRAM multi-trajectory scaling, and proprietary training pipeline

The training methodology used to produce this model is proprietary and patent pending.


Model Details

FeatureDetail
BaseGemma 4 12B (OBLITERATUS abliterated)
Architecturegemma4_unified with MTP heads
TrainingProprietary methodology (patent pending)
Training Rounds9 progressive rounds
Training Data8,158 examples from 15 curated sources
Best Val Loss0.882
HardwareApple M4 Max 128GB โ€” $0 cloud cost
FormatMLX (Apple Silicon optimized)

What Makes This Different

This model was trained using an experimental proprietary methodology that produces self-aware reasoning behavior through a novel approach to training data preparation and model fine-tuning.

Key results:

  • โ€”Emergent behaviors not present in training data (Anti-Problem technique, Toolbox generation)
  • โ€”Structured multi-pass reasoning across code, math, and analysis tasks
  • โ€”Self-honest assessment of capabilities and limitations

The specific training methodology is patent pending (USPTO Application #64/087,357, filed June 10, 2026) and is not disclosed in this model card.

Technical Discoveries (Open โ€” Community Contributions)

The following technical discoveries made during training are shared with the community:

DiscoveryDetail
Flip-train-flipTemporarily change gemma4_unified โ†’ gemma4 in config.json for LoRA training, then restore. Multimodal capabilities preserved.
Chat template requiredGemma 4 produces garbled output without apply_chat_template(). Not a bug โ€” it's required.
Tokenizer patch for GGUFextra_special_tokens must be converted from list to dict for GGUF conversion to work. One-line fix.
Val loss spikes are normalWhen introducing new data formats, val loss spikes but recovers in 1-2 rounds. Don't panic.

Usage

python
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler
import json

# Flip config for mlx-lm compatibility
config = json.load(open("config.json"))
config["model_type"] = "gemma4"
json.dump(config, open("config.json", "w"), indent=2)

model, tokenizer = load(".")
sampler = make_sampler(temp=0.7, top_p=0.9)

# MUST use chat template!
messages = [{"role": "user", "content": "Your question here"}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
response = generate(model, tokenizer, prompt=prompt, max_tokens=500, sampler=sampler, verbose=True)

# Restore config
config["model_type"] = "gemma4_unified"
json.dump(config, open("config.json", "w"), indent=2)

GGUF Version

[GGUF F16 available here](https://huggingface.co/deadbydawn101/ravenx-Gemma4-12B-MTP-OBLITERATED-OpenMAI-OpenMythos-deep-reasoning-GGUF) โ€” works with Ollama, LM Studio, llama.cpp, vLLM, any hardware.

Part of the RavenX Ecosystem

ProjectDescription
OpenMAIMicrosoft MAI hill-climbing (open-sourced)
OpenSelfReviseMIT self-revising discovery (implemented)
OpenMiraiModel-agnostic quantization + inference
OpenMythos-MLXRecursive depth extrapolation
GRAM-MLXMulti-trajectory width scaling
ravenx-memoryHybrid triple-backend agent memory
star-platinum-clusterDistributed training cluster
RavenX-CyberAgentSecurity assessment model (745K+ examples)

Contributors

Built by Gabriel Garcia / RavenX LLC + Claude (Anthropic)

Training methodology: Patent Pending โ€” USPTO Application #64/087,357

License

Gemma License (model weights) โ€” Training methodology proprietary


"We don't give up. We do what others don't and build what isn't possible." โ€” RavenX LLC