Ankur Goyal pfp
Ankur Goyal
@ankrgyl
Is anyone thinking about the interaction of LLMs and compilers?
1 reply
0 recast
0 reaction

🪷 pfp
🪷
@pdr
What kinds of interactions are you thinking about? My understanding of LLMs is that they’re trained on mostly open-source text available on the internet. How much of what’s valuable about compilers is as readily available?
1 reply
0 recast
0 reaction

Ankur Goyal pfp
Ankur Goyal
@ankrgyl
Good question, for context I'm thinking about code generation specifically (e.g. natural language to SQL). I don't trust an LLM to learn about how to compile code to a language like SQL (b/c it's trained on human language) and wondering if there's a way a compiler could help.
1 reply
0 recast
0 reaction

Ankur Goyal pfp
Ankur Goyal
@ankrgyl
For example -- could you compile language to "regular English" that is unambiguous enough that a compiler could parse it and turn it into SQL. If so, could you reverse compile SQL to generate the data? Would it make a difference?
0 reply
0 recast
0 reaction