Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ahmedosama2003
/
techforum-duplicate-detector

Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
dense
Generated from Trainer
dataset_size:150000
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
techforum-duplicate-detector
502 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
ahmedosama2003's picture
ahmedosama2003
Upload folder using huggingface_hub
c938446 verified 1 day ago
  • 1_Pooling
    Upload folder using huggingface_hub 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 2 days ago
  • README.md
    30.6 kB
    Upload folder using huggingface_hub 1 day ago
  • config.json
    692 Bytes
    Upload folder using huggingface_hub 1 day ago
  • config_sentence_transformers.json
    283 Bytes
    Upload folder using huggingface_hub 1 day ago
  • model.safetensors
    499 MB
    xet
    Upload folder using huggingface_hub 1 day ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub 1 day ago
  • sentence_bert_config.json
    57 Bytes
    Upload folder using huggingface_hub 1 day ago
  • tokenizer.json
    3.56 MB
    Upload folder using huggingface_hub 1 day ago
  • tokenizer_config.json
    359 Bytes
    Upload folder using huggingface_hub 1 day ago