pub fn is_model_cached(model: EmbeddingModel, cache_dir: &Path) -> boolExpand description
Check if model weights exist in the HuggingFace cache directory.
Uses the models--{org}--{repo} folder naming convention that hf-hub
employs when caching model artefacts on disk.