• bitcoinBitcoin(BTC)$80,841.001.11%
  • Midas Fasanara Global EuroMidas Fasanara Global Euro(MGLOEURO)$111,813.00-0.36%
  • ethereumEthereum(ETH)$2,351.641.37%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$744.250.19%
  • rippleXRP(XRP)$1.342.84%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$101.561.08%
  • tronTRON(TRX)$0.3310240.51%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.61%
  • zcashZcash(ZEC)$1,309.226.34%
  • HyperliquidHyperliquid(HYPE)$81.854.73%
  • dogecoinDogecoin(DOGE)$0.0791451.88%
  • moneroMonero(XMR)$601.17-0.97%
  • USDSUSDS(USDS)$1.00-0.01%
  • whitebitWhiteBIT Coin(WBT)$77.621.04%
  • chainlinkChainlink(LINK)$11.642.82%
  • leo-tokenLEO Token(LEO)$9.383.82%
  • cardanoCardano(ADA)$0.2067460.89%
  • nearNEAR Protocol(NEAR)$4.725.56%
  • stellarStellar(XLM)$0.1721501.90%
  • bitcoin-cashBitcoin Cash(BCH)$293.914.14%
  • RainRain(RAIN)$0.007192-0.17%
  • Ethena USDeEthena USDe(USDE)$1.000.03%
  • daiDai(DAI)$1.000.00%
  • litecoinLitecoin(LTC)$57.371.46%
  • uniswapUniswap(UNI)$7.120.13%
  • avalanche-2Avalanche(AVAX)$9.011.31%
  • CantonCanton(CC)$0.1000111.32%
  • USD1USD1(USD1)$1.000.01%
  • suiSui(SUI)$0.942.58%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.232.58%
  • hedera-hashgraphHedera(HBAR)$0.076469-0.51%
  • tether-goldTether Gold(XAUT)$4,038.580.78%
  • Global DollarGlobal Dollar(USDG)$1.00-0.02%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • BittensorBittensor(TAO)$257.543.12%
  • shiba-inuShiba Inu(SHIB)$0.0000051.57%
  • quant-networkQuant(QNT)$199.06-1.52%
  • EthenaEthena(ENA)$0.2088490.29%
  • crypto-com-chainCronos(CRO)$0.0540101.62%
  • Ripple USDRipple USD(RLUSD)$1.00-0.04%
  • BitwayBitway(BTW)$1.7345.16%
  • MemeCoreMemeCore(M)$1.0713.46%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.11%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • okbOKB(OKB)$109.930.85%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$134.820.26%
  • pepePepe(PEPE)$0.00000513.66%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Meta FAIR Released Code World Model (CWM): A 32-Billion-Parameter Open-Weights LLM, to Advance Research on Code Generation with World Models

September 25, 2025
in AI & Technology
Reading Time: 9 mins read
A A
Meta FAIR Released Code World Model (CWM): A 32-Billion-Parameter Open-Weights LLM, to Advance Research on Code Generation with World Models
ShareShareShareShareShare

Meta FAIR released Code World Model (CWM), a 32-billion-parameter dense decoder-only LLM that injects world modeling into code generation by training on execution traces and long-horizon agent–environment interactions—not just static source text.

What’s new: learning code by predicting execution?

CWM mid-trains on two large families of observation–action trajectories: (1) Python interpreter traces that record local variable states after each executed line, and (2) agentic interactions inside Dockerized repositories that capture edits, shell commands, and test feedback. This grounding is intended to teach semantics (how state evolves) rather than only syntax.

YOU MAY ALSO LIKE

OneQode Secures 14 MW of Chennai AI Capacity in AdaniConneX Agreement – Unite.AI

Discord Public Server Messages May Be Soon Searchable On Google, But You Can Opt Out

To scale collection, the research team built executable repository images from thousands of GitHub projects and foraged multi-step trajectories via a software-engineering agent (“ForagerAgent”). The release reports ~3M trajectories across ~10k images and 3.15k repos, with mutate-fix and issue-fix variants.

https://ai.meta.com/research/publications/cwm-an-open-weights-llm-for-research-on-code-generation-with-world-models/

Model and context window

CWM is a dense, decoder-only Transformer (no MoE) with 64 layers, GQA (48Q/8KV), SwiGLU, RMSNorm, and Scaled RoPE. Attention alternates local 8k and global 131k sliding-window blocks, enabling 131k tokens effective context; training uses document-causal masking.

