Download src/models/__init__.py from hembad/reranker: direct link, hf CLI and curl.
- Browser
- Download file 512 Bytes
-
https://huggingface.co/spaces/hembad/reranker/resolve/main/src/models/__init__.py
- Command line
-
hf download hf://spaces/hembad/reranker/src/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hembad/reranker/resolve/main/src/models/__init__.py
512 Bytes
| """Model loaders — local GGUF LLM client (llama.cpp) + setup/download helpers. | |
| Lazy by design: importing this package does NOT import llama_cpp or load any model — that happens only on | |
| first ``generate``/``ensure``. So the gates run without a model downloaded; the rank/JD path is offline once | |
| the weights are cached under ``data/artifacts/models/``. | |
| """ | |
| from .llm import LlmClient, index_gen_client | |
| from .prefetch import ensure_all_models | |
| __all__ = ["LlmClient", "ensure_all_models", "index_gen_client"] | |