jev2-legal / README.md
bwang0911's picture
Add new SentenceTransformer model.
a0b1894 verified
|
raw
history blame
52.7 kB
metadata
language:
  - en
tags:
  - sentence-transformers
  - sentence-similarity
  - feature-extraction
  - generated_from_trainer
  - dataset_size:53224
  - loss:MultipleNegativesRankingLoss
base_model: sentence-transformers/all-MiniLM-L6-v2
widget:
  - source_sentence: are my notes shared with any third parties?
    sentences:
      - We may share data with social networks at your request.
      - 'We may use the data we collect to:'
      - Evernote is not in the business of selling or renting your information.
      - >-
        Account information for third party services: If you interact with a
        third party service when using our Sites, such as if you use a third
        party service to log-in to our Sites (e.g., Facebook, Google, or
        Twitter), or if you share content from our Sites through a third party
        social media service, the third party service will send us information
        about you, such as information from your public profile, if the third
        party service and your account settings allow such sharing.
      - >-
        With that in mind, when you purchase an item, your customer information
        may be shared with other select companies whose products and services
        you may find useful and those select companies will handle, store,
        retain, use, share and access personal information in accordance with
        their own privacy policies, and we disclaim any and all liability
        relating thereto.
      - Usage activity, interactions within our apps
      - >-
        where a third party claims that any content posted or uploaded by you to
        our Platform constitutes a violation of their intellectual property
        rights, or of their right to privacy.
      - >-
        In addition, parts of the Service may be hosted by a third party on our
        behalf.
  - source_sentence: which third party entities will have access to my data?
    sentences:
      - >-
        We also may share information about you with third parties whenever you
        consent to or direct such sharing.
      - >-
        All data transferred by us between your device and our services is
        encrypted.
      - >-
        Processing your data in order to meet certain legal or regulatory
        obligations; and
      - >-
        In certain occasions, Khan Academy may share this data with business
        partners to improve our services or offerings.
      - >-
        We receive and store any information you enter on our Website or give us
        in any other way.
      - Does IMDb Share the Information It Receives?
      - >-
        We also require that our suppliers protect such information from
        unauthorized access, use, and disclosure.
      - >-
        If Touchnote Limited or substantially all of its assets are acquired by
        a third party, in which case personal data held by it about its
        customers will be one of the transferred assets.
  - source_sentence: >

      In cases an agent is entrusted to perform any specific juristic act, if
      the agent performs such act in accordance with the instructions of the
      principal, the principal may not assert that the agent did not know a
      particular circumstance without negligence which the principal did not
      know due to his/her negligence.
    sentences:
      - >

        Article 406

        If the subject matter of the claim is to be determined by a choice being
        made from among more than one performance, the right to choose belongs
        to the obligor..
      - >

        Article 494

        (1) In the following cases, a performer may deposit the subject matter
        of the performance with an official depository for the benefit of the
        obligee. In such a case, the claim is extinguished when the performer
        makes the deposit:

        (i) the performer tenders the performance, and the obligee refuses to
        accept it; or

        (ii) the obligee is unable to accept the performance.

        (2) The preceding paragraph also applies if the performer is unable to
        ascertain the obligee;provided, however, that this does not apply if the
        performer is negligent in this respect.

        Article 474

        (1) A third party may also perform an obligation.

        (2) A third party that has no legitimate interest in performing an
        obligation may not perform the obligation against the will of the
        obligor;provided, however, that this does not apply if the obligee did
        not know that the performance is against the will of the obligor.

        (3) The third party prescribed in the preceding paragraph may not
        perform the obligation against the will of the obligee;provided,
        however, that this does not apply if the third party performs the
        obligation as requested by the obligor, and the obligee knew this.

        (4) The provisions of the preceding three paragraphs do not apply if the
        nature of an obligation does not permit the performance by a third party
        or if a party manifests the intention to prohibit or restrict the
        performance by a third party..
      - >

        Article 101

        (1) If the validity of a manifestation of intention that an agent has
        made to the other party is to be influenced by the absence of intention;
        by mistake, fraud, or duress; or by the knowledge of or negligence in
        not knowing of a particular circumstance; whether or not any such fact
        was present is decided as it concerns the agent.

        (2) If the validity of a manifestation of intention that the other party
        has made to the agent is to be influenced by the recipient's knowledge
        of or negligence in not knowing of a particular circumstance, whether or
        not any such fact was present is decided as it concerns the agent.

        (3) If an agent who has been entrusted with performing a specific
        juridical act performs that act, the principal may not assert that the
        agent did not know of any particular circumstance of which the principal
        knew. The same applies to any circumstance of which the principal did
        not know due to the principal's own negligence..
  - source_sentence: >-
      Are times zones, (i.e. a geo-spatial frame of reference) considered in age
      based regulations? Bob was born in British Columbia (GMT-7) on March 7th
      at 11 p.m. local time. Alice was born the next day, March 8th, in Nova
      Scotia (GMT-3) at 1 a.m. local time, which is 2 hours before Bob was born,
      due to the time zone difference. Bob and Alice are in Vancouver (GMT-7).
      It is Bob's 19th birthday. Bob is of legal drinking age according to
      Canadian law and the birthdate listed on his driver's license, Alice is
      not. They both have a glass of wine with dinner. The legality of drinking
      is based on age, so could Alice be arrested for underage drinking based on
      the birth date listed in her driver's license even though she is
      technically "older" than Bob based on a geo-spatial frame of
      reference? Or would the law consider her to be of legal age based on the
      time zone of her birth, and the exact time of day she drew her first
      breath when compared to local time?
    sentences:
      - >-
        canada In Canada, there are the separate offences of: sexual assault
        (premised on lack of consent, no matter by what means consent is
        lacking; R. v. G.F., 2021 SCC 20) and administering a stupefying
        substance. If someone were to use a "substance such as everyday
        alcohol" (I would reject the premise that this is
        "benign") for the purpose of facilitating sexual assault, this
        would be an offence under s. 246 of the Criminal Code. Section 246 makes
        it an offence for a person, "with intent to enable or assist
        himself or another person to commit an indictable offence" to
        administer or cause any person to take a "stupefying or
        overpowering drug, matter, or thing." The Court of Appeal for
        Ontario has accepted that the element of administering a stupefying
        thing could be established by oversupply of alcohol. They have said that
        alcohol is a "stupefying substance" (R. v. Vant, 2015 ONCA
        481) and can support a conviction under s. 246. "Date rape"
        has no legal significance and even criminologically, misframes the
        circumstances in which people experience sexual assualt. Further, your
        premise that intimate partner sexual assault "usually happens when
        someone uses narcotics to drug another into an unconscious state"
        is not supported by the evidence. While this is a criminological point,
        rather than a legal point, it is important context for understanding
        such crimes. This 2005 study estimated that 4.6% of intimate partner
        sexual assaults were facilitated by surreptitious drug use. These two
        fact sheets describe the variety of circumstances, completely unrelated
        to incapacitation by drugs, in which people experience intimate partner
        sexual assault/violence: Fredericton Sexual Assault Crisis Centre Info
        Sheet; Centre for Research & Education on Violence Against Women
        & Children Backgrounder on Intimate Partner Sexual Violence.
      - >-
        Can the Secretary of State exempt people over 75 requiring a TV licence?
        Yes. s.363(6) introduces the power to exempt those listed at (a) to (d)
        by way of Regulations. s.6, paragraph 1 of the Communications
        (Television Licensing) Regulations 2004 states: No fee shall be payable
        for a TV licence of a type referred to in the first or second entry in
        column 1 of the table in Schedule 1 where— (a) the licence is issued to
        a person aged 75 years or more or to a person who will attain that age
        in the calendar month in which the licence is issued; and (b) the single
        place, vehicle, vessel or caravan specified in the licence is the sole
        or main residence of that person.
        https://www.legislation.gov.uk/uksi/2004/692/regulation/6?timeline=false
        The first and second entries in column 1 at Schedule 1 refer to black
        and white or colour TVs in a domestic setting or business purposes.
        https://www.legislation.gov.uk/uksi/2004/692/schedule/1?timeline=false
      - >-
        british-columbia I am not aware of any judicial consideration of this
        issue. The Liquor Control and Licensing Act, s. 78(1) says: A minor must
        not, except as provided under this Act or unless the minor does so with
        other lawful excuse, ... consume liquor. (One of those exceptions are
        when the alcohol is supplied by the minor's parents, spouse or guardian
        in a residence for consumption in the residence. There are other
        exceptions, too. But I'll assume you're asking about a circumstance
        where no exception applies.) The Liquor Control and Licensing Act
        defines a "minor" to be a person under the age of majority
        established by the Age of Majority Act, which is age 19 today. The
        Liquor Control and Licensing Act, s. 57 makes it an offence to
        contravene s. 78(1). The Interpretation Act, s. 25.1 states that "A
        person reaches a particular age expressed in years at the beginning of
        the relevant anniversary of the person's birth date." The
        Interpretation Act also clarifies that the reference to time "is a
        reference to Pacific Standard Time" (or Pacific Daylight Saving
        Time, when it is in effect). Thus, a person is a minor until "the
        beginning [in Pacific time] of the relevant anniversary of the person's
        birth date." It is most clear in relation to the identification
        requirements when selling to a minor, but the Regulations (s. 158) refer
        to the date of birth as displayed on the person's identification card.
        This all suggests that when consuming alcohol in the greater Vancouver
        area, a person just about to reach the age of majority must wait until
        the date in the Pacific time zone is that which is displayed on their
        identification. Or barring any identification, until the date in the
        Pacific time zone is the date that is the person's birth date.
      - >-
        This is known as a retroactive or ex post facto law. Such laws are
        explicitly forbidden by the US Constitution (Wikipedia reference), and
        are generally frowned on in jurisdictions where the rule of law applies,
        partly because it is difficult to prove criminal intent when your action
        was not at the time criminal.
      - >-
        The place of birth on the birth certificate is where the child was
        actually born. Indeed, usually it will be more specific than city and
        state or province and will also identify a hospital or residence or
        other place where the birth happened. So, for example, if a child is
        born to U.S. diplomats in Paris, France (in or out of the embassy
        grounds), the birth certificate will say that the child was born in
        Paris, France at Charles de Gaulle Hospital. But, that child will still
        be a U.S. citizen in all likelihood, because that child's mother, and/or
        married father or unmarried father who acknowledges paternity, is a U.S.
        citizen (in all likelihood) pursuant to 8 U.S.C. §§ 1401 and 1409. The
        child may or may not be a French dual citizen depending upon the
        citizenship law of France. In the case of a French diplomat who has a
        child born physically in Washington D.C. (inside or outside the French
        embassy) the birth certificate will likewise state that the child was
        born in Washington D.C. The French diplomat's child, however, will not
        be a U.S. citizen since Section 1 of the 14th Amendment to the U.S.
        Constitution's first sentence (which is also found in 8 U.S.C. §
        1401(a)) states: All persons born or naturalized in the United States,
        and subject to the jurisdiction thereof, are citizens of the United
        States and of the State wherein they reside. But a French diplomat's
        child is not "subject to the jurisdiction" of the United
        States, so the French diplomat's child does not gain U.S. citizenship at
        birth (assuming for simplicity's sake that both of the child's parents
        are French citizens and are not U.S. citizens) despite the fact that the
        child was born in the United States.
      - >-
        Bob has no defense Speeding in western-australia, as it is throughout
        australia, is a strict liability offense. That means that intention to
        or knowledge that you are breaking the law is not required. Don’t know
        the limit? Doesn’t matter, you are still legally obliged to comply.
        However, all the way up the chain, from the police officer, through the
        administrative arm to the judge, each person has discretion to waive the
        infringement notice. Basically, they can do that if they don’t think
        it’s “fair” on Bob in the circumstances. Given that Bob managed to reach
        40+km/h within 20m of a more than 90 degree corner I think the
        infringement notice is very fair. Negligent Driving is possibly the more
        appropriate offense. However, it’s possible to imagine circumstances
        where waiving the infringement notice is fair. For example, if a speed
        limit sign has been removed or completely obscured by foliage or a
        parked vehicle and Bob could show he was not familiar with the area. The
        question on Alice is, from above, moot.
      - >-
        canada It depends on what the mens rea requirement is. Mens rea if not
        specified in a criminal offence In Canada, if this is a criminal
        offence, and a mens rea is not specified in the Criminal Code, the
        presumption is that the mens rea would be satisfied by recklessness,
        knowledge, willful blindness, or intention (Pappajohn v. The Queen,
        [1980] 2 SCR 120; R. v. Briscoe, 2010 SCC 13). The prosecution would
        have to show that Alice was at least subjectively aware of the risk that
        she was doing XYZ during the prohibited hours and proceeded nonetheless
        (this is recklessness; Sansregret v. The Queen, [1985] 1 SCR 570 ).
        Based on the facts as you've presented in the hypothetical, you may have
        ruled out the possibility that Alice was reckless. Although, depending
        on the time of year, it may be that the sun sets around 9pm, which may
        present some awareness of the risk that you have not accounted for in
        your hypothetical. Mens rea if specified If the text of the statute does
        specify a mens rea then that is what the prosecution needs to show. For
        example, if one is prohibited from doing XYZ while "knowing"
        that it is after 9pm, then the prosecution will have to demonstrate
        actual subjective knowledge of the time, or wilful blindness (which
        Canadian law takes to impute knowledge: Briscoe). Additional burdens to
        make use of some mistakes of fact Some offences put an even higher
        burden on the accused in order to rely on a mistake of fact. In sexual
        offences where the age of the complainant is relevant (e.g. that they 14
        or younger, or 16 or younger, or 18 or younger), the accused cannot make
        out a mistake-of-age defence without showing they took reasonable steps
        to ascertain the age (see Criminal Code, s. 150.1).1 Presumptive mens
        rea for regulatory offences is much lower: strict liability, subject to
        a due-diligence defence However, if this were a
        public-welfare/regulatory offence, like a provincial traffic law, or a
        licensing restriction on an aviation licence, or municipal by-law, there
        is no mens rea presumption. Rather, public-welfare/regulatory offences
        prima facie fall into the category of strict liability offences, subject
        only to a due-diligence defence (R. v. Sault Ste. Marie, [1978] 2 SCR
        1299). Alice would have to show that she had a "reasonable belief
        in facts which, if true, would have rendered the act innocent".
        What it means to have a "reasonable belief in facts" is very
        fact-specific.2 Alice has to hold the belief herself, and the trier of
        fact must accept that a reasonable person would also have held that
        belief. Just as in the case for recklessness, I can imagine that the
        timing of sunset might pose a problem for a due-diligence defence in
        your particular example. Absolute liability If the penalties for the
        offence do not include the risk of imprisonment, the offence can even be
        declared to be an absolute liability offence, in which due diligence is
        not even a defence (Re B.C. Motor Vehicle Act, [1985] 2 SCR 486). 1. For
        example, simply relying on a complainant's "language and statements
        indicating that she could be 14 years of age or older did not constitute
        taking reasonable steps or all reasonable steps to ascertain her true
        age in all the circumstances, especially after being warned by her
        mother to stop all contact or she would call the police and stating that
        the complainant was way too young for him" (R. v. Dragos, 2012 ONCA
        538). 2. For example, for the sale of alcohol, "when the individual
        clearly appears to be underage, ... a duly diligent permittee would
        require at least two more pieces of ID confirming that the person was
        not a minor, question the individual about the ID, then decide if it is
        reasonable to serve the individual alcohol versus the youthful
        appearance of the individual" (Citynski Hotels Ltd. v.
        Saskatchewan, 2003 SKQB 314).
      - >-
        In principle, the data subject's right to access involves a copy of all
        personal data the controller holds on them. There are no time limits by
        default. Of course, the controller can ask a data subject to clarify
        their request, e.g. to focus on a particular time frame. There is an
        implied time limit though: personal data may only be processed/stored
        for as long as the data is necessary to achieve the purposes for which
        it was collected. Afterwards, it must be deleted. A controller with good
        data management will be able to limit their effort by having as short
        retention periods as possible for their different records. Furthermore,
        a lot of data is not personal data, or falls out of scope of the GDPR
        because it is not processed with automated means or forms part of a
        filing system. For example, if thousands of old invoices were archived
        in paper form in boxes that are only sorted by year, there might be an
        argument that this isn't a filing system in the sense of the GDPR and
        that a DSAR would not have to involve looking through all the archived
        invoices (compare also Art 11). In your scenario, there is a clear
        retention period of six years. You are asking for records about how that
        data might have been used further in the past. To the degree that such
        data is actually available, that could reasonably be personal data and
        should be included in a response to a DSAR. E.g. they might have
        information like this: “File #1234 was included in a data set that was
        sold to EvilCorp in 2007. The entries in File #1234 that are older than
        2014 have been purged, so we do not know which entries were included in
        the data set. The current name on File #1234 is Dave.” This information
        about the sale would be personal data because it relates to you, and you
        are identifiable. Of course, the controller might not be set up to
        perform this search unless specifically asked. However, more unspecific
        information might not be personal data. For example: “About 70% of our
        files were included in a data set that was sold to EvilCorp in 2007. We
        no longer have records indicating whether your file was included.” Since
        there is no link between the sale and your personal data, I don't think
        it would have to be included in a DSAR response. The primary reason why
        you should be told about sales of personal data is that per Art
        15(1)(c), you should be informed about “the recipients or categories of
        recipient to whom the personal data have been or will be disclosed” in a
        DSAR response. So when making a data subject access request, it could
        make sense to explicitly referencing this paragraph. So you would be
        interested in receiving a copy of your personal data as per Art 15 GDPR,
        and in particular any available information per Art 15(1)(c) GDPR about
        the recipients or categories of recipients to whom your personal data
        has been or may have been disclosed in the past. Quite likely the
        response will be underwhelming, e.g. by just giving a broad category
        such as “potential creditors who are contractually obligated to use the
        data only in accordance with our policies”. Whether such responses are
        compliant (I don't necessarily think so) will not be clear until there's
        a good precedent, and that would require that someone sorts this out in
        court.
  - source_sentence: >-
      Q: Can a car insurance company cancel my policy if payments where made
      every month , claiming it was for non paymemt?. I was insured by Infinity
      and was making installment. Payments on my policy , there was no changes
      on my policy… on the 6 month of my policy they billed me for an amount
      deferent then my schedule payments , increasing from 340 to 800 and the
      remaing months lowering to 240 causing my payment to be declined 
    sentences:
      - >-
        A:So, who knows what they are thinking other than them? It is not clear
        to me that THEY contact FCA for you or if you contacted FCA on your own
        first and then FCA is responding to your contact or to their's? That
        could make a difference. As a lemon law attorney myself I can tell you a
        few things: a- It's rare that FCA offers a buy back without counsel
        involved; b- It's more rare that they would offer all the law allows; c-
        one usually gets a better result if one has counsel involved; d- FCA
        will often not pay counsel or not pay much, pre-suit and will be forced
        by a bad twist in the law, ironically sought out by folks like FCA, to
        pay more once a case is filed in court. Your law firm has 23 people on
        their website! That's a huge number of mouths to feed. I hope they give
        you great service. In closing, You should ask THEM these same questions!
        They are you lawyers and they must answer you honestly.
      - >-
        A:Sorry to hear about your accident. The car that started the chain
        reaction accident is at fault for all cars damaged including your
        property damage and personal injuries. However, if your car is declared
        a total loss and your remaining car loan is greater than the present
        market value of your car, you will be responsible for the (excess loan
        over your car's value) unless you have gap insurance for your car. For
        further information, contact my office at (240)676-4827. Thank you.
      - >-
        A:Under California law, an insurance company typically cannot cancel a
        policy for non-payment if payments were made consistently and in
        accordance with the agreed-upon payment schedule. If you have evidence
        of regular payments and your policy was canceled erroneously, you may
        have grounds to challenge the cancellation and seek reinstatement of
        your policy. It's advisable to contact the insurance company and, if
        necessary, consult with an attorney who can help you address the
        situation.
      - >-
        Whether you're taking a vacation or using a loaner vehicle from your
        regular car's repair shop, you'll need to procure some form of car
        insurance for your rental car. Unfortunately, your auto insurance
        provider may not provide much direction on this matter. In general,
        American auto insurers provide surprisingly little rental-related
        guidance to their policyholders. For folks who regularly use rental
        cars, this can be downright frustrating. Before you go on a trip or
        agree to accept a rental car from an auto-repair shop, be sure to talk
        to your insurance company about your coverage options. If you regularly
        travel on business, it's likely that your employer will pick up the tab
        for your rental car. If this is the case, you'll need to procure vehicle
        insurance through your rental car company. Unless the company for which
        you work is particularly generous with its business travelers, it
        probably won't pay to insure your rental vehicle. Unfortunately, few
        personal auto insurance policies provide coverage for vehicles that
        their policyholders don't rent on their own. As such, the fact that your
        employer is paying for your rental car may make it difficult for you to
        obtain full coverage on it. While you'll still be protected against
        injury-related lawsuits and property damage claims through your rental
        car company's own insurer, you'll be held personally liable for any
        damage that you cause to the vehicle. This loophole has caught many
        business travelers by surprise. In order to circumvent it, you'll need
        to purchase supplemental vehicle insurance from your rental car company.
        This could add a significant premium to the total cost of your rental.
        If you're traveling for pleasure or renting a car in another capacity,
        this consideration will be irrelevant. However, you may still need to
        purchase supplemental insurance from your rental car company. Although
        there's no hard-and-fast way to determine whether your auto insurance
        policy covers you in the event of a rental-car accident, you should
        still read your policy closely. It may explicitly state that it covers
        rented or "non-owned" cars. If this is the case, you should feel free to
        file an insurance claim for your rental car. On the other hand, your
        policy might not say anything about "non-owned" vehicles. If this is the
        case, you should assume that your rented vehicles aren't covered by your
        policy. If you get into an accident while driving a rental car, you may
        need to pay for its repair costs out of your own pocket. 
      - >-
        A:What does your mortgage say? IF it says they can randomly require you
        pay for inspections, then yes, they can do what you describe. If it says
        they can force you to pay for inspections whenever work is done on the
        property that too is something they can do. If it doesn't say that, it's
        open to interpretation. Is $60 worth suing them and paying thousands of
        dollars in attorney's fees over? Maybe the BEST course of action is to
        pay off the loan and stop giving them any income. It seems like you
        should be able to get a personal loan or use your savings to pay off the
        final 2 years of principal balance and not dealing with companies that
        want to make your life difficult is probably a good thing for other
        reasons too! Remember, you're complaining about $60. How much effort do
        you want to put into this? Just pay off the loan and TELL THEM WHY
        you're no longer doing business with them.
      - >-
        A:A North Carolina attorney could advise best, but your question remains
        open for a week. The insurance company has a reasonable argument they
        provided a rental and that that rental companies do charge deposits -
        the amount can vary by company. The court may see them favorably in
        light of this - but other attorneys could see it differently. You could
        consult with an attorney if it is worth pursuing, either through a law
        firm or on your own. Good luck
      - >-
        A:A Texas attorney could advise best, but your question remains open for
        a week. That sounds like fraud. You could consult with local attorneys
        to ask how it is treated under state-specific laws. Good luck
      - >-
        If you're going through a messy divorce in California, you're probably
        wondering whether you'll be able to keep your health insurance coverage
        after its finalization. After all, health insurance is tremendously
        expensive. If you're unable to remain covered under your ex-spouse's
        employer-sponsored health insurance plan, you might need to source
        health insurance coverage on the open market. Depending upon your health
        profile and the needs of your children, this may cost a substantial
        amount of money. Before you search for a new health insurance plan,
        you'll want to check with a seasoned divorce lawyer or health insurance
        expert to make sure that you're not eligible to remain covered. In fact,
        there are certain circumstances under which you might be able to retain
        your ex-spouse's health insurance coverage. Under the applicable state
        and federal statutes, this "continuation of coverage" is liable to be
        temporary. However, many divorces result in an arrangement that requires
        the insured ex-spouse to issue regular cash payments to the uninsured
        ex-spouse in lieu of providing health insurance coverage indefinitely.
        Alternatively, the insured spouse may be compelled to set up and pay for
        a health insurance plan that covers the uninsured ex-spouse in
        perpetuity. If the uninsured ex-spouse remains the custodial parent
        after the divorce's finalization, this plan will almost certainly cover
        his or her children as well. In other words, California law makes it
        likely that you'll be able to retain health insurance coverage after
        your divorce. However, the process of establishing and paying for such
        coverage can be extremely tricky. For this reason, many Californian
        divorce lawyers advise their clients to initiate legal separation
        proceedings at least one year before beginning divorce proceedings. Once
        a legal separation order has been handed down, it's far easier for two
        partners to work out the continuation of health insurance benefits on
        equal footing. Once the separation is official, you'll need to determine
        whether you'll be eligible for federal COBRA coverage. COBRA permits
        certain qualifying ex-spouses to remain covered by their former
        partners' health insurance plans for up to 18 months from the date of
        their divorce. However, COBRA benefits are subject to numerous
        limitations. They may also be far more expensive than the benefits that
        they replace. If you're not sure whether opting for COBRA coverage is a
        good idea, you should talk to your divorce lawyer. It's possible that he
        or she may be able to work out a deal that requires your ex-spouse to
        pay for a portion of your COBRA benefits. 
datasets:
  - sentence-transformers/coliee
pipeline_tag: sentence-similarity
library_name: sentence-transformers

SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2

This is a sentence-transformers model finetuned from sentence-transformers/all-MiniLM-L6-v2 on the coliee dataset. 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
  • Base model: sentence-transformers/all-MiniLM-L6-v2
  • Maximum Sequence Length: 256 tokens
  • Output Dimensionality: 384 tokens
  • Similarity Function: Cosine Similarity
  • Training Dataset:
  • Language: en

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 256, '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})
  (2): Normalize()
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("bwang0911/jev2-legal")
# Run inference
sentences = [
    'Q: Can a car insurance company cancel my policy if payments where made every month , claiming it was for non paymemt?. I was insured by Infinity and was making installment. Payments on my policy , there was no changes on my policy… on the 6 month of my policy they billed me for an amount deferent then my schedule payments , increasing from 340 to 800 and the remaing months lowering to 240 causing my payment to be declined ',
    "A:Under California law, an insurance company typically cannot cancel a policy for non-payment if payments were made consistently and in accordance with the agreed-upon payment schedule. If you have evidence of regular payments and your policy was canceled erroneously, you may have grounds to challenge the cancellation and seek reinstatement of your policy. It's advisable to contact the insurance company and, if necessary, consult with an attorney who can help you address the situation.",
    'A:A North Carolina attorney could advise best, but your question remains open for a week. The insurance company has a reasonable argument they provided a rental and that that rental companies do charge deposits - the amount can vary by company. The court may see them favorably in light of this - but other attorneys could see it differently. You could consult with an attorney if it is worth pursuing, either through a law firm or on your own. Good luck',
]
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]

Training Details

Training Dataset

coliee

  • Dataset: coliee at d90012e
  • Size: 9,260 training samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 1000 samples:
    anchor positive negative
    type string string string
    details
    • min: 11 tokens
    • mean: 41.76 tokens
    • max: 99 tokens
    • min: 25 tokens
    • mean: 131.1 tokens
    • max: 256 tokens
    • min: 14 tokens
    • mean: 121.07 tokens
    • max: 256 tokens
  • Samples:
    anchor positive negative

    A compulsory auction is also a sale, so warranty is imposed the same as for an ordinary sale.

    Article 568
    (1) The successful bidder at an auction based on the provisions of the Civil Execution Act and other laws (hereinafter referred to as an "auction" in this Article) may cancel the contract or demand a reduction of the price against the obligor pursuant to the provisions of Articles 541 and 542 and the provisions of Article 563
    (including as applied mutatis mutandis pursuant to Article 565).
    (2) In the cases referred to in the preceding paragraph, if the obligor is insolvent, the successful bidder may demand total or partial reimbursement of the proceeds against the obligees that received the distribution of the proceeds.
    (3) In the cases set forth in the preceding two paragraphs, if obligors knew of the absence of the object or right and did not disclose the same, or if obligees knew of the absence but demanded an auction, the successful bidder may claim compensation for loss or damage against those persons.
    (4) The provisions of the preceding three paragraphs do not apply to the non-conformity with respect to the kind or quality of the subject matter of an auction..

    Article 575
    (1) If the subject matter of a sale which has not yet been delivered bears fruits, the fruits vest in the seller.
    (2) The buyer bears the obligation to pay interest on the price beginning from the day of delivery;provided, however, that if a due date is provided for the payment of the price, it is not necessary to pay the interest until that due date arrives..

    A compulsory auction is also a sale, so warranty is imposed the same as for an ordinary sale.

    Article 568
    (1) The successful bidder at an auction based on the provisions of the Civil Execution Act and other laws (hereinafter referred to as an "auction" in this Article) may cancel the contract or demand a reduction of the price against the obligor pursuant to the provisions of Articles 541 and 542 and the provisions of Article 563
    (including as applied mutatis mutandis pursuant to Article 565).
    (2) In the cases referred to in the preceding paragraph, if the obligor is insolvent, the successful bidder may demand total or partial reimbursement of the proceeds against the obligees that received the distribution of the proceeds.
    (3) In the cases set forth in the preceding two paragraphs, if obligors knew of the absence of the object or right and did not disclose the same, or if obligees knew of the absence but demanded an auction, the successful bidder may claim compensation for loss or damage against those persons.
    (4) The provisions of the preceding three paragraphs do not apply to the non-conformity with respect to the kind or quality of the subject matter of an auction..

    Article 596
    The provisions of Article 551
    apply mutatis mutandis to loans for use.
    Article 551
    (1) The donor is presumed to have promised to deliver or transfer the thing or right that is the subject matter of the gift, while maintaining its condition as of the time when it is specified as the subject matter of the gift.
    (2) With respect to gifts with burden, the donor provides the same warranty as that of a seller, to the extent of that burden..

    A compulsory auction is also a sale, so warranty is imposed the same as for an ordinary sale.

    Article 568
    (1) The successful bidder at an auction based on the provisions of the Civil Execution Act and other laws (hereinafter referred to as an "auction" in this Article) may cancel the contract or demand a reduction of the price against the obligor pursuant to the provisions of Articles 541 and 542 and the provisions of Article 563
    (including as applied mutatis mutandis pursuant to Article 565).
    (2) In the cases referred to in the preceding paragraph, if the obligor is insolvent, the successful bidder may demand total or partial reimbursement of the proceeds against the obligees that received the distribution of the proceeds.
    (3) In the cases set forth in the preceding two paragraphs, if obligors knew of the absence of the object or right and did not disclose the same, or if obligees knew of the absence but demanded an auction, the successful bidder may claim compensation for loss or damage against those persons.
    (4) The provisions of the preceding three paragraphs do not apply to the non-conformity with respect to the kind or quality of the subject matter of an auction..

    Article 520
    If a claim and obligation becomes vested in the same person, such claim is extinguished;provided, however, that this does not apply if such a claim is the subject matter of the right of a third party..
  • Loss: MultipleNegativesRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim"
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • per_device_train_batch_size: 64
  • learning_rate: 1e-05
  • warmup_ratio: 0.1
  • fp16: True
  • batch_sampler: no_duplicates

All Hyperparameters

Click to expand
  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: no
  • prediction_loss_only: True
  • per_device_train_batch_size: 64
  • per_device_eval_batch_size: 8
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 1
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 1e-05
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 3
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.1
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • save_safetensors: True
  • save_on_each_node: False
  • save_only_model: False
  • restore_callback_states_from_checkpoint: False
  • no_cuda: False
  • use_cpu: False
  • use_mps_device: False
  • seed: 42
  • data_seed: None
  • jit_mode_eval: False
  • use_ipex: False
  • bf16: False
  • fp16: True
  • fp16_opt_level: O1
  • half_precision_backend: auto
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • local_rank: 0
  • ddp_backend: None
  • tpu_num_cores: None
  • tpu_metrics_debug: False
  • debug: []
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_prefetch_factor: None
  • past_index: -1
  • disable_tqdm: False
  • remove_unused_columns: True
  • label_names: None
  • load_best_model_at_end: False
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_min_num_params: 0
  • fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch
  • optim_args: None
  • adafactor: False
  • group_by_length: False
  • length_column_name: length
  • ddp_find_unused_parameters: None
  • ddp_bucket_cap_mb: None
  • ddp_broadcast_buffers: False
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • skip_memory_metrics: True
  • use_legacy_prediction_loop: False
  • push_to_hub: False
  • resume_from_checkpoint: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_private_repo: False
  • hub_always_push: False
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • eval_do_concat_batches: True
  • fp16_backend: auto
  • push_to_hub_model_id: None
  • push_to_hub_organization: None
  • mp_parameters:
  • auto_find_batch_size: False
  • full_determinism: False
  • torchdynamo: None
  • ray_scope: last
  • ddp_timeout: 1800
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • dispatch_batches: None
  • split_batches: None
  • include_tokens_per_second: False
  • include_num_input_tokens_seen: False
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • eval_on_start: False
  • use_liger_kernel: False
  • eval_use_gather_object: False
  • batch_sampler: no_duplicates
  • multi_dataset_batch_sampler: proportional

Training Logs

Epoch Step Training Loss
0.5981 500 2.5385
1.1962 1000 1.7177
1.7943 1500 1.673
2.3923 2000 1.536
2.9904 2500 1.4277

Framework Versions

  • Python: 3.10.12
  • Sentence Transformers: 3.1.1
  • Transformers: 4.45.2
  • PyTorch: 2.5.1+cu124
  • Accelerate: 1.1.0
  • Datasets: 3.1.0
  • Tokenizers: 0.20.3

Citation

BibTeX

Sentence Transformers

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}

MultipleNegativesRankingLoss

@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}