Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

AdamLucek
/
modernbert-embed-quickb

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

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AdamLucek/modernbert-embed-quickb")
    
    sentences = [
        "What is the interpretation described as inappropriate?",
        ". Factors to be considered in determining the reasonableness of the lawyer’s expectation of confidentiality include the sensitivity of the information and the extent to which the privacy of the communication is protected by law or by a confidentiality agreement",
        ". 20 of competition and rests on an inappropriate interpretation of SBA regulation 13 C.F.R. § 125.9(b)(3)(i). See SHS MJAR at 16–23; VCH MJAR at 16–23",
        ". 29-2, the CIA’s declaration explains in much more detail what is meant by “intelligence sources and methods” or “intelligence activities,” see Third Lutz Decl. ¶–30"
    ]
    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: 2 commits
AdamLucek's picture
AdamLucek
Add new SentenceTransformer model
b5f26bd 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
    30.9 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