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

  • Log In
  • Sign Up

deter3
/
bge-base-financial-matryoshka

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

Instructions to use deter3/bge-base-financial-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use deter3/bge-base-financial-matryoshka with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("deter3/bge-base-financial-matryoshka")
    
    sentences = [
        "The total lease payments for 2023 were initially valued at $1,008 million, but after incorporating $43 million for interest, the final amount totaled $1,051 million.",
        "What percentage of Kenvue's shares did Johnson & Johnson own after the exchange offer on August 23, 2023?",
        "What was the increase in total lease payments from the base amount to the final amount including interest in 2023?",
        "What is the primary use of Global Business Services within Procter & Gamble?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bge-base-financial-matryoshka
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
deter3's picture
deter3
Add new SentenceTransformer model
15722b2 verified 10 months ago
  • 1_Pooling
    Add new SentenceTransformer model 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    29.4 kB
    Add new SentenceTransformer model 10 months ago
  • config.json
    740 Bytes
    Add new SentenceTransformer model 10 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 10 months ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model 10 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 10 months ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model 10 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model 10 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 10 months ago
  • tokenizer_config.json
    1.24 kB
    Add new SentenceTransformer model 10 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 10 months ago