Publish signed InferenceBench envelopes to the Hugging Face Hub as datasets
Project description
inferencebench-hf-publisher
Publishes signed InferenceBench envelopes to the Hugging Face Hub as dataset repos under the Yobitel organisation. This is the public, citable, verifiable home of every result emitted by bench publish --to hf.
Status
Phase 1 active development. Tickets 0029-0030.
What it does
- Slugifies the envelope's model id, suite id, and run hash into a deterministic dataset repo id.
- Uploads
envelope.json, optionaltraces.parquet, and a generatedREADME.mdwith YAML frontmatter (the HF dataset card). - Optionally appends a backlink entry to the source model card's metadata (never modifies the visible body).
See skills/hf-publishing/SKILL.md for the full design.
Quick start
from inferencebench_hf_publisher import publish_envelope_to_hf
result = publish_envelope_to_hf(envelope, hf_token=os.environ["HF_TOKEN"])
print(result.url)
Pass dry_run=True to compute the planned URL without hitting HF Hub — useful in tests and CI smoke runs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inferencebench_hf_publisher-0.0.2.tar.gz.
File metadata
- Download URL: inferencebench_hf_publisher-0.0.2.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bdb0a766af0d02e11701d558f7da5a03e8662ca5fdf8a4ec4c8a5501ff40417
|
|
| MD5 |
76d9357005358b937fb8a78ef501cadb
|
|
| BLAKE2b-256 |
07bf213dbd43fee900ec5f312e0e44f62be0957a5e418b9387bd5eb09589acab
|
File details
Details for the file inferencebench_hf_publisher-0.0.2-py3-none-any.whl.
File metadata
- Download URL: inferencebench_hf_publisher-0.0.2-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c81130ba8ffd5a1d7d4f01494364f979ea1e9f9b0a40f970b9a02145cc05968e
|
|
| MD5 |
e5104213c5c6bced613be0712d517721
|
|
| BLAKE2b-256 |
ba4add2600d8b9b0d6d6bd9b3cfe1d5cbb1d9dceb8f0c254adc6e6c83a8bc848
|