Models

sgrep ships with Model2Vec by default (8MB, 256 dimensions). Additional models are available for specialized use cases.

Text Models

AliasModelDimsSize
model2vec (default)minishlab/potion-base-8M2568MB
bge-smallBAAI/bge-small-en-v1.538433MB
clipopenai/clip-vit-base-patch32512350MB

Switching Models

sgrep --model bge-small "query" src/

Models auto-download on first use and cache in ~/.cache/sgrep/models/.

Was this page helpful?