bwang0911 commited on
Commit
54660cd
·
verified ·
1 Parent(s): 6dd9a8b

Add new SentenceTransformer model.

Browse files
Files changed (4) hide show
  1. README.md +234 -330
  2. model.safetensors +1 -1
  3. sentence_bert_config.json +1 -1
  4. tokenizer.json +1 -1
README.md CHANGED
@@ -1,340 +1,245 @@
1
  ---
2
- language:
3
- - en
4
  tags:
5
  - sentence-transformers
6
  - sentence-similarity
7
  - feature-extraction
8
  - generated_from_trainer
9
- - dataset_size:463
10
  - loss:MultipleNegativesRankingLoss
11
  base_model: jinaai/jina-embeddings-v2-small-en
12
  widget:
13
- - source_sentence: '
14
-
15
- In cases where an individual rescues another person from getting hit by a car
16
- by pushing that person out of the way, causing the person''s luxury kimono to
17
- get dirty, the rescuer does not have to compensate damages for the kimono.
18
-
19
- '
20
  sentences:
21
- - '
22
-
23
- Article 465-2
24
-
25
- (1) A guarantor to a guarantee contract under which the principal obligation is
26
- one or more unidentified obligations within a certain specified scope (hereinafter
27
- referred to as a "contract for revolving guarantee") and the guarantor is not
28
- a corporation (hereinafter referred to as a "contract for revolving guarantee
29
- by an individual") is liable to perform the obligation in terms of the amounts
30
- of the principal of the principal obligation, any interest, penalty and compensation
31
- for loss or damage in connection with the principal obligation, and all the other
32
- charges secondary to the obligation, as well as the amount of any penalty or compensation
33
- for loss or damage which is agreed- upon on with regard to the guarantee obligation,
34
- up to a certain maximum amount which pertains to all of these amounts.
35
-
36
- (2) A contract for revolving guarantee by an individual does not become effective
37
- unless it provides for the maximum amount prescribed in the preceding paragraph.
38
-
39
- (3) The provisions of Article 446, paragraphs (2) and (3) apply mutatis mutandis
40
- to the provisions concerning a maximum amount prescribed in paragraph (1) in a
41
- contract for revolving guarantee by an individual..
42
-
43
- '
44
- - '
45
-
46
- Article 449
47
-
48
- If a guarantor that guarantees an obligation which may be voidable due to the
49
- principal obligor''s limited capacity to act, is aware, at the time of entering
50
- into a guarantee contract, of the cause for its voidability, that guarantor is
51
- presumed to have assumed an independent obligation of the same subject matter
52
- in the event of non-performance by the principal obligor or rescission of the
53
- obligation..
54
-
55
- '
56
- - '
57
-
58
- Article 698
59
-
60
- If a manager engages in benevolent intervention in another''s business in order
61
- to allow a principal to escape imminent danger to the principal''s person, reputation,
62
- or property, the manager is not liable to compensate for damage resulting from
63
- this unless the manager has acted in bad faith or with gross negligence..
64
-
65
- '
66
- - source_sentence: '
67
-
68
- No contract of loan for use shall be effective unless it is made in writing.
69
-
70
- '
71
  sentences:
72
- - '
73
-
74
- Article 266
75
-
76
- (1) The provisions of Articles 274 through 276 apply mutatis mutandis if the superficiary
77
- must pay periodical rent to the owners of the land.
78
-
79
- (2) Beyond what is provided for in the preceding paragraph, provisions on leasehold
80
- apply mutatis mutandis to rent to the extent that application is not inconsistent
81
- with the nature of the same.
82
-
83
- Article 276
84
-
85
- If a farming right holder fails to pay the rent for two or more consecutive years,
86
- the landowner may demand the extinction of the farming right..
87
-
88
- '
89
- - '
90
-
91
- Article 169
92
-
93
- (1) The period of prescription of a right determined by a final and binding judgment
94
- or anything that has the same effect as a final and binding judgment is 10 years
95
- even if a period of prescription shorter than 10 years is provided for.
96
-
97
- (2) The provisions of the preceding paragraph do not apply to a claim which is
98
- not yet due and payable at the time when it is determined..
99
-
100
- '
101
- - '
102
-
103
- Article 593
104
-
105
- A loan for use becomes effective if one of the parties promises to deliver a certain
106
- thing, and the other party promises to return the thing when the contract is terminated
107
- after the other party gratuitously uses and makes profit of the borrowed thing..
108
-
109
- '
110
- - source_sentence: '
111
-
112
- In the case where, after the adjudication of disappearance had been made with
113
- respect to A and A had been deemed to have died because it had not been clear
114
- whether A had been dead or alive for 7 years, A was found to be alive, but the
115
- adjudication of disappearance was not rescinded and A died, the adjudication of
116
- disappearance may no longer be rescinded.
117
-
118
- '
119
  sentences:
120
- - '
121
-
122
- Article 568
123
-
124
- (1) The successful bidder at an auction based on the provisions of the Civil Execution
125
- Act and other laws (hereinafter referred to as an "auction" in this Article) may
126
- cancel the contract or demand a reduction of the price against the obligor pursuant
127
- to the provisions of Articles 541 and 542 and the provisions of Article 563
128
-
129
- (including as applied mutatis mutandis pursuant to Article 565).
130
-
131
- (2) In the cases referred to in the preceding paragraph, if the obligor is insolvent,
132
- the successful bidder may demand total or partial reimbursement of the proceeds
133
- against the obligees that received the distribution of the proceeds.
134
-
135
- (3) In the cases set forth in the preceding two paragraphs, if obligors knew of
136
- the absence of the object or right and did not disclose the same, or if obligees
137
- knew of the absence but demanded an auction, the successful bidder may claim compensation
138
- for loss or damage against those persons.
139
-
140
- (4) The provisions of the preceding three paragraphs do not apply to the non-conformity
141
- with respect to the kind or quality of the subject matter of an auction..
142
-
143
- '
144
- - '
145
-
146
- Article 166
147
-
148
- (1) A claim is extinguished by prescription in the following cases:
149
-
150
- (i) if the obligee does not exercise the right within five years from the time
151
- when the obligee came to know that it was exercisable; or
152
-
153
- (ii) if the obligee does not exercise the right within 10 years from the time
154
- when it became exercisable.
155
-
156
- (2) A claim or property right other than ownership is extinguished by prescription
157
- if not exercised within 20 years from the time when the right became exercisable.
158
-
159
- (3) The provisions of the preceding two paragraphs do not preclude the commencement
160
- of acquisitive prescription for the benefit of a third party that possesses the
161
- subject matter of a right with a time of commencement or a right subject to a
162
- condition precedent, at the time of commencing the possession;provided, however,
163
- that the holder of the right may demand acknowledgment from the possessor at any
164
- time to renew the prescription period.
165
-
166
- Article 412
167
-
168
- (1) If a fixed due date is assigned to the performance of an obligation, the obligor
169
- is liable for delay from the time that due date arrives.
170
-
171
- (2) If an uncertain due date is assigned to the performance of an obligation,
172
- the obligor is liable for delay from the time when the obligor receives the request
173
- for performance after the due date arrives or the time when the obligor becomes
174
- aware of the arrival of that due date, whichever comes earlier.
175
-
176
- (3) If no time limit is assigned to the performance of an obligation, the obligor
177
- is liable for delay from the time the obligor receives the request for performance..
178
-
179
- '
180
- - '
181
-
182
- Article 32
183
-
184
- (1) Having received proof that a missing person is alive or that a missing person
185
- died at a time different from the time set forth in the preceding Article, the
186
- family court, at the request of the missing person or an interested person, must
187
- rescind the declaration of that person''s disappearance.In this case, the rescission
188
- does not affect the validity of any act performed in good faith after the declaration
189
- of disappearance but before the rescission thereof.
190
-
191
- (2) A person who has acquired property due to a declaration of disappearance loses
192
- the rights in question due to its rescission;provided, however, that the person
193
- has the obligation to return that property only to the extent currently enriched..
194
-
195
- '
196
- - source_sentence: '
197
-
198
- A holder of statutory lien for the sales of the immovable property who has registration
199
- of such statutory lien may exercise statutory lien prior to mortgages, regardless
200
- of the chronological order of the registraiton.
201
-
202
- '
203
  sentences:
204
- - '
205
-
206
- Article 339
207
-
208
- Statutory liens registered in accordance with the provisions of the preceding
209
- two Articles may be exercised prior to mortgages.
210
-
211
- Article 341
212
-
213
- Beyond what is provided for in this Section, the provisions regarding mortgages
214
- apply mutatis mutandis to the effects of statutory liens, provided that it is
215
- not inconsistent with the nature of the same..
216
-
217
- '
218
- - '
219
-
220
- Article 177
221
-
222
- Acquisitions of, losses of and changes in real rights on immovables may not be
223
- duly asserted against any third parties, unless the same are registered pursuant
224
- to the applicable provisions of the Real Property Registration Act (Act No. 123
225
- of 2004) and other laws regarding registration.
226
-
227
- Article 361
228
-
229
- Beyond what is provided for in this Section, the provisions of the next Chapter
230
- (Mortgages) apply mutatis mutandis to pledges of immovables, provided that it
231
- is not inconsistent with the nature of the same.
232
-
233
- Article 373
234
-
235
- If more than one mortgage is created with respect to the same immovables, the
236
- order of priority of those mortgages follows the chronological order of their
237
- registration.
238
-
239
- Article 339
240
-
241
- Statutory liens registered in accordance with the provisions of the preceding
242
- two Articles may be exercised prior to mortgages.
243
-
244
- Article 337
245
-
246
- In order to preserve the effectiveness of statutory liens for preservation of
247
- immovables, registration must be carried out immediately after the completion
248
- of the act of preservation.
249
-
250
- Article 338
251
-
252
- (1) In order to preserve the effectiveness of statutory liens for construction
253
- work for immovables, the budgeted expenses of the construction work must be registered
254
- prior to the commencement of the same.In this case, if the expenses of the construction
255
- work exceed the budgeted amount, a statutory lien does not exist with respect
256
- to the amount in excess of the same.
257
-
258
- (2) The amount of increase in value of immovables that resulted from construction
259
- work must be evaluated by an appraiser appointed by the court at the time of the
260
- participation in the distribution..
261
-
262
- '
263
- - '
264
-
265
- Article 216
266
-
267
- If a land suffers or is likely to suffer damage due to destruction or blockage
268
- of a structure installed on other land to store, discharge or draw water, the
269
- owner of that land may have the owner of that other land repair the structure
270
- or remove the impediments, or, if necessary, have the same carry out preventive
271
- construction work..
272
-
273
- '
274
- - source_sentence: '
275
-
276
- In cases where a mortgage is created with respect to land by the owner of the
277
- land, if trees are planted and logged on the land, the mortgage shall entend to
278
- the trees.
279
-
280
- '
281
  sentences:
282
- - '
283
-
284
- Article 659
285
-
286
- A gratuitous bailee bears a duty to keep the bailed thing while exercising the
287
- same level of care that the bailee would exercise for their own property..
288
-
289
- '
290
- - '
291
-
292
- Article 304
293
-
294
- (1) A statutory lien may also be exercised against things including monies that
295
- the obligor is to receive as a result of the sale, lease or loss of, or damage
296
- to, the subject matter of the statutory lien;provided, however, that the holder
297
- of the statutory lien must attach the same before the payment or delivery of the
298
- monies or other thing.
299
-
300
- (2) The provisions of the preceding paragraph also apply to the consideration
301
- for real rights created by the obligor on the subject matter of the statutory
302
- lien..
303
-
304
- '
305
- - '
306
-
307
- Article 370
308
-
309
- A mortgage extends to the things that form an integral part of the immovables
310
- that are the subject matter of the mortgage (hereinafter referred to as "mortgaged
311
- immovables") except for buildings on the mortgaged land; provided, however, that
312
- this does not apply if the act establishing the mortgage provides otherwise or
313
- the rescission of fraudulent act may be demanded as prescribed in Article 424,
314
- paragraph (3) with regard to the act of the obligor..
315
-
316
- '
 
 
 
317
  datasets:
318
- - sentence-transformers/coliee
319
  pipeline_tag: sentence-similarity
320
  library_name: sentence-transformers
321
  ---
322
 
323
  # SentenceTransformer based on jinaai/jina-embeddings-v2-small-en
324
 
325
- 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.
326
 
327
  ## Model Details
328
 
329
  ### Model Description
330
  - **Model Type:** Sentence Transformer
331
  - **Base model:** [jinaai/jina-embeddings-v2-small-en](https://huggingface.co/jinaai/jina-embeddings-v2-small-en) <!-- at revision 796cff318cdd4e5fbe8b7303a1ef8cbec36996ef -->
332
- - **Maximum Sequence Length:** 8192 tokens
333
  - **Output Dimensionality:** 512 tokens
334
  - **Similarity Function:** Cosine Similarity
335
  - **Training Dataset:**
336
- - [coliee](https://huggingface.co/datasets/sentence-transformers/coliee)
337
- - **Language:** en
338
  <!-- - **License:** Unknown -->
339
 
340
  ### Model Sources
@@ -347,7 +252,7 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [j
347
 
348
  ```
349
  SentenceTransformer(
350
- (0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: JinaBertModel
351
  (1): Pooling({'word_embedding_dimension': 512, '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})
352
  )
353
  ```
@@ -370,9 +275,9 @@ from sentence_transformers import SentenceTransformer
370
  model = SentenceTransformer("bwang0911/jev2-legal")
371
  # Run inference
372
  sentences = [
373
- '\nIn cases where a mortgage is created with respect to land by the owner of the land, if trees are planted and logged on the land, the mortgage shall entend to the trees.\n',
374
- '\nArticle 370\nA mortgage extends to the things that form an integral part of the immovables that are the subject matter of the mortgage (hereinafter referred to as "mortgaged immovables") except for buildings on the mortgaged land; provided, however, that this does not apply if the act establishing the mortgage provides otherwise or the rescission of fraudulent act may be demanded as prescribed in Article 424, paragraph (3) with regard to the act of the obligor..\n',
375
- '\nArticle 304\n(1) A statutory lien may also be exercised against things including monies that the obligor is to receive as a result of the sale, lease or loss of, or damage to, the subject matter of the statutory lien;provided, however, that the holder of the statutory lien must attach the same before the payment or delivery of the monies or other thing.\n(2) The provisions of the preceding paragraph also apply to the consideration for real rights created by the obligor on the subject matter of the statutory lien..\n',
376
  ]
377
  embeddings = model.encode(sentences)
378
  print(embeddings.shape)
@@ -424,22 +329,22 @@ You can finetune this model on your own dataset.
424
 
425
  ### Training Dataset
426
 
427
- #### coliee
428
 
429
- * Dataset: [coliee](https://huggingface.co/datasets/sentence-transformers/coliee) at [d90012e](https://huggingface.co/datasets/sentence-transformers/coliee/tree/d90012e1f3a0d7103713bb2ce7faed1636a10090)
430
- * Size: 463 training samples
431
- * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
432
- * Approximate statistics based on the first 463 samples:
433
- | | anchor | positive | negative |
434
- |:--------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
435
- | type | string | string | string |
436
- | details | <ul><li>min: 10 tokens</li><li>mean: 46.53 tokens</li><li>max: 137 tokens</li></ul> | <ul><li>min: 22 tokens</li><li>mean: 120.43 tokens</li><li>max: 441 tokens</li></ul> | <ul><li>min: 26 tokens</li><li>mean: 126.66 tokens</li><li>max: 405 tokens</li></ul> |
437
  * Samples:
438
- | anchor | positive | negative |
439
- |:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
440
- | <code><br>A compulsory auction is also a sale, so warranty is imposed the same as for an ordinary sale.<br></code> | <code><br>Article 568<br>(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<br>(including as applied mutatis mutandis pursuant to Article 565).<br>(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.<br>(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.<br>(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..<br></code> | <code><br>Article 575<br>(1) If the subject matter of a sale which has not yet been delivered bears fruits, the fruits vest in the seller.<br>(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..<br></code> |
441
- | <code><br>In cases where a person plans to prevent crime in their own house by fixing the fence of a neighboring house, that person is found as having intent towards the other person.<br></code> | <code><br>Article 697<br>(1) A person that has begun to manage a business for another person without being obligated to do so (hereinafter in this Chapter referred to as a "manager") must manage that business, in accordance with the nature of the business, in the way that best suits the interests of the principal (hereinafter referred to as "benevolent intervention in another's business").<br>(2) A manager must engage in benevolent intervention in another's business in accordance with the intentions of the principal if the manager knows, or is able to conjecture that intention..<br></code> | <code><br>Article 94<br>(1) A false manifestation of intention that a person makes in collusion with another person is void.<br>(2) The nullity of a manifestation of intention under the provisions of the preceding paragraph may not be duly asserted against a third party in good faith..<br></code> |
442
- | <code><br>In cases where an individual rescues another person from getting hit by a car by pushing that person out of the way, causing the person's luxury kimono to get dirty, the rescuer does not have to compensate damages for the kimono.<br></code> | <code><br>Article 698<br>If a manager engages in benevolent intervention in another's business in order to allow a principal to escape imminent danger to the principal's person, reputation, or property, the manager is not liable to compensate for damage resulting from this unless the manager has acted in bad faith or with gross negligence..<br></code> | <code><br>Article 465-2<br>(1) A guarantor to a guarantee contract under which the principal obligation is one or more unidentified obligations within a certain specified scope (hereinafter referred to as a "contract for revolving guarantee") and the guarantor is not a corporation (hereinafter referred to as a "contract for revolving guarantee by an individual") is liable to perform the obligation in terms of the amounts of the principal of the principal obligation, any interest, penalty and compensation for loss or damage in connection with the principal obligation, and all the other charges secondary to the obligation, as well as the amount of any penalty or compensation for loss or damage which is agreed- upon on with regard to the guarantee obligation, up to a certain maximum amount which pertains to all of these amounts.<br>(2) A contract for revolving guarantee by an individual does not become effective unless it provides for the maximum amount prescribed in the preceding paragraph.<br>(3) The provisions of Article 446, paragraphs (2) and (3) apply mutatis mutandis to the provisions concerning a maximum amount prescribed in paragraph (1) in a contract for revolving guarantee by an individual..<br></code> |
443
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
444
  ```json
445
  {
@@ -451,8 +356,7 @@ You can finetune this model on your own dataset.
451
  ### Training Hyperparameters
452
  #### Non-Default Hyperparameters
453
 
454
- - `per_device_train_batch_size`: 128
455
- - `per_device_eval_batch_size`: 16
456
  - `learning_rate`: 2e-05
457
  - `warmup_ratio`: 0.1
458
  - `fp16`: True
@@ -465,8 +369,8 @@ You can finetune this model on your own dataset.
465
  - `do_predict`: False
466
  - `eval_strategy`: no
467
  - `prediction_loss_only`: True
468
- - `per_device_train_batch_size`: 128
469
- - `per_device_eval_batch_size`: 16
470
  - `per_gpu_train_batch_size`: None
471
  - `per_gpu_eval_batch_size`: None
472
  - `gradient_accumulation_steps`: 1
@@ -583,7 +487,7 @@ You can finetune this model on your own dataset.
583
  - PyTorch: 2.5.1+cu124
584
  - Accelerate: 1.1.0
585
  - Datasets: 3.1.0
586
- - Tokenizers: 0.20.2
587
 
588
  ## Citation
589
 
 
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
 
234
  ### Model Description
235
  - **Model Type:** Sentence Transformer
236
  - **Base model:** [jinaai/jina-embeddings-v2-small-en](https://huggingface.co/jinaai/jina-embeddings-v2-small-en) <!-- at revision 796cff318cdd4e5fbe8b7303a1ef8cbec36996ef -->
237
+ - **Maximum Sequence Length:** 512 tokens
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
 
252
 
253
  ```
254
  SentenceTransformer(
255
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: JinaBertModel
256
  (1): Pooling({'word_embedding_dimension': 512, '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})
257
  )
258
  ```
 
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
 
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
  ### 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
  - `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
376
  - `gradient_accumulation_steps`: 1
 
487
  - PyTorch: 2.5.1+cu124
488
  - Accelerate: 1.1.0
489
  - Datasets: 3.1.0
490
+ - Tokenizers: 0.20.3
491
 
492
  ## Citation
493
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:44eb5c241ea5b10113bda4b966816098b7236e0c22d52588d38e1810ae2f0d81
3
  size 130769960
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d595018855c09be6fa1b3ed203ad0148c802e9fe1968b59e52fd3e9321766286
3
  size 130769960
sentence_bert_config.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "max_seq_length": 8192,
3
  "do_lower_case": false
4
  }
 
1
  {
2
+ "max_seq_length": 512,
3
  "do_lower_case": false
4
  }
tokenizer.json CHANGED
@@ -2,7 +2,7 @@
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
- "max_length": 8192,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
 
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
+ "max_length": 512,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },