Repository navigation
feat(hf): Hugging Face org mirror pipeline (riboseinc/<id>) - #241
Merged
Merged
Conversation
added 7 commits
October 5, 2026 09:37
…chitecture win, label-limited data loss
- model_card.py: models.yaml entry -> HF README (frontmatter, metrics table with provenance, curated benchmark block wrapper) - TDD, 8 tests - publish_hf.py: per-id CLI (assembled zip + generated card -> riboseinc/<id>), dry-run mode, HF_TOKEN from env, classes.json side path for plane artifacts - cards/ara-diac-2.0.md: the flagship curated block (SadeedDiac-25 leaderboard, architecture, provenance) User actions to go live: fine-grained HF token (write to the model repos) as the HF_TOKEN secret on this repo, then python3 scripts/publish_hf.py --id ara-diac-2.0 --zip <assembled>
- assemble_release.py: index parts -> artifact, per-part + whole-file sha256 verification (TDD, 3 tests incl. part-mismatch rejection) - publish_hf: verifies the local zip against the index sha before upload - hf-publish.yml: workflow_dispatch (id input) -> assemble -> publish with the HF_TOKEN org secret; uploads become gh workflow run hf-publish.yml -f id=ara-diac-2.0
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.
The HF channel from the distribution plan, made real:
riboseinc/<index-id>mirrors with generated model cards.scripts/model_card.py— models.yaml entry -> HF README (YAML frontmatter: license/language/inference:false + secryst/transliteration/diacritization/onnx/byt5 tags; metrics table WITH provenance links; curated benchmark block wrapper). TDD, 8 tests.scripts/publish_hf.py— per-id CLI: assembled artifact zip + generated card ->riboseinc/<id>;--dry-runprints the full plan without network; HF_TOKEN from the environment (fine-grained, write-scoped — to be added as a repo secret).cards/ara-diac-2.0.md— the flagship curated block: SadeedDiac-25 leaderboard (2.29% DER, best dedicated), architecture, provenance statement.To go live (owner): add the
HF_TOKENActions secret on this repo, thenpython3 scripts/publish_hf.py --id ara-diac-2.0 --zip <assembled fp32>. Phase 2: remaining 20 index ids; phase 3: plane family (ara-diac-plane-1.0) after the run-019 verdict.