v0.5.0 — audit-hf: HuggingFace Hub integration
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-v1Features:
- Auto-detects model filename (
{repo-name}.zip→model.zipfallback) --filenamefor explicit override--hf-tokenfor private repositories- All
audit-sb3flags 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