Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
Generated from Trainer
dataset_size:29545
loss:MultipleNegativesSymmetricRankingLoss
custom_code
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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!