Skip to main content

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

  1. Slugifies the envelope's model id, suite id, and run hash into a deterministic dataset repo id.
  2. Uploads envelope.json, optional traces.parquet, and a generated README.md with YAML frontmatter (the HF dataset card).
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inferencebench_hf_publisher-0.1.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inferencebench_hf_publisher-0.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file inferencebench_hf_publisher-0.1.0.tar.gz.

File metadata

  • Download URL: inferencebench_hf_publisher-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 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

Hashes for inferencebench_hf_publisher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 20e8a1e97472e2c069904e9b98102ff065fa61cc40b3d1abdf0afd21788506d5
MD5 c24ebf7fdb5fffc3db15a017f2e32fed
BLAKE2b-256 d907f6f214ea9616e58dcbbac60cf0e26a604ec80eec896309b7b9ae6bb84e2c

See more details on using hashes here.

File details

Details for the file inferencebench_hf_publisher-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: inferencebench_hf_publisher-0.1.0-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

Hashes for inferencebench_hf_publisher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b18c3565fd80d8cd2c69eaa1290c4d26cf411da039711b56f0af8b4c9124243
MD5 160fa0f45ab3221a0bd49fb0efa95398
BLAKE2b-256 ca82a937a2b638258fac742fe482706f8d920e7fb9380e2f84e8c875dd53daa1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page