Expand description
GTE-small embedder using Candle.
Uses thenlper/gte-small model for text embeddings:
- 384 dimensions
- 512 max tokens
- BERT architecture
Structsยง
- Candle
Embedder - GTE-small embedder using Candle.
Constantsยง
- EMBEDDING_
DIM ๐ - Embedding dimension for gte-small.
- MAX_
TOKENS ๐ - Maximum sequence length.
- MODEL_
ID ๐ - Model identifier on
HuggingFaceHub.