Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:45
loss:DenoisingAutoEncoderLoss
text-embeddings-inference
Instructions to use lucagafner/NDA_finetuned_V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lucagafner/NDA_finetuned_V1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("lucagafner/NDA_finetuned_V1") sentences = [ "The not apply to the prove to part of public at time it without violation any non-disclosure in; or already Receiving before disclosure Party evidenced its written records revealed Receiving by a third without non-disclosure favour of the Party received the Party", "The receiving party will segregate Confidential Information from the confidential materials of third parties to prevent commingling.", "NON-DISCLOSURE AGREEMENT (NDA)\n\n1.", "The non-disclosure undertaking under this Agreement shall not apply to information which the Receiving Party can prove to\nhave been part of public knowledge at the time the Receiving Party received it or became public knowledge thereafter without violation of any non-disclosure undertaking in favour of the Disclosing Party; or\nhave been already known to the Receiving Party before disclosure by the Disclosing Party as evidenced by its written records or has been revealed to the Receiving Party by a third party without violation of a non-disclosure undertaking in favour of [Name disclosing party]; or\nhave been developed by the Receiving Party independently of the information received by the Disclosing Party." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K