SentenceTransformer based on intfloat/e5-base-unsupervised
This is a
sentence-transformers
model finetuned from
intfloat/e5-base-unsupervised
. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("bobox/E5-base-unsupervised-TSDAE")
# Run inference
sentences = [
"should eat diarrhea should solid as soon able you're bottle your have, try to them as . at home until 48 last spreading others.",
"how long should you wait to eat after having diarrhea? You should eat solid food as soon as you feel able to. If you're breastfeeding or bottle feeding your baby and they have diarrhoea, you should try to feed them as normal. Stay at home until at least 48 hours after the last episode of diarrhoea to prevent spreading any infection to others.",
'how to copy multiple cells in excel and paste?',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Approximate statistics based on the first 1000 samples:
sentence_0
sentence_1
type
string
string
details
min: 3 tokens
mean: 20.46 tokens
max: 69 tokens
min: 8 tokens
mean: 47.85 tokens
max: 132 tokens
Samples:
sentence_0
sentence_1
matter An unit of retains all subatomic neutrons Hydrogen (one one neutrons
are particles of matter atoms? An atom is the smallest unit of matter that retains all of the chemical properties of an element. ... Most atoms contain all three of these types of subatomic particles—protons, electrons, and neutrons. Hydrogen (H) is an exception because it typically has one proton and one electron, but no neutrons.
equals how
5 ml equals how many ounces?
"A Country Boy School is poor is forced to its boy to school following official, ignoring mean a jail
"A Country Boy Quits School" by Lao Hsiang is an endearing social satire. It is about a poor Chinese family which is forced to send its boy to school following an official proclamation, ignoring which would mean a jail term.
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
DenoisingAutoEncoderLoss
@inproceedings{wang-2021-TSDAE,
title = "TSDAE: Using Transformer-based Sequential Denoising Auto-Encoderfor Unsupervised Sentence Embedding Learning",
author = "Wang, Kexin and Reimers, Nils and Gurevych, Iryna",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2021",
month = nov,
year = "2021",
address = "Punta Cana, Dominican Republic",
publisher = "Association for Computational Linguistics",
pages = "671--688",
url = "https://arxiv.org/abs/2104.06979",
}
Runs of bobox E5-base-unsupervised-TSDAE on huggingface.co
98
Total runs
2
24-hour runs
3
3-day runs
14
7-day runs
22
30-day runs
More Information About E5-base-unsupervised-TSDAE huggingface.co Model
E5-base-unsupervised-TSDAE huggingface.co
E5-base-unsupervised-TSDAE huggingface.co is an AI model on huggingface.co that provides E5-base-unsupervised-TSDAE's model effect (), which can be used instantly with this bobox E5-base-unsupervised-TSDAE model. huggingface.co supports a free trial of the E5-base-unsupervised-TSDAE model, and also provides paid use of the E5-base-unsupervised-TSDAE. Support call E5-base-unsupervised-TSDAE model through api, including Node.js, Python, http.
E5-base-unsupervised-TSDAE huggingface.co is an online trial and call api platform, which integrates E5-base-unsupervised-TSDAE's modeling effects, including api services, and provides a free online trial of E5-base-unsupervised-TSDAE, you can try E5-base-unsupervised-TSDAE online for free by clicking the link below.
bobox E5-base-unsupervised-TSDAE online free url in huggingface.co:
E5-base-unsupervised-TSDAE is an open source model from GitHub that offers a free installation service, and any user can find E5-base-unsupervised-TSDAE on GitHub to install. At the same time, huggingface.co provides the effect of E5-base-unsupervised-TSDAE install, users can directly use E5-base-unsupervised-TSDAE installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
E5-base-unsupervised-TSDAE install url in huggingface.co: