aifollow.news
返回 Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · 原发布时间 AI 评分54

微软论文介绍 GitHub Copilot 统一代码编辑模型

AI 导读

论文介绍一种以差异补丁生成代码建议的模型,将代码补全、附近编辑和远处编辑合并处理。所引介绍称,在对比原有三模型方案的在线 A/B 测试中,首版统一模型使建议显示时间缩短 6.77%、输出 token 减少 58.93%;最终模型单独使用时,被忽略的建议增加 12.24%,配合客户端改动后则下降 10.06%。

原帖引用 · 原文

@rohanpaul_ai

– https://arxiv.org/abs/2611.33314

Title: "Building a Unified Inline Code Editing Model for GitHub Copilot"

回复Rohan Paul@rohanpaul_ai
New Microsoft paper shows that a single model can handle code completion, nearby edits, and far-away edits in Copilot by writing every suggestion as a diff patch. And cuts output tokens by 58.93% with no measurable quality loss. Copilot used to call separate models for completing code, editing nearby lines, and editing far away, in a fixed order. That cost several model calls per suggestion. They trained 1 model that outputs a list of diff patches, each saying where to edit and what to change. Several edits fit in 1 response, so later ones come from a cache. In live A/B tests against the 3-model setup, the 1st merged model cut time to display by 6.77% and output tokens by 58.93%. The final 3-in-1 model alone raised dismissed suggestions by 12.24%, but client changes turned that into a 10.06% drop.
在 X 查看这条帖子 ↗

来源:Rohan Paul · x.com

论文
发现内容有误?提交纠错