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

densonsmith
/
modernbert-embed-quickb

Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
Generated from Trainer
dataset_size:321
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use densonsmith/modernbert-embed-quickb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use densonsmith/modernbert-embed-quickb with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("densonsmith/modernbert-embed-quickb")
    
    sentences = [
        "Since what year have they been married?",
        "Graph: Team Coco Knowledge Graph\nNode ID: 2015_conan_cuba\nCategory: events\nName: Conan in Cuba\nType: Event\n\nDescription: Conan O'Brien traveled to Havana to film a historic episode—the first by an American late-night host in over 50 years—part of his 'Conan Without Borders' specials.\n\nRelationships:\n- Host conan_obrien\n- Occurred during conan_tbs",
        "Description: Liza Powel O'Brien is an American playwright and podcast host. She met Conan O'Brien in 2000 while working at an advertising agency, and they married in 2002. She has written numerous plays staged at theaters like the Geffen Playhouse and Ojai Playwrights Conference, and in 2022 she launched the history podcast \"Significant Others\" on Conan's Team Coco network.",
        "Relationships:\n- Spouse conan_obrien (Strength: very strong)\n  Description: Married since 2002; they have two children together.\n- Podcast host team_coco (Strength: moderate)\n  Description: Hosts the \"Significant Others\" podcast under the Team Coco banner."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-embed-quickb
600 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
densonsmith's picture
densonsmith
Add new SentenceTransformer model
96f8fcf 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
    29.7 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
    596 MB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    349 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