#227 · Primary category: MLOps & Evaluation

godot-dodo

ai finetuning gdscript godot llama

Finetuning large language models for GDScript generation.

Project last updated:05/26/23

GitHub Stars

575

Forks

27

Contributors

1

License

MIT

Why we included this project

Most finetuning recipes lean on a large model to write the training data, but godot-dodo does the opposite: it pulls human-written GDScript from MIT-licensed GitHub repositories, splits it into individual functions, and uses a language model only to label each snippet with a comment, producing comment:code pairs in the style of CodeSearchNet. The repo bundles the dataset assembly scripts, a pre-built 60k-row dataset, finetuning commands for LLaMA 7B and 13B, links to the resulting model weights, and a performance report. The report is the interesting part: the finetuned models are significantly more consistent than gpt-4 and gpt-3.5-turbo at generating valid GDScript syntax, though they tend to assume objects exist that the instruction never defined. Anyone building code generation for Godot, or anyone who wants a worked example of language-specific finetuning, can reuse the whole pipeline as-is.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category