bwang0911 commited on
Commit
488b547
·
verified ·
1 Parent(s): 54660cd

Add new SentenceTransformer model.

Browse files
Files changed (2) hide show
  1. README.md +332 -229
  2. model.safetensors +1 -1
README.md CHANGED
@@ -1,233 +1,336 @@
1
  ---
 
 
2
  tags:
3
  - sentence-transformers
4
  - sentence-similarity
5
  - feature-extraction
6
  - generated_from_trainer
7
- - dataset_size:3742
8
  - loss:MultipleNegativesRankingLoss
9
  base_model: jinaai/jina-embeddings-v2-small-en
10
  widget:
11
- - source_sentence: 'Q: I left the scene of an unsafe multi car accident and filed
12
- a police report online a few hours later. I drove into a multi car accident and
13
- another car hit me from behind. I didn’t hit anyone. It was on a very busy interstate,
14
- and I felt it was unsafe and no police were on scene yet. I drove to the next
15
- exit and assessed the damage, which wasn’t terrible, and called my insurance company.
16
- I then drove home and filed a collision report online. Cqn I get in trouble for
17
- this? '
18
  sentences:
19
- - 'A:Leaving the scene of an accident, even if you did not cause it, can potentially
20
- lead to criminal charges and penalties under Kentucky law: - Kentucky law requires
21
- drivers involved in an accident to remain at the scene and provide their contact/insurance
22
- information to the other parties involved. - Filing a report later does not satisfy
23
- this requirement to remain at the scene. Leaving can be considered a hit and run.
24
- - The penalties for leaving the scene of an accident where injuries or property
25
- damage occur are fines up to $500 and up to 90 days in jail. - The fact that the
26
- accident occurred on a busy highway makes leaving more hazardous if others were
27
- not able to avoid the wreckage. - Your concern about safety does not provide legal
28
- justification for leaving. You are required to move to a safe position at the
29
- scene and comply with the law. - The best approach is to remain at the nearest
30
- safe location until police arrive and document the incident. While the consequences
31
- may be minor for a first offense with no injuries, it is still advisable to consult
32
- with a local criminal defense attorney to mitigate penalties for improperly leaving
33
- the scene. Cooperating fully with any law enforcement investigation will also
34
- be important.'
35
- - A:Social Security itself does not typically take assets for repayment, but Medicaid
36
- can seek recovery from the estate of a deceased beneficiary under certain circumstances.
37
- Whether your mobile home would be subject to such recovery can depend on the state's
38
- Medicaid rules and the specifics of the trust. Supplemental Needs Trusts are generally
39
- designed to benefit the individual while preserving eligibility for public benefits,
40
- and the assets within the trust are usually not subject to Medicaid estate recovery.
41
- However, since you own the mobile home and it is not in the trust, it may be considered
42
- part of your estate. It's important to have a properly executed will or to consider
43
- transferring the home into the trust, if permitted, to protect it from estate
44
- recovery. You may want to seek legal guidance to explore options like a Lady Bird
45
- deed or other mechanisms that can help ensure the home passes to your daughters
46
- without being subject to estate recovery. Considering your financial situation,
47
- you might be eligible for legal aid or pro bono services in your area. They can
48
- help you prepare a formal will and advise on protecting your home from potential
49
- estate recovery.
50
- - 'A:Thank you for having concerns about the welfare of animals in transport. A
51
- Colorado attorney familiar with agricultural and animal rights issues might be
52
- able to advise best on this, but you await a response for three weeks. This is
53
- not an area that many attorneys deal with. Departments of Agriculture, on a federal
54
- or state level might be able to offer direction toward relevant resources. There
55
- might be scientific research out there on this issue. There are also animal welfare
56
- groups that deal with the rights of farm animals. Here are two, FARM SANCTUARY
57
- and THE HUMANE SOCIETY OF THE UNITED STATES. It''s possible they might be able
58
- to offer meaningful input here. Here are their links: Farm Sanctuary - https://www.farmsanctuary.org/about-us/leadership/
59
- The Humane Society of the United States - https://www.humanesociety.org/farm-animal-welfare
60
- Thank you for your compassion and concern for the welfare of animals. Good luck
61
- Tim Akpinar'
62
- - source_sentence: 'Q: I need help with mold in my apartment. My landlord isn''t doing
63
- anything & my 1 year old now has a virus due to the mold. The management has been
64
- here a week last week it was someone else but I say this because they''re saying
65
- none of my money orders can be found and I have not paid rent which taxes went
66
- really funded me and I have proof which is an approval letter. I think now they''re
67
- just trying to listen for any little thing because this mode is becoming a problem
68
- and my daughter is getting worse. '
 
 
 
 
 
69
  sentences:
