跳到主要内容

许可证

你可以在 Hugging Face Hub 上为任何仓库添加许可证,以告知其他用户你希望赋予其代码或数据的使用权限。许可证在仓库的 README.md(在 Hub 上称为 card)的元数据部分指定。请在使用他人代码或数据时,务必查阅并遵守对方的许可条款。

完整的可用许可证列表如下:

许可证名称许可证标识符(用于仓库卡片)
Apache license 2.0apache-2.0
MITmit
OpenRAIL license familyopenrail
BigScience OpenRAIL-Mbigscience-openrail-m
CreativeML OpenRAIL-Mcreativeml-openrail-m
BigScience BLOOM RAIL 1.0bigscience-bloom-rail-1.0
BigCode Open RAIL-M v1bigcode-openrail-m
Academic Free License v3.0afl-3.0
Artistic license 2.0artistic-2.0
Boost Software License 1.0bsl-1.0
BSD license familybsd
BSD 2-clause "Simplified" licensebsd-2-clause
BSD 3-clause "New" or "Revised" licensebsd-3-clause
BSD 3-clause Clear licensebsd-3-clause-clear
Computational Use of Data Agreementc-uda
Creative Commons license familycc
Creative Commons Zero v1.0 Universalcc0-1.0
Creative Commons Attribution 2.0cc-by-2.0
Creative Commons Attribution 2.5cc-by-2.5
Creative Commons Attribution 3.0cc-by-3.0
Creative Commons Attribution 4.0cc-by-4.0
Creative Commons Attribution Share Alike 3.0cc-by-sa-3.0
Creative Commons Attribution Share Alike 4.0cc-by-sa-4.0
Creative Commons Attribution Non Commercial 2.0cc-by-nc-2.0
Creative Commons Attribution Non Commercial 3.0cc-by-nc-3.0
Creative Commons Attribution Non Commercial 4.0cc-by-nc-4.0
Creative Commons Attribution No Derivatives 4.0cc-by-nd-4.0
Creative Commons Attribution Non Commercial No Derivatives 3.0cc-by-nc-nd-3.0
Creative Commons Attribution Non Commercial No Derivatives 4.0cc-by-nc-nd-4.0
Creative Commons Attribution Non Commercial Share Alike 2.0cc-by-nc-sa-2.0
Creative Commons Attribution Non Commercial Share Alike 3.0cc-by-nc-sa-3.0
Creative Commons Attribution Non Commercial Share Alike 4.0cc-by-nc-sa-4.0
Community Data License Agreement – Sharing, Version 1.0cdla-sharing-1.0
Community Data License Agreement – Permissive, Version 1.0cdla-permissive-1.0
Community Data License Agreement – Permissive, Version 2.0cdla-permissive-2.0
Do What The F*ck You Want To Public Licensewtfpl
Educational Community License v2.0ecl-2.0
Eclipse Public License 1.0epl-1.0
Eclipse Public License 2.0epl-2.0
Etalab Open License 2.0etalab-2.0
European Union Public License 1.1eupl-1.1
European Union Public License 1.2eupl-1.2
GNU Affero General Public License v3.0agpl-3.0
GNU Free Documentation License familygfdl
GNU General Public License familygpl
GNU General Public License v2.0gpl-2.0
GNU General Public License v3.0gpl-3.0
GNU Lesser General Public License familylgpl
GNU Lesser General Public License v2.1lgpl-2.1
GNU Lesser General Public License v3.0lgpl-3.0
ISCisc
H Research Licenseh-research
Intel Research Use License Agreementintel-research
LaTeX Project Public License v1.3clppl-1.3c
Microsoft Public Licensems-pl
Apple Sample Code licenseapple-ascl
Apple Model License for Researchapple-amlr
Mozilla Public License 2.0mpl-2.0
Open Data Commons License Attribution familyodc-by
Open Database License familyodbl
Open Model, Data & Weights License Agreementopenmdw-1.0
Open Rail++-M Licenseopenrail++
Open Software License 3.0osl-3.0
PostgreSQL Licensepostgresql
SIL Open Font License 1.1ofl-1.1
University of Illinois/NCSA Open Source Licensencsa
The Unlicenseunlicense
zLib Licensezlib
Open Data Commons Public Domain Dedication and Licensepddl
Lesser General Public License For Linguistic Resourceslgpl-lr
DeepFloyd IF Research License Agreementdeepfloyd-if-license
FAIR Noncommercial Research Licensefair-noncommercial-research-license
Llama 2 Community License Agreementllama2
Llama 3 Community License Agreementllama3
Llama 3.1 Community License Agreementllama3.1
Llama 3.2 Community License Agreementllama3.2
Llama 3.3 Community License Agreementllama3.3
Llama 4 Community License Agreementllama4
Grok 2 Community License Agreementgrok2-community
Gemma Terms of Usegemma
Unknownunknown
Otherother

若使用 license: other,请将许可证文本添加到仓库的 LICENSE 文件中(或联系我们,将你使用的许可证加入列表),并在 license_name 中填入其名称。