| ▲ | badsectoracula 3 hours ago | |||||||||||||||||||||||||
The information about finetuning is interesting (it is something i'd like to do myself at some point, though i'll wait until i can do it with local hardware :-P). However FWIW LLMs are generally good at following a specific style when given examples. As an example i asked Devstral Small 2 to write some docs for my LIL scripting language in the following style (this is copied from the DirectDraw documentation, edited to be text friendly):
And it did a fine job. I put the full transcript in[0] to check out. The neat bit is that it can even handle weird formats like a custom documentation format i have (which only exists in my PC because i haven't released it anywhere) for a "master document" that can then be converted to various other file types. I gave it an example of some code in that and asked it to convert the documentation to it (this is part of the transcript at the end). Then i copy/pasted the generated code to a new file (adding a few extra lines the doc system expects which weren't part of the example - BTW i did not had to modify the generated code at all) and from that i generated a CHM file[1]. FWIW here is a comparison with the DirectX page i copied[2] (though consider that the generated pages went through the doc format which forces its own style and the textual output in the transcript matches the given style better).[0] https://app.filen.io/#/d/9f4c1225-3527-4f16-a522-0678342120c... [1] http://runtimeterror.com/pages/iv/images/45f8df428afe4fe6b6a... [2] http://runtimeterror.com/pages/iv/images/ee58032790a049d7e74... | ||||||||||||||||||||||||||
| ▲ | theletterf 3 hours ago | parent [-] | |||||||||||||||||||||||||
Interesting! I think the advantage of style fine-tuning is that you might not have to provides that much context upfront. Also, it's kind of magical to have an LLM just do something out of the box. I'll compare my local fine-tuned models against the baseline with instructions and see how they fare. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||