Brenner
@brenner.eth
Is it just me or are all the major LLMs bad at Solidity? Is there a finetuned model that's better at it?
4 replies
3 recasts
18 reactions
Leeward Bound
@leewardbound
seems like relatively low hanging fruit, since with solidity, an unusually high % of production projects are open source, audits are published, bugs are publicly documented, etc, compared to other languages. collect all that as source material and use it to generate examples for gpt pretraining. such a prertrained model would likely be a huge asset for the whole solidity community
1 reply
0 recast
2 reactions
Brenner
@brenner.eth
https://huggingface.co/AlfredPros/CodeLlama-7b-Instruct-Solidity There'a handful like this that exist but I'm not sure if anyone is hosting it publicly behind an API key cc @openrouterai @alexatallah maybe has thoughts on a hosting provider / if they've thought about hosting niche models if there's enough demand
1 reply
0 recast
1 reaction
Leeward Bound
@leewardbound
have you tried this? curious how it performs writing solidity! does it know enough to avoid reentrancy bugs and other common pitfalls? does it know about famous hacks and how to prevent dark patterns?
0 reply
0 recast
0 reaction