3 ms·
That's interesting, I've seen a few papers about this. I'm personally curious about editing syntax trees using language models, since it would prevent syntax er
by kevinlu1248 3y ago
That's interesting, I've seen a few papers about this. I'm personally curious about editing syntax trees using language models, since it would prevent syntax errors altogether.
- vladf 3y agoWhich papers?
- kevinlu1248 3y agoHere's some of the papers: https://arxiv.org/abs/1911.09983 https://arxiv.org/abs/1911.09983 and https://aclanthology.org/2021.findings-acl.384.pdf https://aclanthology.org/2021.findings-acl.384.pdf
- madeofpalk 3y agoIn my limited use, I've never seen these models (chatgpt, and github copilot) generate invalid syntax. I don't see much to improve there I do see them generate code that fails the type checker though.
- kevinlu1248 3y agoFor editing code there's a decent chance of syntax errors or undefined variables since it's only modifying a subset of the code.