nomic-embed-text

A high-performing open embedding model with a large token context window.

Embedding
Hızlı Kurulum (Ollama kuruluysa)
ollama run nomic-embed-text

Ollama kurulu değil mi? ollama.com/download — Windows, macOS ve Linux için ücretsiz. İlk çalıştırmada model indirilir, sonrası tamamen çevrimdışıdır.

Varyantlar

Boyut büyüdükçe kalite artar, donanım ihtiyacı yükselir. Başlangıç için küçük varyantı deneyin.

EtiketBoyutBağlamGirdiKomut
latest 274MB 2K Text ollama run nomic-embed-text:latest
v1.5 274MB 2K Text ollama run nomic-embed-text:v1.5
137m-v1.5-fp16 274MB 2K Text ollama run nomic-embed-text:137m-v1.5-fp16

Model Detayları ve Benchmarklar (kaynak: ollama.com)

nomic_logo

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' })

References

HuggingFace

Blog Post