商业产业 Hacker News LLM 2026-09-09T16:07 正文 ok 71 words

Ask HN:有哪些软件许可证可阻止 LLM 使用开源代码训练?

英文标题:🔶 Ask HN: Software Licenses that prevent LLMs from training on open source?

一名开发者计划发布开源软件库,并希望了解是否存在能够阻止 LLM 将其代码纳入训练数据的许可证。其进一步询问,是否有 AI 实验室公开承诺不会摄取采用特定许可证的软件代码。提问者也承认,这类限制几乎无法被外部发现或验证,模型公司即使声称不使用,也可能实际已经摄取相关代码。该讨论反映出开源许可证在 AI 训练数据治理、合规验证和执行力方面面临的现实难题。
打开原文相关 3 · 机会 2
media315 B media43 B

中文

我计划很快发布一个开源软件库,想知道:是否有任何许可证能够阻止 LLM 将其摄取为训练数据?是否有任何实验室表示,它们不会摄取使用特定许可证的软件代码?

我意识到,这类事情几乎不可能被发现,而且它们总是可以声称自己没有这么做,但最终仍然可能将代码摄取进去。

English / 原文

I'm planning to release an open source software library soon and was wondering - are there any licenses that would prevent LLMs from ingesting it into their training? Do any of the labs say that they don't ingest software code that uses certain licenses?

I realize this would be something that would be nearly impossible to discover and they could always say that they don't but they end up ingesting anyway.