Skip to main content

Debug code generation models

Project description

CodeGaze [Beta]: A library for evaluating and debugging code generation models

Still in development.

Code gaze implements a set of evaluation metrics and visualization tools for debugging code generation models.

CodeGaze is build around a set of abstractions that allow for the evaluation of code generation models.

  • Dataset: An example code generation dataset e.g. humaneval.
  • Experiment: A set of parameters that define the evaluation of a code generation model. Each experiment specifies things like the dataset, model properties (temperature, n_completions), and some metric properties.
  • Model: A code generation model that can be evaluated. This is either an OpenAI model or a HuggingFace model.

The basic starting point is to run an experiment on a dataset with a list of models.

Installation

pip install codegaze

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codegaze-0.0.23a0.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

codegaze-0.0.23a0-py3-none-any.whl (814.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page