70
- - A:Without words of survivorship the grantees and their heirs will take as tenants
71
- in common of undivided interests. Someone has to pay the taxes and mortgage or
72
- the property is lost. You may wish to hire an attorney to determine heirship and
73
- get a Deed from all other TICs over to you so that you own it in fee simple. You
74
- will probably have to pay for their transfers.
75
- - A:There are a number of licensed mold remediation companies that can remediate
76
- mold in a dwelling. The procedure to notify a landlord to make necessary repairs
77
- is described in detail in Section 92.051-92.062 of the Texas Property Code. It's
78
- a few pages of reading, but too long to post here. If, after you give the proper
79
- written notice, the landlord fails to correct the mold problem within the proper
80
- time, you may be able to invoke your right to hire and pay a mold remediation
81
- company to correct the problem, and then deduct that cost from your rent. In the
82
- meantime, you should temporarily find another place to stay with your daughter.
83
- While mold does not "cause" viruses, it can cause fungal infections and allergic
84
- reactions that exacerbate the symptoms of common viral infections like the flu.
85
- Proving a causal link will require medical testing and expert medical opinion
86
- from a specialist in that particular field of medicine. That is likely to be expensive
87
- and is often inconclusive. One of the more common recommended treatments is to
88
- remove yourself from the environment where the mold is. Symptoms from exposure
89
- to mold often--but not always--go away within a few days.
90
- - A:In California, the specific time frame for noticing members of a meeting for
91
- a corporation, including a union's Board of Directors, is typically found in the
92
- corporation's bylaws rather than directly in the Corporations Code or Civil Code.
93
- These bylaws should outline the notice requirements for meetings, including the
94
- minimum time in which members must be notified prior to a meeting. If you believe
95
- that a Board of Directors representing a Union is violating these notice requirements,
96
- the first step is usually to address the issue internally within the organization.
97
- This could involve bringing the matter to the attention of the Board, a compliance
98
- officer, or through internal dispute resolution mechanisms as outlined in the
99
- Union's bylaws or governing documents. If internal remedies are ineffective or
100
- unavailable, and you believe there is a violation of legal obligations under the
101
- Corporations Code or other relevant laws, you can report the violation to the
102
- appropriate regulatory body. In the case of unions, this might involve state labor
103
- boards or other agencies overseeing labor and employment practices. It's also
104
- advisable to seek legal advice to understand the best course of action and ensure
105
- that your rights, and those of other members, are appropriately protected.
106
- - source_sentence: 'Q: My parents will has nothing in it about my mothers jewelry.
107
- However my father split his guns with my 2 brothers yrs ago.. I''m the only girl
108
- and the baby. It was always known that I was to inherit mother''s jewelry collection.
109
- My oldest brother is the exacutor of my trust and was the beneficiary of my parents
110
- estate for past 7 years. Mother died n November and dad in 2018. We are at the
111
- end of the succession and I was told there is no jewelry left. I know for a fact
112
- mom told me her diamonds were in a brothers safety deposit box . Please tell me
113
- can I do anything to get my mom''s things? I''m heartbroken. My brothers are older
114
- than I am...10 yrs+ and we have never got along. I really don''t know them. I''ve
115
- been treated very unfair and disliked by both and now this. '
 
 
 
 
 
 
 
 
 
 
116
  sentences:
