Skip to content

Conversation

@egrace479
Copy link
Member

This update to Hugging Face repo guidance includes clarifying that

  • there is no license file to include, but there are specific codes to be included in the yaml of the dataset/model cards
  • datasets have different license types from models and software (including update in the template)
    • Choose A License was kept in the dataset card templates since they do include a "My project isn’t software." link.
  • the digital product policy should be referenced for appropriate licensing

Additionally, pointers to the data and model card templates were added on the template pages.

Any changes to gitignore guidance should likely be included as part of #44 (see note).

This PR closes #46.

@egrace479 egrace479 requested review from gwtaylor and hlapp January 24, 2026 00:22
@egrace479 egrace479 added documentation Improvements or additions to documentation structure Refactoring or architecture, general code organization labels Jan 24, 2026
Copy link
Member

@hlapp hlapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine. My only comment is to possibly using a more accurate term for required in the statement "Unlike in GitHub, a LICENSE.md file is not required". I think it's not only not required, but even if one is there, the UI and API won't use it to extract license information. So perhaps something more like "Unlike in GitHub, a LICENSE.md file is not required, and even if present will not be used by HF to determine license information." Or use not supported instead of not required?

@hlapp
Copy link
Member

hlapp commented Jan 24, 2026

And BTW I would leave the markdown lint complaints alone, and move any edits you want to make to appease it into their own PR.

@egrace479
Copy link
Member Author

@hlapp, that's a good idea for clarification on HF not reading the file either. In terms of the linting, the templates weren't meant to be run through (it's a bug, being fixed in #53).

include also the links to the repo card templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation structure Refactoring or architecture, general code organization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update HF Repo Guide

3 participants