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

ethan-ky
/
bge-base-financial-matryoshka

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
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 ethan-ky/bge-base-financial-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ethan-ky/bge-base-financial-matryoshka")
    
    sentences = [
        "As of January 31, 2023, the weighted average remaining lease term for operating leases was 7 years and for finance leases was 3 years.",
        "What was the Company's net deferred tax assets as of December 30, 2023, and December 31, 2022?",
        "What were the weighted average remaining lease terms for operating and finance leases as of January 31, 2023?",
        "How much did the net investment income change from 2021 to 2023?"
    ]
    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
ethan-ky's picture
ethan-ky
Add new SentenceTransformer model.
f37b046 verified about 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    30 kB
    Add new SentenceTransformer model. about 2 years ago
  • config.json
    740 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • sentence_bert_config.json
    52 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer_config.json
    1.24 kB
    Add new SentenceTransformer model. about 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. about 2 years ago