A high-performing open embedding model with a large token context window.
embedding
7M Pulls Updated 10 months ago
Updated 10 months ago
10 months ago
0a109f422b47 · 274MB
model
archnomic-bert
·
parameters137M
·
quantizationF16
274MB
params
{
"num_ctx": 8192
}
17B
license
Apache License
Version 2.0, January 2004
11kB
Readme
Note: this model requires Ollama 0.1.26 or later. Download it here. It can only be used to generate embeddings.
nomic-embed-text
is a large context length text encoder that surpasses OpenAI text-embedding-ada-002
and text-embedding-3-small
performance on short and long context tasks.
Usage
This model is an embedding model, meaning it can only be used to generate embeddings.
REST API
curl http://localhost:11434/api/embeddings -d '{
"model": "nomic-embed-text",
"prompt": "The sky is blue because of Rayleigh scattering"
}'
Python library
ollama.embeddings(model='nomic-embed-text', prompt='The sky is blue because of rayleigh scattering')
Javascript library
ollama.embeddings({ model: 'nomic-embed-text', prompt: 'The sky is blue because of rayleigh scattering' })