SaaSHub helps you find the best software and product alternatives Learn more โ
Top 16 sentence-embedding Open-Source Projects
-
txtai
๐ก All-in-one open-source embeddings database for semantic search, LLM orchestration and language model workflows
-
Scout Monitoring
Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
-
SimCSE
[EMNLP 2021] SimCSE: Simple Contrastive Learning of Sentence Embeddings https://arxiv.org/abs/2104.08821
-
inltk
Natural Language Toolkit for Indic Languages aims to provide out of the box support for various NLP tasks that an application developer might need
-
nlu
1 line for thousands of State of The Art NLP models in hundreds of languages The fastest and most accurate way to solve text problems.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
AnglE
Train and Infer Powerful Sentence Embeddings with AnglE | ๐ฅ SOTA on STS and MTEB Leaderboard (by SeanLee97)
-
awesome-semantic-search
A curated list of awesome resources related to Semantic Search๐ and Semantic Similarity tasks.
-
DiffCSE
Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"
-
PromCSE
Code for "Improved Universal Sentence Embeddings with Prompt-based Contrastive Learning and Energy-based Learning (EMNLP 2022)"
-
AnnA_Anki_neuronal_Appendix
Using machine learning on your anki collection to enhance the scheduling via semantic clustering and semantic similarity
-
energetic-ai
EnergeticAI is TensorFlow.js, optimized for serverless environments, with fast cold-start, small module size, and pre-trained models.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Show HN: FileKitty โ Combine and label text files for LLM prompt contexts | news.ycombinator.com | 2024-05-01
Try experimenting with different hyperparameters, clustering algorithms and embedding representations. Try https://github.com/MaartenGr/BERTopic/tree/master/bertopic
This is a great guide.
Also - despite the fact that language model embedding [1] are currently the hot rage, good old embedding models are more than good enough for most tasks.
With just a bit of tuning, they're generally as good at many sentence embedding tasks [2], and with good libraries [3] you're getting something like 400k sentence/sec on laptop CPU versus ~4k-15k sentences/sec on a v100 for LM embeddings.
When you should use language model embeddings:
- Multilingual tasks. While some embedding models are multilingual aligned (eg. MUSE [4]), you still need to route the sentence to the correct embedding model file (you need something like langdetect). It's also cumbersome, with one 400mb file per language.
For LM embedding models, many are multilingual aligned right away.
- Tasks that are very context specific or require fine-tuning. For instance, if you're making a RAG system for medical documents, the embedding space is best when it creates larger deviations for the difference between seemingly-related medical words.
This means models with more embedding dimensions, and heavily favors LM models over classic embedding models.
1. sbert.net
2. https://collaborate.princeton.edu/en/publications/a-simple-b...
3. https://github.com/oborchers/Fast_Sentence_Embeddings
4. https://github.com/facebookresearch/MUSE
Project mention: EnergeticAI - TensorFlow.js, optimized for serverless Node.js environments | /r/aipromptprogramming | 2023-06-14
sentence-embeddings related posts
-
The Illustrated Word2Vec
-
how can a top2vec output be improved
-
You probably shouldn't use OpenAI's embeddings
-
SBERT Embeddings from Conversations
-
BERT-Based Clustering on a Corpus of Genre Samples Kinda Sucks. Why?
-
Sentence transformers (BERTopic) on a Macbook Air
-
Comparing BERTopic to human raters
-
A note from our sponsor - SaaSHub
www.saashub.com | 1 Jun 2024
Index
What are some of the best open-source sentence-embedding projects? This list will help you:
Project | Stars | |
---|---|---|
1 | txtai | 7,211 |
2 | BERTopic | 5,659 |
3 | SimCSE | 3,278 |
4 | inltk | 812 |
5 | nlu | 823 |
6 | Fast_Sentence_Embeddings | 611 |
7 | vectordb | 479 |
8 | AnglE | 370 |
9 | awesome-semantic-search | 324 |
10 | DiffCSE | 286 |
11 | PromCSE | 131 |
12 | simple-simcse | 64 |
13 | AnnA_Anki_neuronal_Appendix | 57 |
14 | energetic-ai | 33 |
15 | smaller-labse | 17 |
16 | theGoodWord | 2 |
Sponsored