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

llm-semantic-router
/
mmbert-embed-finance

Sentence Similarity
sentence-transformers
ONNX
Safetensors
modernbert
feature-extraction
dense
Generated from Trainer
dataset_size:606
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use llm-semantic-router/mmbert-embed-finance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use llm-semantic-router/mmbert-embed-finance with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("llm-semantic-router/mmbert-embed-finance")
    
    sentences = [
        "What might be contained in Item 8 of a financial document?",
        "What amount was authorized for future share repurchases by the company as of October 31, 2023?\n\nAnswer: $1.0 billion",
        "What information is contained in Item 8 of a financial document?\n\nAnswer: Item 8 contains the Financial Statements and Supplementary Data.",
        "What might be contained in Item 8 of a financial document?\n\nAnswer: Financial Statements and Supplementary Data"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
mmbert-embed-finance
3.14 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
HuaminChen's picture
HuaminChen
fix: regenerate FA FP16 ONNX with fp32-fp16 Cast nodes
ccdee8b verified 6 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 7 months ago
  • onnx
    fix: regenerate FA FP16 ONNX with fp32-fp16 Cast nodes 6 months ago
  • .gitattributes
    1.68 kB
    Add tokenizer.json to onnx/ 6 months ago
  • README.md
    17 kB
    Upload folder using huggingface_hub 7 months ago
  • config.json
    1.93 kB
    Upload folder using huggingface_hub 7 months ago
  • config_sentence_transformers.json
    282 Bytes
    Upload folder using huggingface_hub 7 months ago
  • model.safetensors
    614 MB
    xet
    Upload folder using huggingface_hub 7 months ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub 7 months ago
  • sentence_bert_config.json
    59 Bytes
    Upload folder using huggingface_hub 7 months ago
  • tokenizer.json
    34.4 MB
    xet
    Upload folder using huggingface_hub 7 months ago
  • tokenizer_config.json
    750 Bytes
    Upload folder using huggingface_hub 7 months ago