Code of Conduct

Hugging Face · agreement dated June 10, 2025 · Official agreement

Read the agreement

11 of 11 cards

Legal Rights & Agreement Rules · Context

The Code sets community behavior standards and works alongside the separate Content Policy

This Code of Conduct describes the behavior Hugging Face expects from members of its community. It says it is designed to work together with Hugging Face's Content Policy, which covers what types of content are allowed on the platform. The Content Policy is a separate document that is linked but not supplied in this analysis, so its rules are not explained here.

Supporting quotations

This Code of Conduct outlines the expected behavior and standards for our community members
is designed to work in conjunction with our

Qualifications & exceptions

  • The Code covers expected behavior and standards; content rules are left to the separate Content Policy.

Not stated here

  • The Content Policy's text is not supplied with this document, so how its content rules interact with this Code is not shown here.

Legal Rights & Agreement Rules · Context

This version takes effect June 10, 2025

The document states an effective date of June 10, 2025. It does not describe how later changes to the Code will be announced.

Supporting quotations

Effective Date: June 10, 2025

Not stated here

  • The document does not say how or when future revisions will be made or communicated.

Account & Service Control · Context

Members, contributors and leaders pledge a harassment-free community for everyone

Community members, contributors and leaders pledge to make taking part in the community free of harassment for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. They also pledge to act in ways that help build an open, welcoming, diverse, inclusive and healthy community. This is a pledge by the whole community, not a separate promise by Hugging Face alone, and it does not by itself state a remedy if the pledge is broken.

Supporting quotations

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone
regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

Qualifications & exceptions

  • The pledge is made by members, contributors and leaders together.
  • The listed characteristics are the ones the pledge names.

Not stated here

  • The pledge does not itself state consequences for breaking it; enforcement is described only through repository owners' tools and reporting.

Account & Service Control · Context

Examples of behavior that supports a positive community, including assuming good faith

The Code gives examples of behavior that contributes to a positive environment: showing empathy and kindness, respecting differing opinions and experiences, giving and gracefully accepting constructive feedback, accepting responsibility and apologizing to those affected by mistakes and learning from them, focusing on what is best for the overall community and not just individuals, and assuming good faith by recognizing that people are interacting with a global community where communication styles and norms may vary. These are examples, not a complete list.

Supporting quotations

Examples of behavior that contributes to a positive environment for our community include:
Demonstrating empathy and kindness toward other people;
Being respectful of differing opinions, viewpoints, and experiences;
Giving and gracefully accepting constructive feedback;
Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience;
Focusing on what is best not just for us as individuals, but for the
overall community;
Assuming good faith: recognizing that you're interacting with a global community and communication styles and norms may vary.

Qualifications & exceptions

  • The list is introduced as examples, so it is not exhaustive.

Account & Service Control · Restriction or exception

Examples of unacceptable behavior: sexual advances, trolling, attacks, harassment, unprofessional conduct

The Code lists examples of unacceptable behavior: sexualized language or imagery and sexual attention or advances of any kind; trolling, insulting or derogatory comments, and personal or political attacks; harassment in public or in private; and any other conduct that could reasonably be considered inappropriate in a professional setting. The last item is a broad catch-all judged by a reasonable professional-setting standard. The list says 'examples', so other behavior can also be unacceptable.

Supporting quotations

Examples of unacceptable behavior include:
The use of sexualized language or imagery, and sexual attention or
advances of any kind;
Trolling, insulting or derogatory comments, and personal or political attacks;
Public or private harassment;
Other conduct which could reasonably be considered inappropriate in a
professional setting;

Qualifications & exceptions

  • Harassment is covered whether it happens publicly or privately.
  • The catch-all applies to conduct that could reasonably be considered inappropriate in a professional setting.
  • The list is introduced as examples, so it is not exhaustive.

Not stated here

  • The document does not define 'trolling', 'political attacks' or the professional-setting standard further.

Account & Service Control · Restriction or exception

Breaking the law, the Terms of Service or Hugging Face policies is also unacceptable behavior

Any other behavior that violates applicable laws and regulations, Hugging Face's Terms of Service and/or its policies, including but not limited to the Content Policy, is listed as unacceptable behavior. This pulls the rules of those other documents into this Code. Those documents are not supplied with this analysis, so their specific rules are not explained here.

Supporting quotations

