We are thrilled to announce the release of our latest collaborative features: pull requests and discussions on the Hugging Face Hub!
Pull requests and discussions are now available under the community tab for all repository types: models, datasets, and Spaces. This means that any member of the community can create and participate in discussions and pull requests, facilitating collaborations not only within teams but also with everyone else in the community!
This update marks the biggest enhancement ever made to the Hub, and we can’t wait to see community members start collaborating with it 🤩. The new “Community” tab aligns with longstanding proposals in ethical machine learning. Feedback and iterations now have a central place, which is vital for developing ethical machine learning software. We believe that integrating these features into the community’s toolset will unlock new patterns of positive collaboration and progress in the ML space.
Here are some example use cases for discussions and pull requests:
- Propose suggestions in model cards to improve disclosures of ethical biases.
- Let users flag concerning generations of a given Space demo.
- Provide a venue through which model and dataset authors can engage directly with community members.
- Allow others to enhance your repositories, such as contributing TensorFlow weights!
Discussions
Discussions open up a new space for community members to ask questions, share ideas, and provide suggestions directly to repository owners and other community members. Anyone can create and participate in discussions in the community tab of a repository, fostering an inclusive environment where collective knowledge can flourish.
Pull Requests
Pull requests facilitate direct contributions from community members, allowing them to open, comment on, merge, or close requests right from the website. The simplest way to initiate a pull request is through the “Collaborate” button found in the “Files and versions” tab. This feature streamlines the process, enabling single file contributions with ease.
Notably, our pull requests do not require forks and branches. Instead, we utilize custom “branches” called refs that are stored directly on the source repository. This innovative approach eliminates the need to create forks for each new version of a model or dataset, making contributions more straightforward and efficient.
How is this Different from Other Git Hosts?
At a high level, the Hugging Face Hub aims to simplify the experience of managing pull requests and issues compared to other git hosts like GitHub. Here are a few key distinctions:
- No forks are involved: Contributors push to a special
refbranch directly on the source repository. - No hard distinction between issues and pull requests: They are treated similarly and displayed in the same lists, streamlining the user experience.
- The platform is specifically optimized for machine learning, focusing on models, datasets, and Spaces repositories rather than arbitrary repositories.
What’s Next
This is just the beginning! We will actively listen to community feedback to incorporate new features and enhance the community tab in the future. If you have any ideas or suggestions, we encourage you to join the discussion today! Now is the perfect time to engage in your first discussion or open a pull request. We can’t wait to see how you will contribute to our growing community! 🤗
Inspired by: Source



