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

bhlim
/
bge-base-financial-matryoshka

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("bhlim/bge-base-financial-matryoshka")
    
    sentences = [
        "As of December 31, 2023, Hilton franchised 6,679 hotels and resorts, with 914,974 rooms.",
        "What does Google's new model 'Gemini' aim to achieve?",
        "What is the total number of rooms in Hilton's franchised hotels as of December 31, 2023?",
        "How much is the Company agreed to pay under the opioid settlement to resolve all lawsuits and future claims by government entities nationwide?"
    ]
    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
bhlim's picture
bhlim
Add new SentenceTransformer model.
8be2049 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
    29.4 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