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.0.2.tar.gz (12.5 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.0.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

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

Hashes for inferencebench_hf_publisher-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9bdb0a766af0d02e11701d558f7da5a03e8662ca5fdf8a4ec4c8a5501ff40417
MD5 76d9357005358b937fb8a78ef501cadb
BLAKE2b-256 07bf213dbd43fee900ec5f312e0e44f62be0957a5e418b9387bd5eb09589acab

See more details on using hashes here.

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

Hashes for inferencebench_hf_publisher-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c81130ba8ffd5a1d7d4f01494364f979ea1e9f9b0a40f970b9a02145cc05968e
MD5 e5104213c5c6bced613be0712d517721
BLAKE2b-256 ba4add2600d8b9b0d6d6bd9b3cfe1d5cbb1d9dceb8f0c254adc6e6c83a8bc848

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