IBM CoFrNets: continued-fraction layers that shrink language models by 30-50%
IBM open-sourced CoFrNets, PyTorch layers inspired by continued fractions that can replace feed-forward or attention layers in language models.
Why it matters
Reported competitive or better performance with 30-50% fewer parameters in gated experiments, with a drop-in module and nanoGPT/GPT-2 examples.
What you could build with it
A research team training small domain models could swap feed-forward blocks for CoFrNet layers and measure whether accuracy holds at a smaller parameter budget, producing a cheaper model to serve.
Does it hold up?
Usable today for architecture experiments: the package and examples run now, but independent large-scale replication is still thin.
Built with IBM CoFrNets
- IBM Open-Sources CoFrNets for Parameter-Efficient AI Modelsarticle · Explains the continuant rewrite, Apache 2.0 package and current gradient-test limits.
- IBM open-sources CoFrNets to test smaller language-model layersarticle · Walks through the PyTorch module and nanoGPT comparison examples.
- Non-Expanding Gated Continued Fraction Architecturearticle · The NeurIPS 2026 paper behind the gated variant and log-exp division rewrite.
- IBM/CoFrNetsgithub · 15 ★ · Official PyTorch implementation with tabular, univariate and language-model examples.
Learn more
First spotted on github: source.
More AI models
MiniMind: train your own 64M LLM from scratch in about 2 hoursA complete, from-scratch LLM training pipeline at 64M parameters - pretraining, SFT, LoRA, DPO, PPO/GRPO, tool use and…models · JEV 0.82Chronos-3: forecasts steered by plain-language contextAmazon's time series foundation model in five sizes (25M to 1.5B) forecasts zero-shot and can be steered with…models · JEV 0.78VoiceStudio: the open-source, fully-local ElevenLabs alternativeA desktop app bundling 20 local speech-generation engines and 10 transcription options behind one UI — voice cloning…models · JEV 0.76PaddleOCR-VL-1.8: open 0.9B document parser for photographed pagesBaidu's two-stage document parser pairs a new quadrilateral layout model with a 0.9B recognition model, scoring 97.44…models · JEV 0.76DeepSeekMath-V2: an open 685B theorem prover that verifies its own proofsDeepSeek open-sourced a 685B MoE theorem-proving model trained with a self-verification loop, reporting gold-level IMO…models · JEV 0.75Edge0-145B: open 145B MoE that runs on a single consumer GPUEdge0 open-sourced 145B and 120B latent-MoE models derived from Qwen3.8-Flash-Next, plus an inference framework that…models · JEV 0.74
Get the week's best AI launches, plus 3 ideas worth building
One email every Saturday. Ranked by traction, not hype. Free.