Skip to content

v0.5.0 — audit-hf: HuggingFace Hub integration

Choose a tag to compare

@maruyamakoju maruyamakoju released this 19 Feb 06:04
· 43 commits to main since this release

What's new in v0.5.0

🤗 audit-hf — HuggingFace Hub integration

Audit any SB3 model directly from the Hub — no manual download needed:

# Install
pip install "deltatau-audit[hf]"

# Audit from Hub
deltatau-audit audit-hf \
    --repo sb3/ppo-CartPole-v1 \
    --algo ppo \
    --env CartPole-v1

Features:

  • Auto-detects model filename ({repo-name}.zipmodel.zip fallback)
  • --filename for explicit override
  • --hf-token for private repositories
  • All audit-sb3 flags work: --quiet, --format markdown, --compare, --ci, --workers

Python API:

from deltatau_audit.adapters.sb3 import SB3Adapter

adapter = SB3Adapter.from_hub("sb3/ppo-CartPole-v1", algo="ppo")

📦 New [hf] extra

pip install "deltatau-audit[hf]"          # huggingface_hub + stable-baselines3
pip install "deltatau-audit[hf,mujoco]"  # + MuJoCo environments

🧪 Tests

10 new tests — 226 total.


See CHANGELOG.md for full history.

Full Changelog: v0.4.9...v0.5.0