EnricoFermi's picture
card: footer v3 β€” OLMoE shipped + Β§4.1.3.4.1 discipline gate
49cffac verified
|
raw
history blame
15.3 kB
metadata
tags:
  - text-generation
  - general
  - qwen2.5
  - 7b
  - pruned
  - lora
  - compensation-lora
  - distillation
  - forge-alloy
  - cryptographically-verified
base_model: Qwen/Qwen2.5-Coder-7B
pipeline_tag: text-generation
license: apache-2.0

12% Pruned, 61.0 HUMANEVAL (base 62.2)

Qwen2.5-Coder-7B forged through Experiential Plasticity and recovered to within calibration tolerance of the unmodified base via KL-distillation compensation LoRA.

  • HUMANEVAL: 61.0 (base 62.2, Ξ” -1.2)
  • HUMANEVAL+PLUS: 53.0 (base 53.7, Ξ” -0.7)

Verify Chain of Custody

Every claim on this card is verified
Trust: self-attested Β· 2 benchmarks Β· 1 device tested
ForgeAlloy chain of custody Β· Download alloy Β· Merkle-chained


Qwen2.5-Coder-7B with cryptographic provenance via the ForgeAlloy chain of custody. Scores 61.0 humaneval against the unmodified base's 62.2, recovered to within calibration tolerance after head pruning + distillation. Ships with the per-problem evaluation outputs so the score is independently verifiable.

Benchmarks

Benchmark Score Base Ξ” Verified
humaneval 61.0 62.2 -1.2 βœ… Result hash
humaneval_plus 53.0 53.7 -0.7 βœ… Result hash

What Changed (Base β†’ Forged)

Base Forged Delta
Pruning None 12% heads (activation-magnitude) -12% params βœ…
compensation-lora None rank=16 q_proj, k_proj, v_proj, o_proj...
Pipeline prune β†’ lora β†’ lora β†’ eval 1 cycles

Runs On

Device Format Size Speed
NVIDIA GeForce RTX 5090 fp16 β€” Verified
MacBook Pro 32GB fp16 8.0GB Expected
MacBook Air 16GB Q8_0 ~4.0GB Expected
MacBook Air 8GB Q4_K_M ~2.5GB Expected
iPhone / Android Q4_K_M ~2.5GB Expected

