Download src/common/__init__.py from hembad/reranker: direct link, hf CLI and curl.
- Browser
- Download file 426 Bytes
-
https://huggingface.co/spaces/hembad/reranker/resolve/main/src/common/__init__.py
- Command line
-
hf download hf://spaces/hembad/reranker/src/common/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hembad/reranker/resolve/main/src/common/__init__.py
426 Bytes
| """Common utilities — structured logging (`step`), atomic IO, per-phase checkpoints, repo paths. | |
| The rest (determinism, model cache) land per docs/plan/io/00_scaffold.md. | |
| """ | |
| from .checkpoint import checkpoint | |
| from .io import atomic_write_bytes, atomic_write_parquet | |
| from .logging import get_logger, step | |
| __all__ = [ | |
| "atomic_write_bytes", | |
| "atomic_write_parquet", | |
| "checkpoint", | |
| "get_logger", | |
| "step", | |
| ] | |