This repository presents finetuned LLaMA models that try to address the limited ability of existing language models when it comes to generating code for less popular programming languages. gpt-3.5-turbo and gpt-4 have proven to be excellent coders, but fall off sharply when asked to generate code for languages other than Python/Javascript etc. The godot-dodo approach to address this: Finetune smaller models on a sing…
I'm not sure what MIT licensed code is supposed to do for you. Are you going to cite every repository ingested?
Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
11–20 of 29 posts
Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#12Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#13In the future could we see a models fine-tuned for specializing in every language? Or would a general model outperform?
Thats hard to say.
Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#14Thanks for sharing. Why is the training dataset that contains instructions and output wrapped by another enclosing prompt ( https://github.com/minosvasilias/godot-dodo/blob/f62b90a4622... ) Why does this even work when during inference this wrapping prompt is absent? Wouldnt the model then work best against a inference prompt that follows the wrapping prompt structure, however the desired outcome is to have a model t…
Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#15Thanks for sharing. Why is the training dataset that contains instructions and output wrapped by another enclosing prompt ( https://github.com/minosvasilias/godot-dodo/blob/f62b90a4622... ) Why does this even work when during inference this wrapping prompt is absent? Wouldnt the model then work best against a inference prompt that follows the wrapping prompt structure, however the desired outcome is to have a model t…
The wrapping prompt is also used during inference. ( https://github.com/minosvasilias/godot-dodo/blob/f62b90a4622... ) Prompting like this is useful for instruct-finetunes, and similar prompts are used by other projects like stanford-alpaca.
Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#16The performance report doesn't describe the loss approached by each of these fine tunings, but I wonder if the number of tokens in the instruction dataset was just not nearly long enough to produce high quality output. I can't think of any other reason the 13B parameter model would perform worse than the 7B model. Would love to see a deep dive into the fine tuning and more details - by epoch if possible - on the outp…
Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#17On this page: https://github.com/minosvasilias/godot-dodo/tree/main/models It seems that some of the GPT syntax errors appear to be because the models were trained for Godot 3, but the tests were conducted against Godot 4, hence the error messages like "KinematicBody2D does not exist in 4.x (should be CharacterBody2D)".
However, it is not quite as clear cut as OpenAI's models simply being trained on Godot 3.x projects only. Not only do they sometimes produce valid 4.x syntax (gpt-4 more often than 3.5-turbo), indicating there were at least some 4.x projects in the training data, they also hallucinate other invalid syntax, such as Python-specific functionality, or simply non-existent methods.
I do think evaluating against Godot 3.x would increase their scores somewhat, but i have not had time to do so yet.
Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#18Edit: just easier to code the training data generation, I imagine.
Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#19$300k of hardware! Guess it answers my previous comment from Hetzner server https://news.ycombinator.com/item?id=35662925
Re: Godot-dodo – Finetuning LLaMA on single-language comment:code data pairs
#20> For finetuning godot_dodo_4x_60k_llama_13b, eight A100 80GB GPUs were used. $300k of hardware! Guess it answers my previous comment from Hetzner server https://news.ycombinator.com/item?id=35662925