mix fastembed.download (ExFastembed v0.1.0)

Copy Markdown View Source

Downloads a model into FASTEMBED_CACHE_DIR (default .fastembed_cache). An HF_HOME exported before starting the VM takes precedence.

mix fastembed.download BGESmallENV15
mix fastembed.download AllMiniLML6V2Q
mix fastembed.download JINARerankerV1TurboEn --reranker

Accepts the same aliases as ExFastembed.load/1 and ExFastembed.load_reranker/1. Use mix fastembed.models to list variants and their cache status.

Complete cached models are skipped. Missing files are downloaded using FastEmbed and the model is initialized to verify it can load. Existing non-empty files are reused. This may require substantial memory for large models. A load/download failure exits with a Mix error. The loaded model belongs to this Mix process; your application still calls ExFastembed.load/1 or ExFastembed.load_reranker/1 before inference.