Add new SentenceTransformer model.
Browse files- README.md +332 -229
- 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:
|
8 |
- loss:MultipleNegativesRankingLoss
|
9 |
base_model: jinaai/jina-embeddings-v2-small-en
|
10 |
widget:
|
11 |
-
- source_sentence: '
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
sentences:
|
19 |
-
- '
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
69 |
sentences:
|
70 |
-
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
that
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
sentences:
|
117 |
-
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
sentences:
|
144 |
-
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
sentences:
|
184 |
-
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
datasets:
|
223 |
-
-
|
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 [
|
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 |
-
- [
|
242 |
-
|
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 |
-
'
|
279 |
-
'
|
280 |
-
|
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 |
-
####
|
333 |
|
334 |
-
* Dataset: [
|
335 |
-
* Size:
|
336 |
-
* Columns: <code>
|
337 |
* Approximate statistics based on the first 1000 samples:
|
338 |
-
| |
|
339 |
-
|
340 |
-
| type | string | string
|
341 |
-
| details | <ul><li>min:
|
342 |
* Samples:
|
343 |
-
|
|
344 |
-
|
345 |
-
| <code>
|
346 |
-
| <code>
|
347 |
-
| <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`:
|
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`:
|
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:
|
3 |
size 130769960
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c3f3d9ff480749a6f0cb3c2c8fd56e219f5890ff2aacf76daefae4f46d09cc3
|
3 |
size 130769960
|