Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

wwydmanski
/
e5-large-legal-v0.2

Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:32378
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use wwydmanski/e5-large-legal-v0.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use wwydmanski/e5-large-legal-v0.2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("wwydmanski/e5-large-legal-v0.2")
    
    sentences = [
        "query: What are the conditions under which the full payment of the Note can be secured?",
        "accordance with U.S. Securities and Exchange Commission (“SEC”) Rule13d-3. 5.Security. The full and timely payment of this Note (together with the Maker’s obligations under a Purchase Agreement of this date among Maker, Payee and Whitebox Advisors, LLC) shall be secured by a Pledge Agreement of this date (the “Pledge Agreement”). 6.Optional Prepayments. The Maker may prepay this Note, in whole or in part, and in cash, without penalty by Maker upon fifteen days written notice to Payee. Prepayments shall be applied first to accrued but unpaid interest and then to principal. -------------------------------------------------------------------------------- 7.Default. The occurrence of any one or more of the following events shall constitute an event of default, upon which Payee may declare the entire principal amount of this Note, together with all accrued but unpaid",
        "or the Indenture Trustee or a Responsible Person of the Servicer has knowledge of the failure, (C)during the period the Servicer uses all commercially reasonable efforts to perform its obligations under this Agreement and (D)the Servicer promptly notifies the Owner Trustee, the Indenture Trustee, the Depositor and the Noteholders of the failure, including a description of the Servicer’s efforts to correct the failure; or (2) (A)the failure would not reasonably be expected to, or after investigation and quantification does not, result in a failure to pay or deposit an amount greater than 0.05% of the Note Balance of the Notes, and (B)the failure does not continue for more than (i)if the Servicer’s long-term debt is rated investment grade by all Rating Agencies, 90 days after the Servicer receives",
        "the following conditions or events shall occur and be continuing: (a)the Issuer defaults in the payment of any principal or Make-Whole Amount, if any, on any Note when the same becomes due and payable, whether at maturity or at a date fixed for prepayment or by declaration or otherwise; or (b)the Issuer defaults in the payment of any interest on any Note for more than five Business Days after the same becomes due and payable; or (c)either Constituent Company defaults in the performance of or compliance with any term contained in Section 7.1(d), Section 9.5(b), (c) or (d), Section 9.7 or Section 10; or (d)either Constituent Company or any Subsidiary Guarantor defaults in the performance of or compliance withany term contained herein or in the Subsidiary Guaranty Agreement"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
e5-large-legal-v0.2
1.14 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
wwydmanski's picture
wwydmanski
Upload folder using huggingface_hub
45c23d9 verified almost 2 years ago
  • 1_Pooling
    Upload folder using huggingface_hub almost 2 years ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub almost 2 years ago
  • README.md
    38.4 kB
    Upload folder using huggingface_hub almost 2 years ago
  • config.json
    717 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • config_sentence_transformers.json
    199 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors
    1.12 GB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • special_tokens_map.json
    964 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer_config.json
    1.15 kB
    Upload folder using huggingface_hub almost 2 years ago