117
- - A:You need to contact an attorney who handles successions and estate matters as
118
- soon as possible to file the proper pleadings to review the pleadings filed, protect
119
- your interest and to object to the inventory your brother has likely filed, if
120
- it does not have your mother's jewelry listed.
121
- - A:If you have an attorney, your attorney can assist you in this. If you don't
122
- have one, you need one. Death Certificates are somewhat difficult to obtain unless
123
- you fall within the list of individuals to whom it can be released. The State
124
- Department of Health - Office of Vital Statistics is the state agency in Oklahoma
125
- that maintains Oklahoma Death Certificates.
126
- - A:You must find out whether your city has a process for petitioning to place a
127
- referendum on the ballot (also called initiative petition), and if so, what the
128
- petition requirements are (method, number of signatures needed, time restrictions,
129
- etc.). I would start out by calling the City Clerk's Office or City Attorney's
130
- Office for guidance. Otherwise, hire an attorney handling local government issues
131
- to research it and advise you on the matter. My office can offer advice on this
132
- issue, after reviewing the ordinances and contacting city officials.
133
- - source_sentence: 'Q: I have an issue where a dentist has pulled the wrong tooth
134
- leaving me unable to chew on one side of my mouth for 4 weeks. The dentist lied
135
- and said the tooth cracked while putting the right tooth not knowing that his
136
- assistant had already given me the tooth in question. It’s not broken or cracked
137
- in any way. I also had temporary dentures made that would allow me to chew on
138
- that side until the wounds heal, but they are now of no use. I have to wait 4
139
- weeks to let the wounds heal before I can be fitted for new dentures leaving me
140
- unable to use the left side of my mouth, I’m taking 3-4 pain pills a day and have
141
- only be able to eat soup since the 16th of November. No Thanksgiving dinner. Is
142
- there any way to get compensation for negligence, pain and suffering in my case? '
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  sentences:
144
- - A:In California, if a dentist performs a procedure incorrectly, such as extracting
145
- the wrong tooth, it may be grounds for a dental malpractice claim. Dental malpractice
146
- is a form of professional negligence, and to establish a case, you typically need
147
- to prove that the dentist failed to provide the standard of care expected in the
148
- profession and that this failure directly caused your injury or harm. In your
149
- situation, the removal of the wrong tooth and the subsequent issues you're facing,
150
- such as pain and the inability to eat properly, could potentially be considered
151
- as damages in a malpractice claim. Compensation in such cases can include costs
152
- for medical treatment, pain and suffering, and any other related expenses. It's
153
- important to gather all relevant documentation, including dental records, evidence
154
- of the extracted tooth, and any correspondence with the dentist. Given the complexities
155
- involved in proving dental malpractice and the need to understand the specific
156
- medical and legal aspects of your case, consulting with an attorney experienced
157
- in medical malpractice would be advisable. An attorney can assess the details
158
- of your case, advise on the strength of your claim, and guide you through the
159
- process of seeking compensation. They can also help negotiate a settlement or
160
- represent you in court if necessary.
161
- - A:Sorry to hear about your ordeal. You are basically asking if the traffic magistrate
162
- can convict someone who shouldn't be found guilty. That's the same as asking if
163
- the magistrate has the power to make an incorrect decision. The answer, unfortunately,
164
- is yes, and the magistrate is immune from a money damages claim for making an
165
- incorrect decision. Incorrect judicial decisions are common - that's why appellate
166
- courts exist, and that's why appellate courts are very busy. I suggest you promptly
167
- consult a traffic ticket attorney in your area.
168
- - A:It appears that the utility company is applying your payments to the oldest
169
- debt, not the current debt, this means as long as you keep a past due balance
170
- you are going to be assessed late fees for underpayment of the bill. To avoid
171
- this you would have to pay off the current balance 100$. I would question the
172
- March 1 $30 charge because your past due is only $220, so they overcharged you
173
- on the penalty. One of the problems with fighting with your utility company is
174
- that they always have the last word and if you don't pay what they demand, they
175
- cut off your service and then won't allow you to have an account with them. It
176
- isn't fair or right but that's the way it is. There are also programs for people
177
- to spread out utility bill payments when the utility has high and low seasons
178
- (i.e. gas bill in the mountains where colder in winter, more gas for heating)
179
- You should look into your utility to see if they have such a program.
180
- - source_sentence: 'Q: I''m trying to figure out if my "financial planner". was actually
181
- qualified to give me advice on investing - do they have any kind of certification
182
- they have to have? '
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  sentences:
184
- - A:Landlords must repair health and safety issues and provide essential services
185
- under the Landlord Tenant Law. Generally, the statutes specify what you may sue
186
- for and what damages you can recover. The analysis is very situation specific.
187
- However, another option you may have is deliver a letter to the landlord stating
188
- that you intend to cancel your lease if the essential service or health and safety
189
- issue is not corrected within 14 days. However, to make sure that you follow the
190
- legal procedure to terminate your lease you should talk to a local lawyer about
191
- your situation. Additionally, you should speak with a local lawyer about your
192
- situation to find out what claims or options you may have.
193
- - A:In California, the specifics of your employment contract and job description
194
- are crucial in determining the legality of your employer's actions. If your agreement
195
- specifies your role and compensation with one entity, you may have grounds to
196
- request additional pay for work performed for the other companies. Employers must
197
- comply with California's labor laws regarding wages, overtime, and working conditions.
198
- As a salaried employee, it is essential to review whether your salary covers the
199
- additional work, keeping in mind that non-exempt salaried employees are still
200
- eligible for overtime. You have the right to discuss your work conditions and
201
- seek an agreement that compensates for any extra duties. Declining additional
202
- tasks not outlined in your original job scope may be within your rights, but it
203
- could potentially affect your employment status. Consult with an attorney who
204
- can provide guidance based on your specific situation and employment agreement.
205
- They can offer tailored advice on how to approach your employer and negotiate
206
- terms or whether legal action may be appropriate.
207
- - A:If your "financial planner" is a stockbroker who sells and markets stocks, bonds
208
- or other securities products, the easiest way to assess their certifications is
209
- checking the FINRA platform Brokercheck. Simply type in the brokers name and you
210
- will see what certifications the broker or "financial planner" has under the "Examinations"
211
- section of the platform. This will tell you if the financial planner has a Series
212
- 7 license which permits someone to sell or market securities products. Brokercheck
213
- will also contain other critical information relevant to the brokers qualifications
214
- such as the number of years affiliated with a broker dealer and what member firm
215
- the broker is affiliated with. The "Disclosures" section will show whether the
216
- broker has been involved in any past customer disputes or regulatory matters with
217
- FINRA the self regulatory organization which manages Brokercheck and overseas
218
- broker dealers. Your "financial planner" may not appear on Brokercheck if the
219
- individual was an accountant or works as a CFA or CFP. More information is needed
220
- on the financial planner in order to really assess what certifications they are
221
- required to have.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  datasets:
223
- - dzunggg/legal-qa-v1
224
  pipeline_tag: sentence-similarity
225
  library_name: sentence-transformers
226
  ---
227
 
228
  # SentenceTransformer based on jinaai/jina-embeddings-v2-small-en
229
 
