3 ms·
I'm not ML practitioner, so idk, but could we get generative tool that operates on higher syntatic level (e.g. AST) instead of interpreting code as just plain t
by zokier 3y ago
I'm not ML practitioner, so idk, but could we get generative tool that operates on higher syntatic level (e.g. AST) instead of interpreting code as just plain text? I feel it's so dumb that something like copilot generates code that is syntatically invalid, that feels like low bar for any code generation tool to pass?
- isaacfung 3y agoThese may be useful https://github.com/ggerganov/llama.cpp/blob/master/grammars https://github.com/ggerganov/llama.cpp/blob/master/grammars https://github.com/guidance-ai/guidance?tab=readme-ov-file#context-free-grammars https://github.com/guidance-ai/guidance?tab=readme-ov-file#c... https://github.com/eth-sri/lmql/issues/172 https://github.com/eth-sri/lmql/issues/172