Any other behavior that violates applicable laws and regulations, our Terms of Service and/or all of our policies, including but not limited to our

Qualifications & exceptions

  • Covers applicable laws and regulations as well as Hugging Face's own Terms of Service and policies.
  • The Content Policy is named as one of the policies, but the list is 'including but not limited to'.

Not stated here

  • The Terms of Service, the Content Policy and any other policies are not supplied here, so their requirements are not shown.
  • The phrase 'and/or all of our policies' does not identify which other policies are included.

Cross-references

Content & IP Rights · Permission or license

Repository owners may remove or edit contributions, edit or hide comments, and tag content NFAA

Under the heading 'Enforcement Responsibilities', the Code says repository owners have the right to remove, edit or reject commits and pull requests; edit discussion titles and community comments; hide community comments; and tag content as 'Not For All Audiences' (NFAA). So if you contribute to or comment on someone else's repository, its owner can change, hide or reject what you posted. The Code frames these as owners' rights; it does not say owners must use them or set rules for how they decide.

Supporting quotations

Enforcement Responsibilities
Repository owners have the right to:
Remove, edit, or reject commits and pull requests;
Edit discussion titles and community comments;
Hide community comments;
Tag content as "Not For All Audiences" (NFAA);

Qualifications & exceptions

  • These are rights of repository owners over their own repositories.
  • The Code does not require owners to use these tools or give contributors notice.

Not stated here

  • The document does not say whether contributors can challenge an owner's removal, edit or hiding of their contribution.
  • Actions Hugging Face itself may take against violators are not described in this document.

Content & IP Rights · Permission or license

Repository owners may gate access for manual approval or make repositories private

Repository owners also have the right to gate access to their repositories, which lets them manually review and approve or reject requests for access to their ML artifacts, and to make repositories private so only the owner or members of their organization can access them. For other users, this means access to a gated repository depends on the owner's approval, and a repository can become private.

Supporting quotations

Repository owners have the right to:
Gate access to repositories, allowing owners to manually review and approve/reject access to their ML artifacts;
Make repositories private, restricting access to only the owner or members of their organization.

Qualifications & exceptions

  • Gating means the owner manually reviews and approves or rejects access.
  • A private repository is limited to the owner or members of their organization.

Not stated here

  • The document does not say what information an owner sees when reviewing an access request.

Account & Service Control · User right or choice

Abusive, harassing or unacceptable behavior or content can be reported to the Hugging Face team

Instances of abusive, harassing or otherwise unacceptable behavior or content defined in the Content Policy may be reported to the Hugging Face team by email at safety@huggingface.co or through dedicated channels, which the Code links to a reporting section of the Content Policy. Reporting is an option, not a requirement. The linked reporting channels are not supplied here.

Supporting quotations

Instances of abusive, harassing, or otherwise unacceptable behavior or content defined in our
may be reported to the Hugging Face team at safety@huggingface.co or through the

Qualifications & exceptions

  • Reporting is permitted ('may be reported'), not required.

Not stated here

  • The sentence leaves it unclear whether 'defined in our Content Policy' limits only content or also behavior.
  • The dedicated reporting channels are in the separate Content Policy, which is not supplied.
  • This document does not state whether reports are kept confidential.

Cross-references

Account & Service Control · Company commitment

Hugging Face says all complaints will be reviewed and investigated promptly and fairly

The Code states that all complaints will be reviewed and investigated promptly and fairly. It does not give a time limit, describe the investigation process, say whether the person reporting will be told the outcome, or list the consequences for someone found to have violated the Code.

Supporting quotations

All complaints will be reviewed and investigated promptly and fairly.

Qualifications & exceptions

  • The commitment covers all complaints.

Not stated here

  • No timeframe is given for 'promptly'.
  • This document does not describe outcomes, sanctions or whether reporters are informed of results.

Cross-references

Legal Rights & Agreement Rules · Context

The Code is adapted from Contributor Covenant version 2.0

The Code says it is adapted from the Contributor Covenant, version 2.0, and links to that version. Because it is adapted, Hugging Face's text may differ from the original; only the text supplied here is analyzed, and the original Contributor Covenant is not treated as part of these terms.

Supporting quotations

This Code of Conduct is adapted from the
version 2.0

Qualifications & exceptions

  • 'Adapted' means the wording may differ from the original version 2.0.

Not stated here

  • The linked Contributor Covenant text is not supplied, so differences from it are not identified.