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

noystl
/
recomb-pred-all-mpnet-base

Sentence Similarity
sentence-transformers
Safetensors
English
mpnet
feature-extraction
Generated from Trainer
dataset_size:784827
loss:ContrastiveLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use noystl/recomb-pred-all-mpnet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use noystl/recomb-pred-all-mpnet-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("noystl/recomb-pred-all-mpnet-base")
    
    sentences = [
        "Background: The study addresses the need for effective tools that allow both novice and expert users to analyze the diversity of news coverage about events. It highlights the importance of tailoring the interface to accommodate non-expert users while also considering the insights of journalism-savvy users, indicating a gap in existing systems that cater to varying levels of expertise in news analysis.\nContribution: Combine 'a coordinated visualization interface tailored for visualization non-expert users' and ",
        "a method considering lexical relationships",
        "cross-modality self-supervised learning via masked visual language modeling",
        "cognitive models of chaining"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Update pipeline tag, add link to code and project page, clarify license

#1 opened about 1 year ago by
nielsr
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs