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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

baconnier
/
Finance_embedding_large_en-V1.5

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

Instructions to use baconnier/Finance_embedding_large_en-V1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use baconnier/Finance_embedding_large_en-V1.5 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("baconnier/Finance_embedding_large_en-V1.5")
    
    sentences = [
        "How many Rights will XYZ Bank issue for each outstanding share of Acme Inc. stock in the event of a takeover attempt?",
        "Sarah took out a 30-year mortgage and has been paying for 3 years, so she has 27 years left to pay if she continues making regular payments. The remaining principal balance after 3 years is the original $300,000 minus the principal portion of the 36 payments made. If Sarah continues making payments, the remaining principal balance will decrease with each payment until it reaches $0 at the end of the 30-year term.\nSarah has 27 years left on her mortgage if she continues making regular payments. The remaining principal balance will steadily decrease with each payment and will be $0 when the mortgage is fully paid off.",
        "The passage does not provide information about the premium John will receive for writing the options. The premium depends on factors like the stock price, strike price, time to expiration, and implied volatility, which are not mentioned in the given context.\nThere is not enough information provided to determine the premium income John will receive.",
        "In the event of a takeover attempt, XYZ Bank, the Rights Agent, will issue Rights to Acme Inc. shareholders. The context states that XYZ Bank will issue one Right for each outstanding share of Acme Inc. stock.\nXYZ Bank will issue one Right for each outstanding share of Acme Inc. stock in the event of a takeover attempt."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    69.5 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    742 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    1.34 GB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    52 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.24 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. almost 2 years ago