Repository navigation
Conversation
…r_hub The submitting Hugging Face account is a collection's contact, as on the Space after its PR #4 (hub identities): submission.yaml needs only team_name and track (an older contact_email is still accepted), and a task's metadata credits a Hub account or organization with author_hub (a legacy author_name still counts). The checkers, the pipeline's submission loader, the template, the docs and the dogfood example follow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to the Space's PR #4 (hub identities, https://huggingface.co/spaces/benchflow/posttrain-arena/discussions/4) and #5 (agent quickstart). Merge it with them, not before: until #4 is on the Space, the Space's checker still requires
author_nameandauthor_email, which the new template no longer has.What changes
submission.yamlneeds onlyteam_nameandtrack; the submitting Hugging Face account is the collection's contact. An oldercontact_emailis still accepted. (scripts/check_submission.pyand the pipeline'ssubmission.pyloader.)scripts/check_task.pyrequiresmetadata.author_hubor a legacyauthor_name, the same rule as the Space's checker in Clarify public pipeline status and contributor policies #4. The template usesauthor_hub: your-hf-usernameinstead of the name and email placeholders.submissions/team-dogfood(the Space's "Try it first" example) gainsauthor_hub: benchflow. Under Clarify public pipeline status and contributor policies #4 it would otherwise validate with "missing author_hub on 1 task". The Space pins posttrainarena@bcbaffb for that example, so the pin should move to this PR's merge commit afterwards.The other starter examples keep their
author_namelines, which still pass.Checks
python -m pytest scripts/: 58 passed, including the new tests for an email-free manifest and forauthor_hubversus a legacyauthor_name.pipelines/benchflow-task-posttrain/tests/test_submission.py,test_leaderboard.pyandtest_publishing.py: passed, including a manifest withoutcontact_email.scripts/check_task.pypasses every example and the template;scripts/check_submission.py submissions/passes team-dogfood.