Model | Dimensions | Max Tokens | Cost | MTEB Avg Score | Similarity Metric |
---|---|---|---|---|---|
thenlper/gte-large | 1024 | 512 | $0.016 / 1M tokens | 63.23 | cosine |
nomic-ai/nomic-embed-text-v1.5 | 768 (scales down) | 8192 | $0.008 / 1M tokens | 62.28 | cosine |
pg_vector
.
When storing embeddings in Postgres, it is important that each vector will be stored in a row that fits in a single PG block (typically 8K). If this size is exceeded,
the vector will be stored in TOAST storage which can slow down queries. In addition vectors that are “TOASTed” are not indexed, which means you can’t reliably use vector indexes.
Fireworks supports multiple models. gte-large
and nomic-embed-text-v1.5
are two of the models available.
The gte-large
model has 1024 dimensions and does not support scaling down. The nomic-embed-text-v1.5
model has
768 dimensions and can scale down to 512, 256, 128 and 64.