Skip to content

ashutosh-iot/furunkel__codex_grid_eval

 
 

Repository files navigation

Codex Grid Eval

Installation

  1. Install required Python packages:

    pip install openai tree_sitter tqdm fire
    
  2. Install the Python TreeSitter module

    git clone https://github.com/tree-sitter/tree-sitter-python.git vendor/tree-sitter-python/
    

Usage

To evaluate a specific problem run:

OPENAI_API_KEY=sk-<your API key here> python run.py eval <problem_name>

To run tests for a specific problem (after evaluation) run:

python run.py test <problem_name> outputs/

Results will be written to the reports directory

Huggingface Transformer Models

Apart from Codex, you can also use checkpoints from the Huggingface models hub. Currently there is support for InCoder and CodeParrot. Install the transformers package and use --model={incoder, codeparrot}.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%