---
datasets: []
language: []
library_name: sentence-transformers
metrics:
- cosine_accuracy
- dot_accuracy
- manhattan_accuracy
- euclidean_accuracy
- max_accuracy
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:32621
- loss:TripletLoss
widget:
- source_sentence: 6.2 either party may terminate this agreement for cause if the
other party fails to perform any material provision of this agreement or commits
a material breach of this agreement which is not corrected within [***] after
receiving written notice of the failure or breach. except that if the default
is by 6 supplier that creates an immediate public food safety risk, pnc may terminate
this agreement immediately without regard to any period for correction.
sentences:
- what constitutes a material violation under the default provision?
- '8.3 termination for cause. this agreement may be terminated by a party ----------------------
for cause immediately upon the occurrence of and in accordance with the following:
(a) insolvency event. either may terminate this agreement by delivering written
notice to the other party upon the occurrence of any of the following events:
(i) a receiver is appointed for either party or its property; (ii) either makes
a general assignment for the benefit of its creditors; (iii) either party commences,
or has commenced against it, proceedings under any bankruptcy, insolvency or debtor''s
relief law, which proceedings are not dismissed within sixty (60) days; or (iv)
either party is liquidated or source: rae systems inc, 10-q, 11/14/2000 dissolved.
(b) change of control. in the event more that there is a change in ownership representing
fifty percent (50%) or more of the equity ownership of either party, the other
party may, at its option, terminate this agreement upon written notice. (c) default.
either party may terminate this agreement effective upon written notice to the
other if the other party violates any covenant, agreement, representation or warranty
contained herein in any material respect or defaults or fails to perform any of
its obligations or agreements hereunder in any material respect, which violation,
default or failure is not cured within thirty (30) days after notice thereof from
the non-defaulting party stating its intention to terminate this agreement by
reason thereof.'
- does chinese law supersede international regulations?
- source_sentence: (a) member specifically acknowledges that, pursuant to the franchise
agreement, and by virtue of its position with franchisee, member will receive
valuable specialized training and confidential information, including, without
limitation, information regarding the operational, sales, promotional, and marketing
methods and techniques of franchisor and the system.
sentences:
- 1. confidential information. member shall not, during the term of the franchise
agreement or thereafter, communicate, divulge or use, for any purpose other than
the operation of the franchised business, any confidential information, knowledge,
trade secrets or know-how which may be communicated to member or which member
may learn by virtue of member's relationship with franchisee. all information,
knowledge and know-how relating to franchisor, its business plans, franchised
businesses, or the system ("confidential information") is deemed confidential,
except for information that member can demonstrate came to member's attention
by lawful means prior to disclosure to member; or which, at the time of the disclosure
to member, had become a part of the public domain.
- can the member use trade secrets for purposes outside of operating the franchised
business?
- is written consent from party a mandatory for party b's assignment?
- source_sentence: 'ad networks we may feature advertising within our service. the
advertisers may collect and use information about you, such as your service session
activity, device identifier, mac address, imei, geo-location information and ip
address. they may use this information to provide advertisements of interest to
you. please refer to our list of partners within the services and for more information
on how to opt out at: http://www.supercell.net/partner-opt-out.'
sentences:
- what is the designation for the type of data that pertains to a person's confidential
and unique identifiers, including their electronic mail details and connections
within online platforms?
- which entities constitute 'ad partners' as mentioned in the clause?
- how we use data collection tools and online advertising under armour uses cookies
and other data collection tools like web beacons to collect data that help us
personalize your use of our websites and mobile applications. we also work with
a variety of advertisers, advertising networks, advertising servers, and analytics
companies ("ad partners") that use various technologies including cookies to collect
data about your use of the services (such as pages visited, ads viewed or clicked
on) so that we and our ad partners deliver ads to you based on your interests
and online activities.
- source_sentence: third-party vendors, including google, use cookies to serve ads
based on a user's prior visits to our website and other websites. google's use
of advertising cookies enables it and its partners to serve ads based on visits
to our site or other sites on the internet. you can opt out of personalized advertising
by visiting google's ads settings. alternately, you can opt out of other third-party
vendors' uses of cookies by visiting the digital advertising alliance's (daa)
opt out page at http://www.aboutads.info/choices or http://www.aboutads.info/appchoices.
to find out more about how google uses data it collects please visit google privacy
& principals.
sentences:
- google, as a third party vendor, uses cookies to serve ads on our site. google's
use of the dart cookie enables it to serve ads to our users based on their visit
to our site and other sites on the internet. users may opt out of the use of the
dart cookie by visiting the google ad and content network privacy policy.
- is google considered a third-party vendor in this context?
- what are the obligations of the henry film and entertainment corporation under
this agreement?
- source_sentence: sponsor acknowledges and agrees that, notwithstanding the grant
of exclusivity set forth in this section 4, team shall have the right to solicit
and enter into sponsorships with other parties that are not known primarily or
exclusively as suppliers or providers of any product or service within the product
and services category.
sentences:
- what constitutes a 'purchase' under the revenue-sharing agreement?
- for the avoidance of doubt, the parties acknowledge that the foregoing restriction
applies only to persistent sponsorship placement as judged by sponsor at its discretion,
and not to run-of-site banner advertisements or other rotating promotional placements.
- what does 'foregoing restriction' refer to specifically within the context of
sponsorships?
model-index:
- name: SentenceTransformer
results:
- task:
type: triplet
name: Triplet
dataset:
name: all nli dev
type: all-nli-dev
metrics:
- type: cosine_accuracy
value: 0.5286745157614888
name: Cosine Accuracy
- type: dot_accuracy
value: 0.47322445879225217
name: Dot Accuracy
- type: manhattan_accuracy
value: 0.5104443600455754
name: Manhattan Accuracy
- type: euclidean_accuracy
value: 0.5142423091530574
name: Euclidean Accuracy
- type: max_accuracy
value: 0.5286745157614888
name: Max Accuracy
- task:
type: triplet
name: Triplet
dataset:
name: all nli test
type: all-nli-test
metrics:
- type: cosine_accuracy
value: 0.529054310672237
name: Cosine Accuracy
- type: dot_accuracy
value: 0.470945689327763
name: Dot Accuracy
- type: manhattan_accuracy
value: 0.5100645651348272
name: Manhattan Accuracy
- type: euclidean_accuracy
value: 0.515381693885302
name: Euclidean Accuracy
- type: max_accuracy
value: 0.529054310672237
name: Max Accuracy
---
# SentenceTransformer
This is a [sentence-transformers](https://www.SBERT.net) model trained. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
## Model Details
### Model Description
- **Model Type:** Sentence Transformer
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 384 tokens
- **Similarity Function:** Cosine Similarity
### Model Sources
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
### Full Model Architecture
```
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)
```
## Usage
### Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
```bash
pip install -U sentence-transformers
```
Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("kperkins411/multi-qa-MiniLM-L6-cos-v1_triplet")
# Run inference
sentences = [
'sponsor acknowledges and agrees that, notwithstanding the grant of exclusivity set forth in this section 4, team shall have the right to solicit and enter into sponsorships with other parties that are not known primarily or exclusively as suppliers or providers of any product or service within the product and services category.',
"what does 'foregoing restriction' refer to specifically within the context of sponsorships?",
'for the avoidance of doubt, the parties acknowledge that the foregoing restriction applies only to persistent sponsorship placement as judged by sponsor at its discretion, and not to run-of-site banner advertisements or other rotating promotional placements.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```
## Evaluation
### Metrics
#### Triplet
* Dataset: `all-nli-dev`
* Evaluated with [TripletEvaluator
](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
| Metric | Value |
|:-------------------|:-----------|
| cosine_accuracy | 0.5287 |
| dot_accuracy | 0.4732 |
| manhattan_accuracy | 0.5104 |
| euclidean_accuracy | 0.5142 |
| **max_accuracy** | **0.5287** |
#### Triplet
* Dataset: `all-nli-test`
* Evaluated with [TripletEvaluator
](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
| Metric | Value |
|:-------------------|:-----------|
| cosine_accuracy | 0.5291 |
| dot_accuracy | 0.4709 |
| manhattan_accuracy | 0.5101 |
| euclidean_accuracy | 0.5154 |
| **max_accuracy** | **0.5291** |
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 32,621 training samples
* Columns: negative
, anchor
, and positive
* Approximate statistics based on the first 1000 samples:
| | negative | anchor | positive |
|:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
| type | string | string | string |
| details |
c. the obligations specified in this article shall not apply to information for which the receiving party can reasonably demonstrate that such information: iii. becomes known to the receiving party through disclosure by sources other than the disclosing party, having a right to disclose such information,
| what safeguards are in place to protect the information obtained from third-party sources?
| information we collect from other sources we may also receive information from other sources and combine that with information we collect through our services. for example: if you choose to link, create, or log in to your uber account with a payment provider (e.g., google wallet) or social media service (e.g., facebook), or if you engage with a separate app or website that uses our api (or whose api we use), we may receive information about you or your connections from that site or app.
|
| 3.2 manufacturing standards the manufacturer covenants that it is and will remain for the term of this agreement in compliance with all international standards in production and manufacturing.
| is there a guarantee from the manufacturers regarding the conformity of the items to the mutually approved written standards for a certain duration?
| each of the suppliers warrants that the products shall comply with the specifications and documentation agreed by the relevant supplier and the company in writing that is applicable to such products for the warranty period.
|
| planetcad hereby grants to dassault systemes a fully-paid, non-exclusive, worldwide, revocable limited license to the server software and infrastructure for the sole purpose of (i) hosting the co-branded service and (ii) fulfilling itsobligations under this agreement.
| what type of authorization has the video conferencing service provided to the british virgin islands-based entity and its associated organization regarding their intellectual property, with respect to the customized software and web platform, including the conditions for customer access to enhanced functionalities that incur additional charges?
| skype hereby grants to online bvi and the company a limited, non-exclusive, non-sublicensable (except as set forth herein), non-transferable, non-assignable (except as provided in section 14.4), royalty-free (but subject to the provisions of section 5), license during the term to use, market, provide access to, promote, reproduce and display the skype intellectual property solely (i) as incorporated in the company-skype branded application and/or the company-skype toolbar, and (ii) as incorporated in, for the development of, and for transmission pursuant to this agreement of, the company-skype branded content and the company-skype branded web site, in each case for the sole purposes (unless otherwise mutually agreed by the parties) of promoting and distributing, pursuant to this agreement, the company-skype branded application, the company-skype toolbar, the company-skype branded content and the company-skype branded web site in the territory; (a) provided, that it is understood that the company-skype branded customers will have the right under the eula to use the company- skype branded application and the company-skype toolbar and will have the right to access the company-skype branded content, the company-skype branded web site and the online bvi web site through the internet and to otherwise receive support from the company anywhere in the world, and that the company shall be permitted to provide access to and reproduce and display the skype intellectual property through the internet anywhere in the world, and (b) provided further, that online bvi and the company shall ensure that no company-skype branded customer (or potential company-skype branded customer) shall be permitted to access, using the company-skype branded application or the company-skype toolbar or through the company-skype branded web site, any skype premium features requiring payment by the company-skype branded customer (or potential company-skype branded customer), including, but not limited to, skypein, skypeout, or skype plus, unless such company-skype branded customer (or potential company-skype branded customer) uses the payment methods made available by the company pursuant to section 2.5 for the purchase of such premium features.
|
* Loss: [TripletLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#tripletloss) with these parameters:
```json
{
"distance_metric": "TripletDistanceMetric.EUCLIDEAN",
"triplet_margin": 5
}
```
### Evaluation Dataset
#### Unnamed Dataset
* Size: 2,641 evaluation samples
* Columns: negative
, anchor
, and positive
* Approximate statistics based on the first 1000 samples:
| | negative | anchor | positive |
|:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
| type | string | string | string |
| details | this agreement shall be governed by, and construed in accordance with the law of the state of new york.
| are there any exceptions to the governing law stated?
| this agreement shall be governed by the laws of the state of california, without regard to the conflicts of law provisions of any jurisdiction.
|
| you consent to the third party use, sharing and transfer of your personal information (both inside and outside of your jurisdiction) as described in this section. these third parties will use personal information to provide services to us and for their own internal use, including analytics use. we allow third parties such as analytics providers and advertising partners to collect your personal information over time and across different websites or online services when you use our services.
| collection of personal data legal basis?
| 15. notice for malaysia residents close in view of the implementation of the personal data protection act 2010 ("act"), sony mobile recognises the need to process all personal data obtained in a lawful and appropriate manner. the legal responsibility for compliance with the act lies with sony mobile, which is the "data user" under the act. compliance with this privacy policy and the act is the responsibility of all employees of sony mobile. as and when sony mobile is required to collect personal data, sony mobile and its employees must abide by the requirements of this privacy policy and the act. in the context of the act, "processing" is defined as including the collection, recording, holding or storing of personal data which includes, inter alia, nric numbers, home address and contact details.
|
| you can prevent peel from showing you targeted ads by sending an email to privacy@peel.com and asking to opt-out of targeted advertising. opting-out will only prevent targeted ads from being displayed so you may continue to see generic (non-targeted) ads from peel after you opt-out. for more information on interest-based ads or to stop use of tracking technologies for these purposes, go to www.aboutads.info or www.networkadvertising.org.
| how does one opt out from third-party analytics providers?
| when you use our services, we collect the following information: information about your device (including device model, os version and operator's name), time and date of the connection to the game and/or service, ip or mac address, international mobile equipment id (imei), android id, device mac address, cookie information. we also from time-to-time use services provided by third party companies that might collect information from you, and you can opt-out from this. follow the directions provided by our other third party analytics provider located at http://www.flurry.com/user-opt-out.html, https://help.chartboost.com/legal/privacy, http://privacy.adcolony.com/, http://info.tapjoy.com/about-tapjoy/privacy-policy/, http://sponsorpay.com/. if you "opt out" with our third party analytics providers, that action is specific to the information we collect specifically for that provider, and does not limit our ability to collect information from you, under the terms of this privacy policy, for other third parties.
|
* Loss: [TripletLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#tripletloss) with these parameters:
```json
{
"distance_metric": "TripletDistanceMetric.EUCLIDEAN",
"triplet_margin": 5
}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `eval_strategy`: steps
- `per_device_train_batch_size`: 64
- `per_device_eval_batch_size`: 64
- `learning_rate`: 2e-05
- `num_train_epochs`: 4
- `warmup_ratio`: 0.1
- `fp16`: True
- `batch_sampler`: no_duplicates
#### All Hyperparameters