Ask HN: How are you getting reliable code-gen performance out of LLMs?

https://news.ycombinator.com/item?id=41739835
by _false • 2 years ago
2 1 2 years ago

I'm particularly interested in people using LLM APIs, where code is consumed programmatically.

I've been using LLMs a lot lately to generate code, and code quality is a mixed bag. Sometimes it will run straight out of the box or with a few manual tweaks, and others it just straight up won't compile. Keen to hear what workarounds others have used to solve this (e.g. re-prompting, constraining generations, etc).

Related Stories

Loading related stories...

Source preview

news.ycombinator.com