-
sentence-transformers/gooaq
Viewer • Updated • 3.01M • 410 • 10 -
sentence-transformers/yahoo-answers
Viewer • Updated • 3.14M • 193 • 3 -
sentence-transformers/msmarco-msmarco-distilbert-base-tas-b
Viewer • Updated • 86.3M • 1.11k • 4 -
sentence-transformers/msmarco-msmarco-distilbert-base-v3
Viewer • Updated • 88.9M • 712 • 2
Sentence Transformers
university
AI & ML interests
In the following you find models tuned to be used for sentence / text embedding generation. They can be used with the sentence-transformers package.
Organization Card
SentenceTransformers 🤗 is a Python framework for state-of-the-art sentence, text and image embeddings.
Install the Sentence Transformers library.
pip install -U sentence-transformers
The usage is as simple as:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
# Sentences we want to encode. Example:
sentence = ['This framework generates embeddings for each input sentence']
# Sentences are encoded by calling model.encode()
embedding = model.encode(sentence)
Hugging Face makes it easy to collaboratively build and showcase your Sentence Transformers models! You can collaborate with your organization, upload and showcase your own models in your profile ❤️
Documentation
Push your Sentence Transformers models to the Hub ❤️
Find all Sentence Transformers models on the 🤗 Hub
To upload your Sentence Transformers models to the Hugging Face Hub, log in with huggingface-cli login
and use the save_to_hub
method within the Sentence Transformers library.
from sentence_transformers import SentenceTransformer
# Load or train a model
model = SentenceTransformer(...)
# Push to Hub
model.push_to_hub("my_new_model")
Collections
3
A curated subset of the datasets that work out of the box with Sentence Transformers: https://huggingface.co/datasets?other=sentence-transformers
These datasets all have "english" and "non_english" columns for numerous datasets. They can be used to make embedding models multilingual.
-
sentence-transformers/parallel-sentences-wikititles
Viewer • Updated • 14.7M • 98 -
sentence-transformers/parallel-sentences-tatoeba
Viewer • Updated • 8.35M • 1.3k -
sentence-transformers/parallel-sentences-talks
Viewer • Updated • 19.6M • 3.14k • 7 -
sentence-transformers/parallel-sentences-europarl
Viewer • Updated • 49.7M • 795
models
124
sentence-transformers/xlm-r-base-en-ko-nli-ststb
Sentence Similarity
•
Updated
•
304
sentence-transformers/bert-base-wikipedia-sections-mean-tokens
Sentence Similarity
•
Updated
•
92
sentence-transformers/bert-base-nli-cls-token
Sentence Similarity
•
Updated
•
1.87k
•
2
sentence-transformers/all-MiniLM-L12-v1
Sentence Similarity
•
Updated
•
13.5k
•
8
sentence-transformers/all-MiniLM-L6-v1
Sentence Similarity
•
Updated
•
11.4k
•
13
sentence-transformers/all-mpnet-base-v1
Sentence Similarity
•
Updated
•
11.5k
•
7
sentence-transformers/facebook-dpr-ctx_encoder-multiset-base
Sentence Similarity
•
Updated
•
1.11k
•
2
sentence-transformers/facebook-dpr-ctx_encoder-single-nq-base
Sentence Similarity
•
Updated
•
252
sentence-transformers/facebook-dpr-question_encoder-multiset-base
Sentence Similarity
•
Updated
•
372
•
1
sentence-transformers/facebook-dpr-question_encoder-single-nq-base
Sentence Similarity
•
Updated
•
209
•
2
datasets
76
sentence-transformers/parallel-sentences
Preview
•
Updated
•
921
•
13
sentence-transformers/embedding-training-data
Updated
•
664
•
104
sentence-transformers/parallel-sentences-opus-100
Viewer
•
Updated
•
55M
•
3.79k
•
1
sentence-transformers/trivia-qa-triplet
Viewer
•
Updated
•
52.9M
•
328
•
5
sentence-transformers/t2ranking
Viewer
•
Updated
•
5.53M
•
127
sentence-transformers/mr-tydi
Viewer
•
Updated
•
5.01M
•
913
sentence-transformers/miracl
Viewer
•
Updated
•
8.95M
•
1.38k
•
2
sentence-transformers/mldr
Viewer
•
Updated
•
912k
•
1.14k
•
3
sentence-transformers/pubmedqa
Viewer
•
Updated
•
35.4k
•
184
sentence-transformers/lecard-v2
Viewer
•
Updated
•
13k
•
78