Quick Start

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("continuum-ai/v2-7b-coder-compensated",
    torch_dtype="auto", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("continuum-ai/v2-7b-coder-compensated")

inputs = tokenizer("def merge_sort(arr):", return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(output[0], skip_special_tokens=True))

Methodology

Produced via head pruning, LoRA fine-tuning, KL-distillation compensation against the unmodified teacher. Full methodology, ablations, and per-stage rationale are in the methodology paper and the companion MODEL_METHODOLOGY.md in this repository. The pipeline ran as prune β†’ lora β†’ lora β†’ eval over 1 cycle on NVIDIA GeForce RTX 5090.

Limitations

  • This model is currently a methodology demonstration rather than a Pareto-optimal artifact at any specific hardware tier. For production code workloads on smaller hardware, the unmodified Qwen2.5-Coder-7B at standard quantization (Q4_K_M / Q5_K_M / Q8_0) may be a better fit pending the larger Qwen3.5+ forges that exercise the pruning dimension where this methodology actually wins.
  • Validated on HumanEval / HumanEval+ for English-language Python code completion. Performance on other programming languages, code paradigms (functional, embedded, kernel), or code-adjacent domains (SQL, regex, shell) has not been measured.
  • Ships as fp16 only. GGUF quantization tiers (Q5_K_S / Q3_K_M / Q2_K) are not yet published for this artifact; the per-tier comparison from the development log showed base+quant dominates v2+quant at every VRAM tier on the same 7B base, which is why the methodology validation here uses fp16 and the production GGUF publishes are reserved for the Qwen3.5+ forges where the dimension flips.
  • Vision modality not yet wired in. The Continuum sensory architecture treats vision as first-class for personas, but this 7B coder artifact is text-only.

Chain of Custody

Scan the QR or verify online. Download the alloy file to verify independently.

What Proof
Forged on NVIDIA GeForce RTX 5090, ?
Published huggingface β€” 2026-04-08T05:02:57.072577+00:00
Trust level self-attested
Spec ForgeAlloy β€” Rust/Python/TypeScript

Make Your Own

Forged with Continuum β€” a distributed AI world that runs on your hardware.

Continuum Model Factory

The Factory configurator lets you design and forge custom models visually β€” context extension, pruning, LoRA, quantization, vision/audio modalities. Pick your target devices, the system figures out what fits.

GitHub Β· All Models Β· Forge-Alloy


More from continuum-ai

continuum-ai ships structurally compacted models for hardware tiers nobody else targets. Every artifact is calibration-aware, hardware-anchored, and shipped with ForgeAlloy cryptographic provenance β€” the per-problem benchmark JSONLs are uploaded with sha256 hashes recorded in the alloy so anyone can re-score against the same anchor without trusting the producer's claim.

Currently shipped

Model Base HumanEval (vs base) Tier What's new
qwen3-coder-30b-a3b-compacted-19b-256k Qwen3-Coder-30B-A3B-Instruct 88.4 (base 92.1, Ξ” βˆ’3.7) 12 GB Q4_K_M First 30B-class coder that fits a 12 GB consumer GPU. Calibration-aware MoE expert pruning (Β§4.1.3.4). 256K context.
qwen2.5-coder-7b-compacted Qwen2.5-Coder-7B 61.0 (base 62.2, Ξ” βˆ’1.2) 16 GB fp16 Methodology validation artifact for Β§4.1.3.3 β€” compensation LoRA closes the dense-head pruning gap to within Β±3pt of base.
olmoe-1b-7b-compacted-5b OLMoE-1B-7B-0924-Instruct (Allen AI, fully open) 36.0 (base 40.9, Ξ” βˆ’4.9) 4 GB Q5_K_M / phone tier Cross-architecture validation of Β§4.1.3.4 β€” same forge scripts ported Qwen3MoeForCausalLM β†’ OlmoeForCausalLM without modification. The +8.0 within-model swing between broad-corpus and code-corpus calibration is the second empirical anchor for the discipline gate.

Forge methodology in one paragraph

A prunable unit's importance MUST be derived from task-conditioned activation profiling on a held-out corpus that reflects the artifact's intended workload. Architectural-only metrics (router gate norms, weight norms, magnitudes) are first-pass shortcuts that systematically underperform task-specific activation metrics β€” empirically validated at two structurally distinct units (dense heads in Β§4.1.3.1, MoE experts in Β§4.1.3.4) with a +9.7 HumanEval swing on the same prune budget. Get the metric right AND the calibration corpus right; the artifact follows. Two discipline gates now derived from empirical failures, not asserted from first principles: Β§4.1.4.1 anchor-reproduction gate (the base anchor must reproduce within Β±3pt on the publishing pipeline before any calibrated delta is reported), and Β§4.1.3.4.1 calibration-corpus discipline gate (the calibration corpus used for importance profiling must be hash-pinned in the alloy AND must be a representative sample of the eval workload distribution β€” wrong-corpus and wrong-metric saturate at the same ~13 HumanEval damage ceiling, demonstrated empirically across two architectures). Full methodology in PLASTICITY-COMPACTION.md.

The empty-quadrant frontier

A live HuggingFace audit (April 2026) confirmed that the entire structurally-pruned-MoE quadrant is empty for every frontier model except Llama 3.3 70B. Quantization is everywhere; structural pruning is nowhere. The forge methodology validated on qwen3-coder-30b-a3b ports directly to every other MoE family. The forge queue below is the comprehensive map of empty quadrants we are claiming, one architecture at a time.

Forge queue β€” comprehensive new-architecture coverage

# Target Arch License Total/Active Tier post-prune Status
1 OLMoE-1B-7B (OlmoeForCausalLM) OlmoeForCausalLM Apache-2.0 7B/1.3B β†’ 5B/1.0B Phone / 4 GB Q5 βœ… SHIPPED as olmoe-1b-7b-compacted-5b. Second cross-arch validation of Β§4.1.3.4.
2 ibm-granite/granite-3.1-3b-a800m-instruct GraniteMoeForCausalLM Apache-2.0 3.3B/800M (40e/top-8) Edge tier Downloading now. IBM enterprise brand, ultra-rare tiny-MoE niche, zero pruned variants.
3 deepseek-ai/DeepSeek-V2-Lite-Chat DeepseekV2ForCausalLM DeepSeek (commercial OK) 15.7B/2.4B Single GPU Downloading now. The forgotten DeepSeek sibling β€” DeepSeek brand without 670 GB of VRAM.
4 microsoft/Phi-3.5-MoE-instruct PhiMoEForCausalLM MIT 42B/6.6B (16e/top-2) Single 5090 Q4 Queued. MIT-licensed Microsoft MoE that nobody runs because 42B is the awkward middle tier β€” until you prune to 12 experts.
5 mistralai/Mixtral-8x22B-Instruct-v0.1 MixtralForCausalLM Apache-2.0 141B/39B (8e/top-2) Single 5090 Q4 Queued. Two-year overdue Pareto win β€” the textbook MoE that nobody has ever calibration-pruned.
6 Qwen/Qwen3-235B-A22B-Instruct-2507 Qwen3MoeForCausalLM Apache-2.0 235B/22B (128e/top-8) Single 5090 Q4 Queued. Same family as our shipped 30B-A3B β†’ methodology ports trivially.
7 Qwen/Qwen3-Coder-480B-A35B-Instruct Qwen3MoeForCausalLM Apache-2.0 480B/35B (160e/top-8) Grid moonshot (4Γ—24GB) Queued. First consumer-accessible 480B coder.
8 deepseek-ai/DeepSeek-Coder-V2-Instruct DeepseekV2ForCausalLM DeepSeek 236B/21B Grid Queued. Direct methodology replay at higher tier.
9 Snowflake/snowflake-arctic-instruct ArcticForCausalLM Apache-2.0 480B/17B (128e/top-2) Grid Queued. The forgotten Apache frontier MoE β€” dense+sparse hybrid arch is a novel research contribution by itself.
10 deepseek-ai/DeepSeek-R1 DeepseekV3ForCausalLM MIT 671B/37B Grid moonshot Queued. The viral king. First non-distill R1 compaction.

8 distinct architecture classes covered across 5 hardware tiers (edge β†’ phone β†’ single GPU β†’ 5090 β†’ grid). When the queue completes, the calibration-aware-importance metric has been validated on Qwen3MoeForCausalLM, OlmoeForCausalLM, GraniteMoeForCausalLM, DeepseekV2ForCausalLM, PhiMoEForCausalLM, MixtralForCausalLM, ArcticForCausalLM, and DeepseekV3ForCausalLM β€” the cross-family invariance claim becomes empirical, not theoretical.

Hard prerequisites being built in parallel

  • LiveCodeBench v6 anchor extension for eval_with_calibration.py β€” HumanEval is no longer reported on frontier model cards (Qwen3-Coder, DeepSeek-V3.1, Mixtral 8x22B all use SWE-bench / LiveCodeBench / Aider-Polyglot). Without LCB v6 wired up, frontier targets are blocked at the Β§4.1.4.1 calibration discipline gate. ~1-2 days of mechanical pipeline work.
  • Offline teacher-logit precomputation for compensation_lora.py β€” at 30B+ class, transformers' caching_allocator_warmup pre-allocates an fp16 buffer equal to full model size before bnb 4-bit takes effect, exceeding total VRAM on a single 32 GB GPU. The architecturally correct fix is phase-1-load-teacher / phase-2-unload / phase-3-load-student-and-train-against-on-disk-logits. Prerequisite for compensation v2 of every artifact β‰₯30B.
  • Grid expert sharding for the 480B+ moonshots β€” cpu_expert_prune_v2.py's streaming pruner already handles shards bigger than any single GPU, but distributed inference + cross-machine activation profiling for the calibration-aware metric needs the grid layer. This is the Β§4.1.3.5 distributed forge methodology paper section.

Sensory bridge stack (separate from the LLM forge queue)

For Continuum's own sensory architecture (vision/audio/embedding bridges), the right targets are not forge candidates β€” they're curated bridge components used as-is:

Component Model Use
Vision encoder google/siglip-so400m-patch14-384 Image embeddings for the vision bridge
Vision describer microsoft/Phi-3.5-vision-instruct Small VLM that generates text descriptions consumed by text-only LLMs
STT openai/whisper-large-v3 Speech transcription for audio bridge
Multilingual embedding BAAI/bge-m3 Sensory cache embeddings
Avatar diffusion black-forest-labs/FLUX.1-schnell Apache-licensed avatar generation for Continuum universes

What we DON'T target

The Llama 3.3 70B slot is saturated (six publishers, every quant level). We're not shipping a third compacted MoE in the middle tier. The lab's brand pitch is models that no individual hardware tier can run, made runnable by structural compaction + grid distribution β€” empty-quadrant headlines, not catalog filler. That's the intersection only continuum has, and the forge queue above is the map.

License

apache-2.0