mxbai-embed-large

State-of-the-art large embedding model from mixedbread.ai

Embedding 335m
Hızlı Kurulum (Ollama kuruluysa)
ollama run mxbai-embed-large

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 670MB 512 Text ollama run mxbai-embed-large:latest
v1 670MB 512 Text ollama run mxbai-embed-large:v1
335m 670MB 512 Text ollama run mxbai-embed-large:335m
335m-v1-fp16 670MB 512 Text ollama run mxbai-embed-large:335m-v1-fp16

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

mxbai-embed-large

As of March 2024, this model archives SOTA performance for Bert-large sized models on the MTEB. It outperforms commercial models like OpenAIs text-embedding-3-large model and matches the performance of model 20x its size.

mxbai-embed-large was trained with no overlap of the MTEB data, which indicates that the model generalizes well across several domains, tasks and text length.

Usage

REST API

curl http://localhost:11434/api/embeddings -d '{
  "model": "mxbai-embed-large",
  "prompt": "Represent this sentence for searching relevant passages: The sky is blue because of Rayleigh scattering"
}'

Python library

ollama.embeddings(model='mxbai-embed-large', prompt='Represent this sentence for searching relevant passages: The sky is blue because of Rayleigh scattering')

Javascript library

ollama.embeddings({ model: 'mxbai-embed-large', prompt: 'Represent this sentence for searching relevant passages:  The sky is blue because of Rayleigh scattering' })

References

Blog post

Hugging Face