Skip to content

add huggingface id to .LICENSE yaml frontmatter #4954

@armijnhemel

Description

@armijnhemel

Short Description

Huggingface uses different descriptions than in SPDX or other places. Adding a huggingface id to the .LICENSE yaml frontmatter might make referencing things easier.

Possible Labels

  • new feature

Select Category

  • Enhancement
  • Add License/Copyright
  • Scan Feature
  • Packaging
  • Documentation
  • Expand Support
  • Other

Describe the Update

Inspired by #4900 : huggingface calls this "apple-sample-code-license" (as seen when browsing the HuggingFace website for the project linked in #4900 ). This isn't the same name as used in SPDX or the ScanCode licensedb.

Just as there already is spdx_license_key it might make sense to add something like huggingface_license_key.

How This Feature will help you/your organization

I think that the onslaught of licenses coming from huggingface in the near future will make this a useful feature.

Possible Solution/Implementation Details

A good first start would be to add data from this list:

https://huggingface.co/docs/hub/repositories-licenses

Example/Links if Any

Can you help with this Feature

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions