CWM (Code World Model) is a 32-billion-parameter open-weights language model developed by Meta for enhancing code generation and reasoning about programs. It is explicitly trained on execution traces, action-observation trajectories, and agentic interactions in controlled environments, in order to better capture how code, actions, and state interact over time. The repository provides inference code, reproducibility scripts, prompt guides, model cards, utilities, demos, and evaluation artifacts.

Features

  • Pretrained and fine-tuned model weights (base, SFT, instruction-tuned)
  • Inference scripts and utilities for code generation tasks
  • Prompting guide and example prompt templates
  • Demos, serving code, and evaluation pipelines
  • Evaluation benchmarks on code, mathematics, and reasoning tasks
  • Reproducibility / environment setup scripts (conda, etc.)

Project Samples

Project Activity

See All Activity >

Categories

AI Models

License

BSD License

Follow Code World Model (CWM)

Code World Model (CWM) Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Code World Model (CWM)!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Models

Registered

3 days ago