# For generating embedding locally

By Saurabh Kumar · TIL note, Feb 15, 2026 · Tags: search

Source: https://saurabh-kumar.com/til/1771156803/

For generating embedding locally,
[nomic-embed-text](https://ollama.com/library/nomic-embed-text) is a large
context length text encoder that
[surpasses](https://www.nomic.ai/news/nomic-embed-text-v1) OpenAI
text-embedding-ada-002 and text-embedding-3-small performance on short and
long context tasks. It has a balance of speed, 8k context, and accuracy for
English-centric apps. BGE-M3, Qwen3-Embedding and E5-Small are other
alternatives.
