Skip to content

alkove.fetch

fetch(
names: Iterable[str] = NAMES,
*,
cache: Optional[Union[str, os.PathLike]] = None,
download: bool = True,
) -> dict

Downloads the models into the cache once, checked by their sha256, and gives their paths. Nothing goes on the network afterwards; download=False only reads the cache.