Sentence Transformers

The standard way to make embeddings
LLM / RAG frameworkEmbeddings libraryApache-2.0Runs locallyPythonBeginner
OSAI Pulse ⓘ ★★★★★★★★★★ /100 signals tracked
🐳 Docker pulls 📦 PyPI downloads / month 📦 npm downloads / month 🚀 Latest release ·
Visit website →View on GitHub

What is Sentence Transformers?

Sentence Transformers is the reference library for computing text and image embeddings, and for fine-tuning your own embedding models.

Why people choose Sentence Transformers

Sentence Transformers at a glance

CategoryLLM / RAG framework
TypeEmbeddings library
LicenseApache-2.0
Runs locallyYes
Built withPython
Skill levelBeginner
Best forevery RAG pipeline that needs embeddings

Open-source alternatives to Sentence Transformers

Other open-source llm / rag framework tools worth comparing:

LangChainCompose chains, tools and agentsLlamaIndexThe data framework for RAGHaystackProduction pipelines for search and RAGDSPyProgram — not prompt — language modelstxtaiAll-in-one embeddings databaseRAGFlowDeep-document-understanding RAGSemantic KernelMicrosoft's enterprise agent frameworkGraphRAGRAG that builds a knowledge graph firstLiteLLMOne API for 100+ LLM providersInstructorReliable structured outputs from LLMsOutlinesGuarantee valid JSON and grammarsGuidanceInterleave control and generationLLMWareEnterprise RAG with small specialised modelsFlashRankUltra-light reranking for better RAGRagasMeasure whether your RAG is any goodPromptfooUnit tests for your promptsLangfuseSee what your LLM app actually didPhoenixTrace, evaluate and debug LLM apps

Sentence Transformers head-to-head

Sentence Transformers vs LangChainSentence Transformers vs LlamaIndexSentence Transformers vs HaystackSentence Transformers vs DSPySentence Transformers vs txtaiSentence Transformers vs RAGFlowSentence Transformers vs Semantic KernelSentence Transformers vs GraphRAGSentence Transformers vs LiteLLMSentence Transformers vs InstructorSentence Transformers vs OutlinesSentence Transformers vs GuidanceSentence Transformers vs LLMWareSentence Transformers vs FlashRankSentence Transformers vs RagasSentence Transformers vs PromptfooSentence Transformers vs LangfuseSentence Transformers vs Phoenix

FAQ

Is Sentence Transformers free?

Sentence Transformers is free and open-source (Apache-2.0 license), so you can use, self-host and modify it at no cost.

Can I run Sentence Transformers locally?

Yes. Sentence Transformers is designed to run on your own machine or server, keeping your data private.

What is the best alternative to Sentence Transformers?

Popular open-source alternatives include LangChain, LlamaIndex, Haystack. See the comparisons above to choose.

Explore more open-source AI

Browse the full directory of open-source AI tools, models and projects — updated daily.

Browse all tools →