GitHub Copilot 似乎违反了开源许可证的规定
Copilot
![](/data/attachment/album/202210/23/100112lms67c7e8mow8sv6.jpg)



> 
> 自 Copilot 首次亮相以来，Butterick 就对该计划提出了批评。
> 
> 
> 


微软在 2018 年支付 75 亿美元收购了 GitHub，此后将这个代码仓库整合到其开发者工具中，同时在很大程度上采取了放手的态度。Matthew Butterick 是一名作家、律师，也是一名程序员，他认为微软基于机器学习的代码助手 GitHub Copilot 存在一些问题，它似乎不正确地对待开源代码许可证。


GitHub Copilot 是 Visual Studio 和其他 IDE 的一个插件，通过在你输入时提供代码完成的 “建议” 来运作。Codex 是该系统的动力源。然而，Butterick 等开发者认为 AI 在如何学习方面存在问题，或者更具体地说，AI 是从哪里训练的。


这里的问题是，GitHub 所训练的公开代码仓库是有许可证的，当他们的工作被利用时，需要按照许可证进行。虽然微软对其使用代码的问题一直避而不谈，称其为合理使用，但 Copilot 除了提供建议外，还能生成逐字逐句的代码部分。


根据 Codex（由微软授权）的开发者 OpenAI的说法，“Codex 是在数以千万计的公开代码仓库中训练出来的，包括 GitHub 上的代码。”微软自己也含糊地将训练材料描述为数十亿行的公共代码。




---


via: <https://www.opensourceforu.com/2022/10/github-copilot-appears-to-be-in-violation-of-the-open-source-licence/>


作者：[Laveesh Kocher](https://www.opensourceforu.com/author/laveesh-kocher/) 选题：[lkxed](https://github.com/lkxed) 译者：[wxy](https://github.com/wxy) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
*Since Copilot’s debut, Butterick has voiced criticism of the program.*

Microsoft paid $7.5 billion buying GitHub in 2018 and has since integrated the code repository into its developer tools while taking a largely hands-off stance. Matthew Butterick, a writer, attorney, and programmer, has some problems with GitHub Copilot, Microsoft’s machine-learning based code helper, and how it appears to be treating open source licences incorrectly.

GitHub Copilot, a plugin for Visual Studio and other IDEs, operates by providing “suggestions” for code completion as you type. Codex serves as the system’s power source. However, developers like Butterick are having trouble with how the AI is learned, or more specifically, from where it is trained.

The issue here is that the public repositories on which GitHub is trained are licenced and demand credit when their work is utilised. Although Microsoft has been evasive about its usage of the code, referring to it as fair use, Copilot is able to generate verbatim portions of code in addition to suggestions.

As per OpenAI, the developers of Codex (which is licensed by Microsoft), “Codex was trained on tens of millions of public repositories including code on GitHub. Microsoft itself has vaguely described the training material as billions of lines of public code”.