An answer is right when the tool says it is.
We do not grade code by how plausible it looks. Every task has checks that run the real tool, and a result is published only together with the run that produced it.
The method, on Terraform
Terraform on AWS is the first area we fine-tune for, so it is the first one measured. The task set has 46 requests for Terraform on AWS in five categories: compute, identity, language features, network and storage. Each one comes with a reference solution and with checks written against the plan.
Before any model is measured, the set checks itself: all 46 reference solutions must pass their own checks. They do.
Code found
The answer contains Terraform that can be extracted.
Validates
terraform validate accepts it: the resource types, arguments and blocks exist.
Plans
terraform plan succeeds against the provider.
Meets the checks
The plan contains what was asked for, written the way the current provider version expects.
No result is published for the current model yet.
onyx-medium as it stands today has not been measured on these tasks. When it is, the table per category goes here, with the date and the conditions of the run.
60 tasks in Python, Go and TypeScript, checked by running them.
The second task set has 20 tasks in each of the three languages. The model completes a function, the completion is joined to a test, and the program is run in a sandbox: it passes or it does not.
The set checks itself in the same way: all 60 reference solutions pass.
The Terraform set says nothing about coding in general. A model for any language needs a wider set than these 60 tasks, across more languages; that set is not built yet.
- Tasks
- 60: Python 20, Go 20, TypeScript 20
- Reference solutions
- 60 of 60 pass
onyx-medium- not measured yet
onyx-large- planned; does not run yet
71,455 examples, each tied to something Terraform confirmed.
The fine-tune for Terraform on AWS is built from three kinds of example: 71,455 for training and 732 held out for validation. Training on them is in progress.
Request and configuration
Terraform written by people, paired with a request. A pair is kept only if Terraform accepts the configuration: 52,417 of 52,735 passed, 318 were rejected. All come from permissively licensed sources.
Working with tools
Conversations in which files are read, edited and validated, built from 1,506 configurations that validate. Every tool result in them is the real output of the tool, not an imitation.
Provider knowledge
Questions and answers about 2,430 resource types, with the facts taken from the provider's own schema. 4,540 of them teach the model to say that an argument does not exist, each confirmed by terraform validate.
Every source is recorded with its address, licence, revision and date. Sources without a licence, or with one that forbids this use, are excluded.
The plan, in the order we will do it.
The first result we publish here will be onyx-medium on the 46 Terraform tasks, in a table per category.
Task set
46 tasks checked by Terraform; all 46 reference solutions pass their own checks.
Training data
Three verified sets built; trainer, merge and quantisation tried end to end.
Fine-tune onyx-medium
Training is under way. When a run finishes, it is measured on the 46 tasks.
Baseline on general-purpose languages
Run onyx-medium on the 60 tasks in Python, Go and TypeScript and publish the result here.
Wider task sets
More Terraform tasks per category, so that small differences become meaningful, and a general set across more programming languages.
Fine-tune onyx-large
The 32.5 billion parameter model, on graphics processors in AWS, in several runs. Each run is measured by execution and published here.