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
Commit ·
eb63e70
verified ·
0
Parent(s):
initial commit
Browse files- .gitattributes +35 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|