Models
sgrep ships with Model2Vec by default (8MB, 256 dimensions). Additional models are available for specialized use cases.
Text Models
| Alias | Model | Dims | Size |
|---|---|---|---|
model2vec (default) | minishlab/potion-base-8M | 256 | 8MB |
bge-small | BAAI/bge-small-en-v1.5 | 384 | 33MB |
clip | openai/clip-vit-base-patch32 | 512 | 350MB |
Switching Models
sgrep --model bge-small "query" src/
Models auto-download on first use and cache in ~/.cache/sgrep/models/.
Was this page helpful?