CWM (Code World Model) is a 32-billion-parameter open-weights language model. It is 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. It has been developed to better capture how code, actions, and state interact over time. The repository provides inference code, reproducibility scripts, prompt guides, and more. It has model cards, utilities, demos, and evaluation artifacts. Inference scripts and utilities for code generation tasks. Evaluation benchmarks on code, mathematics, and reasoning tasks. Demos, serving code, and evaluation pipelines.

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 >

License

BSD License

Follow Code World Model (CWM)

Code World Model (CWM) Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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 Large Language Models (LLM), Python AI Coding Tool, Python AI Models

Registered

2025-09-26