Training recipe (pre → mid → post)

  • General pretraining: 8T tokens (code-heavy) at 8k context.
  • Mid-training: +5T tokens, long-context (131k) with Python execution traces, ForagerAgent data, PR-derived diffs, IR/compilers, Triton kernels, and Lean math.
  • Post-training: 100B-token SFT for instruction + reasoning, then multi-task RL (~172B-token) across verifiable coding, math, and multi-turn SWE environments using a GRPO-style algorithm and a minimal toolset (bash/edit/create/submit).
  • Quantized inference fits on a single 80 GB H100.

Benchmarks

The research team cites the following pass@1 / scores (test-time scaling noted where applicable):

  • SWE-bench Verified: 65.8% (with test-time scaling).
  • LiveCodeBench-v5: 68.6%; LCB-v6: 63.5%.
  • Math-500: 96.6%; AIME-24: 76.0%; AIME-25: 68.2%.
  • CruxEval-Output: 94.3%.

The research team position CWM as competitive with similarly sized open-weights baselines and even with larger or closed models on SWE-bench Verified.

For context on SWE-bench Verified’s task design and metrics, see the official benchmark resources.

https://ai.meta.com/research/publications/cwm-an-open-weights-llm-for-research-on-code-generation-with-world-models/

Why world modeling matters for code?

The release emphasizes two operational capabilities:

  1. Execution-trace prediction: given a function and a trace start, CWM predicts stack frames (locals) and the executed line at each step via a structured format—usable as a “neural debugger” for grounded reasoning without live execution.
  2. Agentic coding: multi-turn reasoning with tool use against real repos, verified by hidden tests and patch similarity rewards; the setup trains the model to localize faults and generate end-to-end patches (git diff) rather than snippets.

Some details worth noting

  • Tokenizer: Llama-3 family with reserved control tokens; reserved IDs are used to demarcate trace and reasoning segments during SFT.
  • Attention layout: the 3:1 local:global interleave is repeated across the depth; long-context training occurs at large token batch sizes to stabilize gradients.
  • Compute scaling: learning-rate/batch size schedules are derived from internal scaling-law sweeps tailored for long-context overheads.

Summary

CWM is a pragmatic step toward grounded code generation: Meta ties a 32B dense transformer to execution-trace learning and agentic, test-verified patching, releases intermediate/post-trained checkpoints, and gates usage under the FAIR Non-Commercial Research License—making it a useful platform for reproducible ablations on long-context, execution-aware coding without conflating research with production deployment.


Check out the Paper, GitHub Page, and Model on Hugging Face. Feel free to check out our GitHub Page for Tutorials, Codes and Notebooks. Also, feel free to follow us on Twitter and don’t forget to join our 100k+ ML SubReddit and Subscribe to our Newsletter.


Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

🔥[Recommended Read] NVIDIA AI Open-Sources ViPE (Video Pose Engine): A Powerful and Versatile 3D Video Annotation Tool for Spatial AI

Credit: Source link

ShareTweetSendSharePin

Related Posts

OneQode Secures 14 MW of Chennai AI Capacity in AdaniConneX Agreement – Unite.AI
AI & Technology

OneQode Secures 14 MW of Chennai AI Capacity in AdaniConneX Agreement – Unite.AI

October 28, 2026
Discord Public Server Messages May Be Soon Searchable On Google, But You Can Opt Out
AI & Technology

Discord Public Server Messages May Be Soon Searchable On Google, But You Can Opt Out

October 27, 2026
How To Change And Customize Your Android Auto Display
AI & Technology

How To Change And Customize Your Android Auto Display

October 27, 2026
GSA Expands Anthropic OneGov Agreement with 40% Claude Discount – Unite.AI
AI & Technology

GSA Expands Anthropic OneGov Agreement with 40% Claude Discount – Unite.AI

October 27, 2026
Next Post
Rescuers help boy jump from window of burning home

Rescuers help boy jump from window of burning home

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
NBC Nightly News with Tom Llamas Full Episode – Oct. 12

NBC Nightly News with Tom Llamas Full Episode – Oct. 12

October 27, 2026
Injured Ukrainian soldier rescued with a drone

Injured Ukrainian soldier rescued with a drone

October 22, 2026
Wall Street is urging Anthropic, OpenAI to do their IPOs in a hurry — here’s why

Wall Street is urging Anthropic, OpenAI to do their IPOs in a hurry — here’s why

October 23, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!