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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

YeonwooSung
/
ModernBERT-large-msmarco-bpr

Sentence Similarity
sentence-transformers
Safetensors
modernbert
feature-extraction
Generated from Trainer
dataset_size:498970
loss:BPRLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use YeonwooSung/ModernBERT-large-msmarco-bpr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use YeonwooSung/ModernBERT-large-msmarco-bpr with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("YeonwooSung/ModernBERT-large-msmarco-bpr")
    
    sentences = [
        "when was the world trade organization created",
        "The Dark Side Of The WTO. The World Trade Organization (WTO) was created January 1, 1995, and it has been a source of controversy ever since. The birth of the WTO was more of a continuation than a truly new creation.",
        "Updated May 30, 2016. The Great Depression started in 1929. On March 25, the stock market had a correction. Many investors were wiped out, since they had borrowed money from their stockbrokers. When the market fell, the brokers called in their loans. That wiped out some businesses, including banks.",
        "A Preparatory Committee was established in February 1946, and met for the first time in London in October 1946 to work on the charter of an international organization for trade; the work was continued from April to November 1947.even rounds of negotiations occurred under GATT before the eighth round—the Uruguay Round —concluded in 1994 with the establishment of the World Trade Organization (WTO) as the GATT's replacement."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
ModernBERT-large-msmarco-bpr
1.58 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Yeonwoo Sung
Add new SentenceTransformer model
73ce316 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    28.8 kB
    Add new SentenceTransformer model over 1 year ago
  • config.json
    1.3 kB
    Add new SentenceTransformer model over 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model over 1 year ago
  • model.safetensors
    1.58 GB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model over 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model over 1 year ago
  • special_tokens_map.json
    694 Bytes
    Add new SentenceTransformer model over 1 year ago
  • tokenizer.json
    3.58 MB
    Add new SentenceTransformer model over 1 year ago
  • tokenizer_config.json
    20.8 kB
    Add new SentenceTransformer model over 1 year ago