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-v2-obliqa-2

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

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

  • Libraries
  • sentence-transformers

    How to use jebish7/cde-v2-obliqa-2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jebish7/cde-v2-obliqa-2", trust_remote_code=True)
    
    sentences = [
        "In the context of the risk-based assessment of customers and business relationships, how should the overlap between customer risk assessment and CDD be managed to ensure both are completed effectively and in compliance with ADGM regulations?",
        "DocumentID: 36 | PassageID: D.7. | Passage: Principle 7 – Scenario analysis of climate-related financial risks. Where appropriate, relevant financial firms should develop and implement climate-related scenario analysis frameworks, including stress testing, in a manner commensurate with their size, complexity, risk profile and nature of activities.\n",
        "DocumentID: 1 | PassageID: 7.Guidance.4. | Passage: The risk-based assessment of the customer and the proposed business relationship, Transaction or product required under this Chapter is required to be undertaken prior to the establishment of a business relationship with a customer. Because the risk rating assigned to a customer resulting from this assessment determines the level of CDD that must be undertaken for that customer, this process must be completed before the CDD is completed for the customer. The Regulator is aware that in practice there will often be some degree of overlap between the customer risk assessment and CDD. For example, a Relevant Person may undertake some aspects of CDD, such as identifying Beneficial Owners, when it performs a risk assessment of the customer. Conversely, a Relevant Person may also obtain relevant information as part of CDD which has an impact on its customer risk assessment. Where information obtained as part of CDD of a customer affects the risk rating of a customer, the change in risk rating should be reflected in the degree of CDD undertaken.",
        "DocumentID: 1 | PassageID: 9.1.2.Guidance.4. | Passage: Where the legislative framework of a jurisdiction (such as secrecy or data protection legislation) prevents a Relevant Person from having access to CDD information upon request without delay as referred to in Rule ‎9.1.1(3)(b), the Relevant Person should undertake the relevant CDD itself and should not seek to rely on the relevant third party."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
cde-v2-obliqa-2
1.23 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
jebish7's picture
jebish7
Add new SentenceTransformer model
d5e623c verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    26.1 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    1.17 kB
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    275 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    1.22 GB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    111 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    2 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_transformers_impl.py
    6.11 kB
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    694 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    3.58 MB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    20.8 kB
    Add new SentenceTransformer model about 1 year ago