230
- This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [jinaai/jina-embeddings-v2-small-en](https://huggingface.co/jinaai/jina-embeddings-v2-small-en) on the [legal-qa-v1](https://huggingface.co/datasets/dzunggg/legal-qa-v1) dataset. It maps sentences & paragraphs to a 512-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
231
 
232
  ## Model Details
233
 
@@ -238,8 +341,8 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [j
238
  - **Output Dimensionality:** 512 tokens
239
  - **Similarity Function:** Cosine Similarity
240
  - **Training Dataset:**
241
- - [legal-qa-v1](https://huggingface.co/datasets/dzunggg/legal-qa-v1)
242
- <!-- - **Language:** Unknown -->
243
  <!-- - **License:** Unknown -->
244
 
245
  ### Model Sources
@@ -275,9 +378,9 @@ from sentence_transformers import SentenceTransformer
275
  model = SentenceTransformer("bwang0911/jev2-legal")
276
  # Run inference
277
  sentences = [
278
- 'Q: I\'m trying to figure out if my "financial planner". was actually qualified to give me advice on investing - do they have any kind of certification they have to have? ',
279
- 'A:If your "financial planner" is a stockbroker who sells and markets stocks, bonds or other securities products, the easiest way to assess their certifications is checking the FINRA platform Brokercheck. Simply type in the brokers name and you will see what certifications the broker or "financial planner" has under the "Examinations" section of the platform. This will tell you if the financial planner has a Series 7 license which permits someone to sell or market securities products. Brokercheck will also contain other critical information relevant to the brokers qualifications such as the number of years affiliated with a broker dealer and what member firm the broker is affiliated with. The "Disclosures" section will show whether the broker has been involved in any past customer disputes or regulatory matters with FINRA the self regulatory organization which manages Brokercheck and overseas broker dealers. Your "financial planner" may not appear on Brokercheck if the individual was an accountant or works as a CFA or CFP. More information is needed on the financial planner in order to really assess what certifications they are required to have.',
280
- "A:In California, the specifics of your employment contract and job description are crucial in determining the legality of your employer's actions. If your agreement specifies your role and compensation with one entity, you may have grounds to request additional pay for work performed for the other companies. Employers must comply with California's labor laws regarding wages, overtime, and working conditions. As a salaried employee, it is essential to review whether your salary covers the additional work, keeping in mind that non-exempt salaried employees are still eligible for overtime. You have the right to discuss your work conditions and seek an agreement that compensates for any extra duties. Declining additional tasks not outlined in your original job scope may be within your rights, but it could potentially affect your employment status. Consult with an attorney who can provide guidance based on your specific situation and employment agreement. They can offer tailored advice on how to approach your employer and negotiate terms or whether legal action may be appropriate.",
281
  ]
282
  embeddings = model.encode(sentences)
283
  print(embeddings.shape)
@@ -329,22 +432,22 @@ You can finetune this model on your own dataset.
329
 
330
  ### Training Dataset
331
 
332
- #### legal-qa-v1
333
 
334
- * Dataset: [legal-qa-v1](https://huggingface.co/datasets/dzunggg/legal-qa-v1) at [6280beb](https://huggingface.co/datasets/dzunggg/legal-qa-v1/tree/6280beb74faf5b4dfd1f63adbf7d18908b377b93)
335
- * Size: 3,742 training samples
336
- * Columns: <code>question</code> and <code>answer</code>
337
  * Approximate statistics based on the first 1000 samples:
338
- | | question | answer |
339
- |:--------|:-------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
340
- | type | string | string |
341
- | details | <ul><li>min: 13 tokens</li><li>mean: 116.38 tokens</li><li>max: 292 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 155.84 tokens</li><li>max: 512 tokens</li></ul> |
342
  * Samples:
343
- | question | answer |
344
- |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
345
- | <code>Q: I was wondering if a pain management office is acting illegally/did an illegal action.. I was discharged as a patient from a pain management office after them telling me that a previous pain management specialist I saw administered a steroid shot wrong and I told them in the portal that I spoke to lawyers for advice but no lawsuit/case was created. It was maybe 1-2 months after I was discharged that I no longer have access to my patient portal with them. Every time I try to login I enter my credentials, wait a few seconds, and then I get re-directed back to the original screen where I have various options to login. I know I can speak to the office directly and ask them about what specifically is going on, talk to other lawyers if this is a violation of my rights, etc. but I was just wondering if anyone on this site would know if this action is in fact illegal. </code> | <code>A:In Kentucky, your situation raises questions about patient rights and medical records access. If you were discharged from a pain management office and subsequently lost access to your patient portal, it's important to understand your rights regarding medical records. Under the Health Insurance Portability and Accountability Act (HIPAA), you have the right to access your own medical records. A healthcare provider cannot deny you access to your records, even if you were discharged from their practice. The issue with the patient portal could be a technical glitch or a deliberate action, but either way, it needs to be addressed. You should contact the pain management office directly to inquire about the issue with the patient portal. They are obligated to provide you with a way to access your medical records, which may include providing paper copies or access through a different electronic means. If the office is unresponsive or refuses to provide access to your records, consider speaking to a lawyer who is knowledgeable in health care law. They can guide you on how to enforce your rights to access your medical records and address any potential legal violations by the healthcare provider. Remember, your right to access your medical records is protected by law, and any obstacles to this access should be promptly addressed.</code> |
346
- | <code>Q: My houseboat was moved while I was at work and was asked to leave the property after 16 months without any notices.. Management told me that he didn’t like those kind of people that came to visit me. I went on vacation and when I came back my electrical cord was missing and my water hose was cut in pieces. He than got of hold of me and said I have your boat and that he was putting a lien on it for back rent. I never received any notices from management. He than told me that he wanted me to leave the property and that he would hold my boat until i found another parking spot for it. I finally found a parking spot a year later and I find out that he liened my houseboat and was selling it and told me to sue him and gave me his lawyers contact. What options do I have. I now am homeless and I lost my job and seeing myself falling as time goes. Any help would be appreciated. </code> | <code>A:If your houseboat was moved without your permission and you were asked to leave the property after 16 months without any notices, and the management has placed a lien on your houseboat and is attempting to sell it, you may have legal options to challenge their actions. First, you may want to consult with an attorney who specializes in property law or landlord-tenant law to review your case and provide guidance on your legal rights and options. It may also be helpful to gather any evidence you have, such as receipts or documentation of payments or communications with the management, to support your case. Some potential legal claims you may have against the management include breach of contract, conversion, or wrongful eviction. These claims may allow you to seek damages or other forms of relief, such as the return of your houseboat or compensation for any losses you have suffered. It's important to act quickly, as there may be deadlines or other requirements for filing a legal claim. An attorney can provide guidance on the best course of action and help you navigate the legal process.</code> |
347
- | <code>Q: Wondering if I could sue a dealership if I’ve had to replace my transmission 2 times within a year. I’ve had to replace my transmission now 2 different times in 10 months of owning my 2018 Ford Expedition. My first replacement was $5,200 and then 1 1/2 months later the transmission went out and now they are working on it again </code> | <code>A:Yes, you can sue a dealership if you have had to replace your transmission 2 times within a year. Whether you will be successful depends on the facts and your presentation. You don't mention anything about any written agreements. Allowing an attorney to evaluate, organize and draft your conciliation or (small claims) complaint (up to $15,000) would be a wise investment. A well polished complaint will not only provide the judge a solid foundation to rule in your favor, but a detailed outline on which to base your oral argument. It would provide you a distinct advantage over the opposing party. The fees can be reasonable depending on the attorney.</code> |
348
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
349
  ```json
350
  {
@@ -356,7 +459,7 @@ You can finetune this model on your own dataset.
356
  ### Training Hyperparameters
357
  #### Non-Default Hyperparameters
358
 
359
- - `per_device_train_batch_size`: 32
360
  - `learning_rate`: 2e-05
361
  - `warmup_ratio`: 0.1
362
  - `fp16`: True
@@ -369,7 +472,7 @@ You can finetune this model on your own dataset.
369
  - `do_predict`: False
370
  - `eval_strategy`: no
371
  - `prediction_loss_only`: True
372
- - `per_device_train_batch_size`: 32
373
  - `per_device_eval_batch_size`: 8
374
  - `per_gpu_train_batch_size`: None
375
  - `per_gpu_eval_batch_size`: None
 
1
  ---
2
+ language:
3
+ - en
4
  tags:
5
  - sentence-transformers
6
  - sentence-similarity
7
  - feature-extraction
8
  - generated_from_trainer
9
+ - dataset_size:9260
10
  - loss:MultipleNegativesRankingLoss
11
  base_model: jinaai/jina-embeddings-v2-small-en
12
  widget:
13
+ - source_sentence: '
14
+
15
+ If the adjudication of disappearance is made with respect to A, who was aboard
16
+ a vessel which later sank, A is deemed to have died upon elapse of one year after
17
+ the sinking accident.
18
+
19
+ '
20
  sentences:
21
+ - '
22
+
23
+ Article 31
24
+
25
+ A person subject to a declaration of disappearance pursuant to the provisions
26
+ of paragraph (1) of the preceding Article is deemed to have died when the period
27
+ of time referred to in that paragraph ended, and a person subject to a declaration
28
+ of disappearance pursuant to the provisions of paragraph (2) of that Article is
29
+ deemed to have died when that danger had passed.
30
+
31
+ Article 30
32
+
33
+ (1) If it has been unclear for seven years whether an absentee is dead or alive,
34
+ the family court may enter a declaration of disappearance at the request of an
35
+ interested person.
36
+
37
+ (2) The provisions of the preceding paragraph also apply if it has been unclear
38
+ whether a person who has entered a war zone, was aboard a vessel that has sunk,
39
+ or was otherwise exposed to a danger likely to result in a person''s death is
40
+ dead or alive, for one year after the war has ended, the vessel sank, or such
41
+ other danger has passed..
42
+
43
+ '
44
+ - '
45
+
46
+ Article 9
47
+
48
+ A juridical act performed by an adult ward is voidable;provided, however, that
49
+ this does not apply to the purchase of daily necessities or to any other act involved
50
+ in day-to-day life..
51
+
52
+ '
53
+ - '
54
+
55
+ Article 97
56
+
57
+ (1) A manifestation of intention becomes effective at the time notice thereof
58
+ reaches the other party.
59
+
60
+ (2) If the other party prevents notice of a manifestation of intention from reaching
61
+ them without a legitimate reason, the notice is deemed to have reached that party
62
+ at the time it would have normally reached them.
63
+
64
+ (3) The effect of a manifestation of intention is not impaired even if the person
65
+ making it dies, loses mental capacity, or becomes subject to restrictions on their
66
+ legal capacity to act after having sent the notice..
67
+
68
+ '
69
+ - source_sentence: '
70
+
71
+ In cases where a contract that creates a pledge upon a claim that cannot be assigned
72
+ due to its nature has been made, such contract is void, regardless of whether
73
+ the pledgee acted in good or bad faith regarding said non-assignability.
74
+
75
+ '
76
  sentences:
77
+ - '
78
+
79
+ Article 372
80
+
81
+ The provisions of Article 296, Article 304
82
+
83
+ and Article 351
84
+
85
+ apply mutatis mutandis to mortgages.
86
+
87
+ Article 304
88
+
89
+ (1) A statutory lien may also be exercised against things including monies that
90
+ the obligor is to receive as a result of the sale, lease or loss of, or damage
91
+ to, the subject matter of the statutory lien;provided, however, that the holder
92
+ of the statutory lien must attach the same before the payment or delivery of the
93
+ monies or other thing.
94
+
95
+ (2) The provisions of the preceding paragraph also apply to the consideration
96
+ for real rights created by the obligor on the subject matter of the statutory
97
+ lien..
98
+
99
+ '
100
+ - '
101
+
102
+ Article 636
103
+
104
+ If the contractor delivers to the party ordering work of a content the subject
105
+ matter of work that does not conform to the terms of the contract with respect
106
+ to the kind or quality (in the case of the subject matter of work that is not
107
+ required to be delivered, if the subject matter of work does not conform to the
108
+ terms of the contract with respect to the kind or quality when the work is finished),
109
+ the party ordering work may not demand cure of the non-conformity of performance,
110
+ demand a reduction of the remuneration, claim compensation for loss or damage,
111
+ or cancel the contract, on the grounds of the non-conformity caused by the nature
112
+ of the materials that the party ordering work has provided or any instructions
113
+ that the relevant party has given;provided, however, that this does not apply
114
+ if the contractor knew that the materials or instructions were inappropriate but
115
+ did not notify the ordering party of this..
116
+
117
+ '
118
+ - '
119
+
120
+ Article 343
121
+
122
+ A thing that cannot be transferred to another person may not be made the subject
123
+ of a pledge..
124
+
125
+ '
126
+ - source_sentence: '
127
+
128
+ If a mortgage creation contract has the agreement of the mortgagee and of the
129
+ mortgagor that has ownership of the subject matter of the mortgage, it will be
130
+ effective even if it is not in writing and there is no registration of its creation.
131
+
132
+ '
133
  sentences:
134
+ - '
135
+
136
+ Article 176
137
+
138
+ The creation and transfer of a real right becomes effective solely by the manifestations
139
+ of intention of the parties.
140
+
141
+ Article 177
142
+
143
+ Acquisitions of, losses of and changes in real rights on immovables may not be
144
+ duly asserted against any third parties, unless the same are registered pursuant
145
+ to the applicable provisions of the Real Property Registration Act (Act No. 123
146
+ of 2004) and other laws regarding registration..
147
+
148
+ '
149
+ - '
150
+
151
+ Article 370
152
+
153
+ A mortgage extends to the things that form an integral part of the immovables
154
+ that are the subject matter of the mortgage (hereinafter referred to as "mortgaged
155
+ immovables") except for buildings on the mortgaged land; provided, however, that
156
+ this does not apply if the act establishing the mortgage provides otherwise or
157
+ the rescission of fraudulent act may be demanded as prescribed in Article 424,
158
+ paragraph (3) with regard to the act of the obligor..
159
+
160
+ '
161
+ - '
162
+
163
+ Article 335
164
+
165
+ (1) Holders of general statutory liens cannot be paid out of immovables unless
166
+ they are first paid out of property other than immovables and a claim that is
167
+ not satisfied remains.
168
+
169
+ (2) With respect to immovables, holders of general statutory liens must first
170
+ be paid out of those that are not the subject matters of special security.
171
+
172
+ (3) If holders of general statutory liens fail to participate in distributions
173
+ in accordance with the provisions of the preceding two paragraphs, they may not
174
+ exercise their statutory liens against registered third parties with respect to
175
+ amounts that would have been paid to them if they had participated in the distribution.
176
+
177
+ (4) The provisions of the preceding three paragraphs do not apply if the proceeds
178
+ of immovables are distributed prior to the proceeds of assets other than immovables,
179
+ or if the proceeds of immovables that are the subject matter of a special security
180
+ are distributed prior to the proceeds of other immovables..
181
+
182
+ '
183
+ - source_sentence: '
184
+
185
+ In cases where any defect in the installation or preservation of any structure
186
+ on land caused damages to A,if B who possesses such structure shall be liable
187
+ to compensate for those damages, the owner must compensate for the damages too
188
+ when B has no financial resources.
189
+
190
+ '
191
  sentences:
192
+ - '
193
+
194
+ Article 192 A person that commences the possession of movables peacefully and
195
+ openly by a transactional act acquires the rights that are exercised with respect
196
+ to the movables immediately if the person possesses it in good faith and without
197
+ negligence.
198
+
199
+ Article 193 In the cases provided for in the preceding Article, if the possessed
200
+ thing constitutes stolen or lost property, the victim or the person that lost
201
+ the thing may demand the return of that thing from the possessor within two years
202
+ from the time of the loss or theft.
203
+
204
+ '
205
+ - '
206
+
207
+ Article 717
208
+
209
+ (1) If a defect in the installation or preservation of a structure on land causes
210
+ damage to another person, the possessor of that structure is liable to the person
211
+ incurring damage to compensate for the damage;provided, however, that if the possessor
212
+ has exercised the necessary care to prevent the damage, the owner must compensate
213
+ for the damage.
214
+
215
+ (2) The provisions of the preceding paragraph apply mutatis mutandis if there
216
+ is a defect in the planting or supporting of bamboo or trees.
217
+
218
+ (3) In the cases referred to in the preceding two paragraphs, if there is another
219
+ person that is liable for the cause of the damage, the possessor or owner may
220
+ exercise their right to reimbursement against that person..
221
+
222
+ '
223
+ - '
224
+
225
+ Article 587-2
226
+
227
+ (1) Notwithstanding the provisions of the preceding Article, a loan for consumption
228
+ made in writing becomes effective when a first party promises to deliver money
229
+ or any other thing and a second party promises to return a thing of the same type,
230
+ quality, and quantity as the thing delivered.
231
+
232
+ (2) The borrower of a loan for consumption made in writing may cancel the contract
233
+ until the borrower receives the money or other thing from the lender. In such
234
+ a case, if the lender sustains any damage from the cancellation of the contract,
235
+ the lender may claim compensation therefor.
236
+
237
+ (3) A loan for consumption made in writing ceases to be effective if either of
238
+ the parties receives an order commencing bankruptcy proceedings before the borrower
239
+ receives the thing such as money from the lender.
240
+
241
+ (4) If a loan for consumption is made by means of an electronic or magnetic record
242
+ in which its content is recorded, the loan for consumption is deemed to have been
243
+ made in writing, and the provisions of the preceding three paragraphs apply thereto..
244
+
245
+ '
246
+ - source_sentence: '
247
+
248
+ In cases where real rights do not require requirements of perfection, the real
249
+ rights that formed earlier in time take priority.
250
+
251
+ '
252
  sentences:
253
+ - '
254
+
255
+ Article 177
256
+
257
+ Acquisitions of, losses of and changes in real rights on immovables may not be
258
+ duly asserted against any third parties, unless the same are registered pursuant
259
+ to the applicable provisions of the Real Property Registration Act (Act No. 123
260
+ of 2004) and other laws regarding registration..
261
+
262
+ '
263
+ - '
264
+
265
+ Article 445
266
+
267
+ Even if one of the joint and several obligors is released from the obligation
268
+ or the prescription period expires for one of the joint and several obligors,
269
+ other joint and several obligors may exercise the right to reimbursement referred
270
+ to in Article 442, paragraph (1) against that one joint and several obligor..
271
+
272
+ '
273
+ - '
274
+
275
+ Article 329
276
+
277
+ (1) If there are competing general statutory liens, the order of priority follows
278
+ the order set forth in each item of Article 306.
279
+
280
+ (2) Ife there are competing a general statutory lien and a special statutory lien,
281
+ the special statutory lien has priority over the general statutory lien;provided,
282
+ however, that statutory liens on expenses for the common benefit have priority
283
+ being effective against all obligees who benefit from the same.
284
+
285
+ Article 306
286
+
287
+ A person that has a claim arising from the causes set forth below has a statutory
288
+ lien over the entire assets of the obligor:
289
+
290
+ (i) expenses for the common benefit;
291
+
292
+ (ii) an employer-employee relationship;
293
+
294
+ (iii) funeral expenses; or
295
+
296
+ (iv) the supply of daily necessaries.
297
+
298
+ Article 330
299
+
300
+ (1) If there are competing special statutory liens against the same movables,
301
+ the order of priority follows the order set forth below.In this case, if there
302
+ are two or more preservers with respect to the statutory liens for preservation
303
+ of movables set forth in item (ii), a new preserver has priority over previous
304
+ preservers:
305
+
306
+ (i) statutory liens for leases of immovables, lodging at hotels and transportation;
307
+
308
+ (ii) statutory liens for the preservation of movables; and
309
+
310
+ (iii) statutory liens for the sale of movables, the supply of seeds and seedlings
311
+ or fertilizer, agricultural labor and industrial labor.
312
+
313
+ (2) In the cases referred to in the preceding paragraph, if a holder of a statutory
314
+ lien ranked first knew at the time of acquiring the relevant claim of the existence
315
+ of a holder of a statutory lien of the second or third rank, that holder may not
316
+ exercise the relevant rights of priority against those persons. The same applies
317
+ to the exercise against persons that have preserved things on behalf of the holder
318
+ of a statutory lien of the first rank.
319
+
320
+ (3) Regarding fruits, the first rank belongs to persons who engage in agricultural
321
+ labor, the second rank belongs to persons that supply seeds and seedlings or fertilizer,
322
+ and the third rank belongs to lessors of land..
323
+
324
+ '
325
  datasets:
326
+ - sentence-transformers/coliee
327
  pipeline_tag: sentence-similarity
328
  library_name: sentence-transformers
329
  ---
330
 
331
  # SentenceTransformer based on jinaai/jina-embeddings-v2-small-en
332
 
333
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [jinaai/jina-embeddings-v2-small-en](https://huggingface.co/jinaai/jina-embeddings-v2-small-en) on the [coliee](https://huggingface.co/datasets/sentence-transformers/coliee) dataset. It maps sentences & paragraphs to a 512-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
334
 
335
  ## Model Details
336
 
 
341
  - **Output Dimensionality:** 512 tokens
342
  - **Similarity Function:** Cosine Similarity
343
  - **Training Dataset:**
344
+ - [coliee](https://huggingface.co/datasets/sentence-transformers/coliee)
345
+ - **Language:** en
346
  <!-- - **License:** Unknown -->
347
 
348
  ### Model Sources
 
378
  model = SentenceTransformer("bwang0911/jev2-legal")
379
  # Run inference
380
  sentences = [
381
+ '\nIn cases where real rights do not require requirements of perfection, the real rights that formed earlier in time take priority.\n',
382
+ '\nArticle 329\n(1) If there are competing general statutory liens, the order of priority follows the order set forth in each item of Article 306.\n(2) Ife there are competing a general statutory lien and a special statutory lien, the special statutory lien has priority over the general statutory lien;provided, however, that statutory liens on expenses for the common benefit have priority being effective against all obligees who benefit from the same.\nArticle 306\nA person that has a claim arising from the causes set forth below has a statutory lien over the entire assets of the obligor:\n(i) expenses for the common benefit;\n(ii) an employer-employee relationship;\n(iii) funeral expenses; or\n(iv) the supply of daily necessaries.\nArticle 330\n(1) If there are competing special statutory liens against the same movables, the order of priority follows the order set forth below.In this case, if there are two or more preservers with respect to the statutory liens for preservation of movables set forth in item (ii), a new preserver has priority over previous preservers:\n(i) statutory liens for leases of immovables, lodging at hotels and transportation;\n(ii) statutory liens for the preservation of movables; and\n(iii) statutory liens for the sale of movables, the supply of seeds and seedlings or fertilizer, agricultural labor and industrial labor.\n(2) In the cases referred to in the preceding paragraph, if a holder of a statutory lien ranked first knew at the time of acquiring the relevant claim of the existence of a holder of a statutory lien of the second or third rank, that holder may not exercise the relevant rights of priority against those persons. The same applies to the exercise against persons that have preserved things on behalf of the holder of a statutory lien of the first rank.\n(3) Regarding fruits, the first rank belongs to persons who engage in agricultural labor, the second rank belongs to persons that supply seeds and seedlings or fertilizer, and the third rank belongs to lessors of land..\n',
383
+ '\nArticle 177\nAcquisitions of, losses of and changes in real rights on immovables may not be duly asserted against any third parties, unless the same are registered pursuant to the applicable provisions of the Real Property Registration Act (Act No. 123 of 2004) and other laws regarding registration..\n',
384
  ]
385
  embeddings = model.encode(sentences)
386
  print(embeddings.shape)
 
432
 
433
  ### Training Dataset
434
 
435
+ #### coliee
436
 
437
+ * Dataset: [coliee](https://huggingface.co/datasets/sentence-transformers/coliee) at [d90012e](https://huggingface.co/datasets/sentence-transformers/coliee/tree/d90012e1f3a0d7103713bb2ce7faed1636a10090)
438
+ * Size: 9,260 training samples
439
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
440
  * Approximate statistics based on the first 1000 samples:
441
+ | | anchor | positive | negative |
442
+ |:--------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
443
+ | type | string | string | string |
444
+ | details | <ul><li>min: 10 tokens</li><li>mean: 46.44 tokens</li><li>max: 137 tokens</li></ul> | <ul><li>min: 22 tokens</li><li>mean: 117.11 tokens</li><li>max: 441 tokens</li></ul> | <ul><li>min: 14 tokens</li><li>mean: 123.64 tokens</li><li>max: 405 tokens</li></ul> |
445
  * Samples:
446
+ | anchor | positive | negative |
447
+ |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
448
+ | <code><br>Actions for maintenance of possession must be brought during the disturbance.<br></code> | <code><br>Article 201<br>(1) An action for maintenance of possession must be filed during the obstruction or within one year after the obstruction stops;provided, however, that if the possessed thing has been damaged due to construction work and either one year has passed from the time when the construction was started or the construction has been completed, the action may not be filed.<br>(2) An action for preservation of possession may be filed so long as the danger of obstruction exists.In this case, the provisions of the proviso to the preceding paragraph apply mutatis mutandis if the possessed thing is likely to be damaged by the construction work.<br>(3) An action for recovery of possession must be filed within one year from the time when a possessor was forcibly dispossessed..<br></code> | <code><br>Article 246<br>(1) If a person (hereinafter in this Article referred to as "processor") adds labor to another person's movables, the ownership of the processed thing belongs to the owner of the material; provided, however, that if the value derived from the work significantly exceeds the value of the material, the processor acquires ownership of the processed thing.<br>(2) In the cases prescribed in the preceding paragraph, if the processor provides a portion of the materials, the processor acquires ownership of the processed thing only if the value of provided materials added to the value derived from the labor exceeds the value of the other person's materials.<br>Article 91<br>If a party to a juridical act manifests an intention that is inconsistent with the provisions of laws and regulations that are not related to public policy, that intention prevails..<br></code> |
449
+ | <code><br>In the case where (A) loses his/her capacity to act after the dispatch of the notice of an offer of a contract to (B), who is a person at a distance, even if (B) knows such fact, the offer of the contract shall become effective.<br></code> | <code><br>Article 526<br>If an offeror dies, comes to be in a constant state wherein the offeror lacks mental capacity, or becomes subject to restrictions on legal capacity to act after issuing notice of the offer, and the offeror has manifested the intention not to make the offer effective should any of these facts occur, or the other party comes to know that any of these facts has occurred before issuing a notice of acceptance, that offer is not effective..<br></code> | <code><br>Article 301<br>An obligor may demand that a right of retention be terminated by providing a reasonable security.<br>Article 533<br>A party to a bilateral contract may refuse to perform that party's own obligation until the other party tenders the performance of that other party's obligation (including the performance of an obligation to compensate for loss or damage in lieu of the performance of an obligation);provided, however, that this does not apply if the obligation of the other party is not yet due..<br></code> |
450
+ | <code><br>Statutory liens for employer-employee relationships secure salaries paid regularly, but do not secure retirement payments that should be paid when the employee retires.<br></code> | <code><br>Article 308<br>Statutory liens for employer-employee relationships exist with respect to salaries and other claims that arise from the employer-employee relationship between the obligor and the employee..<br></code> | <code><br>Article 632<br>A contract for work become effective when one of the parties promises to complete work and the other party promises to pay remuneration for the outcome of the work..<br></code> |
451
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
452
  ```json
453
  {
 
459
  ### Training Hyperparameters
460
  #### Non-Default Hyperparameters
461
 
462
+ - `per_device_train_batch_size`: 64
463
  - `learning_rate`: 2e-05
464
  - `warmup_ratio`: 0.1
465
  - `fp16`: True
 
472
  - `do_predict`: False
473
  - `eval_strategy`: no
474
  - `prediction_loss_only`: True
475
+ - `per_device_train_batch_size`: 64
476
  - `per_device_eval_batch_size`: 8
477
  - `per_gpu_train_batch_size`: None
478
  - `per_gpu_eval_batch_size`: None
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d595018855c09be6fa1b3ed203ad0148c802e9fe1968b59e52fd3e9321766286
3
  size 130769960
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c3f3d9ff480749a6f0cb3c2c8fd56e219f5890ff2aacf76daefae4f46d09cc3
3
  size 130769960