Codegen

no
Summary: Learn how to use codegen with W&B Weave

Original Documentation

Documentation Index#

Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt Use this file to discover all available pages before exploring further.

Learn how to use codegen with W&B Weave

This is an interactive notebook. You can run it locally or use the links below:

#

Code Generation using Weave and OpenAI#

Generating high-quality code with proper structure, documentation, and tests is a challenging task. This guide demonstrates how to implement a code generation pipeline. You’ll learn to create a code generation pipeline that produces high-quality Python functions against the humaneval test suite.

We’ll use Weave for evaluation comparison and tracking, and OpenAI’s GPT models for code generation using structured outputs.

Evaluation

Video Demonstration#

For a visual demonstration of the code generation pipeline using Weave, Groq, and E2B check out this video: