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

jebish7
/
cde-small-v1_MNR_3

Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
Generated from Trainer
dataset_size:29545
loss:MultipleNegativesRankingLoss
custom_code
Model card Files Files and versions
xet
Community

Instructions to use jebish7/cde-small-v1_MNR_3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use jebish7/cde-small-v1_MNR_3 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jebish7/cde-small-v1_MNR_3", trust_remote_code=True)
    
    sentences = [
        "In terms of audited accounts submission for an Applicant, could you clarify the scenarios in which the Regulator might agree that a reviewed pro forma statement of financial position is not needed, and what factors would be considered in making that determination?",
        "DocumentID: 1 | PassageID: 4.2.1.(3) | Passage: Where the regulator in another jurisdiction does not permit the implementation of policies, procedures, systems and controls consistent with these Rules, the Relevant Person must:\n(a)\tinform the Regulator in writing immediately; and\n(b)\tapply appropriate additional measures to manage the money laundering risks posed by the relevant branch or subsidiary.",
        "DocumentID: 11 | PassageID: 2.3.15.(4) | Passage: The Applicant must submit to the Regulator the following records, as applicable:\n(a)\tAudited accounts, for the purposes of this Rule and Rule 2.3.2(1), for the last three full financial years, noting that:\n(i)\tif the Applicant applies for admission less than ninety days after the end of its last financial year, unless the Applicant has audited accounts for its latest full financial year, the accounts may be for the three years to the end of the previous financial year, but must also include audited or reviewed accounts for its most recent semi-annual financial reporting period; and\n(ii)\tif the Applicant applies for admission more than six months and seventy-five days after the end of its last financial year, audited or reviewed accounts for its most recent semi-annual financial reporting period (or longer period if available).\n(b)\tUnless the Regulator agrees it is not needed, a reviewed pro forma statement of financial position. The review must be conducted by an accredited professional auditor of the company or an independent accountant.",
        "DocumentID: 36 | PassageID: D.1.3. | Passage: Principle 1 – Oversight and responsibility of climate-related financial risk exposures.Certain functions related to the management of climate-related financial risks may be delegated, but, as with other risks, the board is ultimately responsible and accountable for monitoring, managing and overseeing climate-related risks for the financial firm.\n"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
cde-small-v1_MNR_3
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
jebish7's picture
jebish7
Add new SentenceTransformer model.
0ee120c verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    28.2 kB
    Add new SentenceTransformer model. over 1 year ago
  • config.json
    992 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • config_sentence_transformers.json
    269 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • model.safetensors
    1.12 GB
    xet
    Add new SentenceTransformer model. over 1 year ago
  • modules.json
    111 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • sentence_bert_config.json
    2 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • sentence_transformers_impl.py
    6.1 kB
    Add new SentenceTransformer model. over 1 year ago
  • special_tokens_map.json
    125 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer_config.json
    1.19 kB
    Add new SentenceTransformer model. over 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. over 1 year ago