Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
dense
Generated from Trainer
dataset_size:150000
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use ahmedosama2003/techforum-duplicate-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ahmedosama2003/techforum-duplicate-detector with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ahmedosama2003/techforum-duplicate-detector") sentences = [ "Is there a common or well understood word for 'a group with no shared members'? I have two mathematical sets that have no common elements. In mathematical terms, these are called 'disjoint sets', and together they are called a 'partition'. What common or well understood word or phrase could I use to explain what these are, when speaking to someone who doesn't know what a disjoint set or partition is? Edit: I am looking for an alternative to the answer found in . I am looking for a reasonably common word/phrase to replace \"disjoint\". The other answer found in the linked question, \"orthogonal\", is much too obscure for my purpose.", "Can we say that $\\left(a+b\\right)^{\\alpha}>a^{\\alpha}+b^{\\alpha}$ for all $a,b>0$ and $\\alpha>1$? For $\\alpha\\in\\mathbb{N}$ we can use the Binomial and get: $$\\left(a+b\\right)^{n}=\\sum_{k=0}^{n}{n \\choose k}a^{k}b^{n-k}=\\sum_{k=1}^{n-1}{n \\choose k}a^{k}b^{n-k}+a^{n}+b^{n}>a^{n}+b^{n} $$ But what about rational and irrational powers? Respectively, can we also say that $\\left(a+b\\right)^{\\alpha}<a^{\\alpha}+b^{\\alpha}$ for all $\\alpha<1$?", "Word for two collections that do not have any elements in common I'm looking for a word for when you have a collection A and a collection B and they have no overlap. In mathematical terms: the relation between two sets where the intersection is empty. Like in this Venn diagram: The word that keeps popping up in my mind is disparate sets, but I don't feel that completely covers the meaning when I look at the definition, because that doesn't seem to preclude overlapping sets that are different: disparate 1. distinct in kind; essentially different; dissimilar: disparate ideas.", "Resizing an iframe based on content I am working on an iGoogle-like application. Content from other applications (on other domains) is shown using iframes. How do I resize the iframes to fit the height of the iframes' content? I've tried to decipher the javascript Google uses but it's obfuscated, and searching the web has been fruitless so far. Update: Please note that content is loaded from other domains, so the applies." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 229 Bytes
c938446 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [
{
"idx": 0,
"name": "0",
"path": "",
"type": "sentence_transformers.models.Transformer"
},
{
"idx": 1,
"name": "1",
"path": "1_Pooling",
"type": "sentence_transformers.models.Pooling"
}
] |