Sentence Similarity
sentence-transformers
Safetensors
modernbert
feature-extraction
Generated from Trainer
dataset_size:16068
loss:MatryoshkaLoss
loss:CachedMultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use bugBug04S/legal-embed-modernbert-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use bugBug04S/legal-embed-modernbert-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("bugBug04S/legal-embed-modernbert-v1") sentences = [ "search_query: Can you \"make\" an insurer fix a total loss vehicle? In state of Missouri my friend was hit from behind. Driver that him stated to police that it was her fault - no issues with fault as this is in police report. He had an older car with body issues but the engine and maintenance was very well maintained. Meaning a junker that drove well. Bluebook value is 2.5-3k. He has 4-5k in damages. The problem is that the other driver's insurance wants to give him 1400. Finding a car that runs similar to this car even with body damage is 4-6k and who really knows how it was maintained. So my question is, legally is there anything this party can do to make the insurance company fix the car vs. handing over a check for the total loss? It is my opinion that he is in a much much worse predicament than before an accident that was not his fault. Not sure how someone can cause an accident and put the victim in a worse situation but I am not sure on the legal recourse. Please let me know what other info you need.", "search_document: If you take away insurance, the basic legal rule is that if one person wrongfully causes damage to another, the wrong-doer can be compelled to make the other part \"whole\", that is, undo the damage that they caused. If you have an item of property that would cost $3,000 to fix or repair, then you could be compelled to pay for that repair or replacement. Even if it is decided that the wrong-doing party is entirely liable for the damage, there can be disputes over what that amount of damage actually is. \"Bluebook\" is one means of standardizing value, but it is not an actual legal definition of what a given car is worth. Really, it just depends on whose evidence about value is most persuasive. An insurance company is motivated to pay the least, and the aggrieved party is motivated to receive the maximum. A jury can weigh the arguments and decide on a figure. If indeed the cost of repair is objectively around $5,000 and the cost of replacement is similar, then a jury would most likely find that that is what the at-fault party is liable for. So the way to \"force\" an insurance company to increase their offer is to persuade them of two facts: that the costs really is about $5,000, and that you are willing to sue their client to recover that $5,000. An insurance company simply covers their client's liability, so if the damage is $5,000, you don't sue the insurance company to get more, you sue their client. You have no obligation to accept an offer from either the insurance company or from their client: but if you don't accept some offer, you will have to sue the client to get anything. Bear in mind that in Missouri, they follow the theory of \"comparative negligence\" which means that if A is found to be 75% at fault and B is 25% at fault, A is liable for 75% of B's losses. The police report does not decide that, rather that is determined by the trial. The police report is relevant to determining who gets a ticket, if anyone: civil liability is determined via a lawsuit. Puttin", "search_document: The relevant regulations in 49 CFR 1540 refer to weapons, not firearms, and unless you are specifically permitted, you cannot carry a weapon in your carry-on luggage. The interpretation of \"weapon\" is given here , which says Weapons are objects that may be used to attack another. TSA considers an item to be a weapon under 49 CFR 1540.111 if it is created for use as a weapon or is so similar to an item created as a weapon that it appears to be, or is easily used as, a weapon. Weapons include firearms, as well as realistic replicas of firearms that may reasonably be thought to be actual weapons. Such realistic replicas are prohibited because their similarity in appearance to real weapons may allow them to be used to intimidate passengers and flight crew. The screener has the discretion to determine when a replica is so realistic that it should be prohibited. Other toy weapons will be allowed in the sterile areas and cabin. Partial weapons and parts of weapons also are prohibited because they may be carried separately by collaborators for assembly subsequent to entry or boarding. In addition, partial weapons may appear to be operative and could be used to intimidate passengers and flight crew.", "search_document: Certainly in Australia it would be legal to ask; it would also be legal to discriminate on this basis (i.e. it is not discrimination on a protected basis). However, it would be culturally inappropriate. It is probably both legal and appropriate in Japan. It is worth noting that a great chunk of culturally inappropriate behavior is not illegal. For example, it would generally be legal for a current or previous employer who was not subject to the Privacy Act (most small business) to disclose your salary; they just don't." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K