Re:Risk Assessment of GitHub Copilot
by randallsquared on Monday July 12, 2021 @06:01PM
(#27815616)
I'm not sure I understand how you envision this working, given the underlying technology. You'd have to have a pretty large cache of such analyses to train on, right?
[ Parent
| on HN ]
Re:Risk Assessment of GitHub Copilot
by qbasic_forever on Monday July 12, 2021 @06:41PM
(#27815955)
Github has a huge amount of source code and likely for copilot they already had to transform it into an AST to look at comments and nearby code. This would use the same dataset but build the opposite model--input a block of code AST and get a guess as to what the description (i.e. comment) should be for it.
Re:Risk Assessment of GitHub Copilot
by randallsquared on Monday July 12, 2021 @09:07PM
(#27816779)
My naive assumption is that they don't have nearly that level of control. I'd be surprised if they have an AST step before the tokenizer, or in it.