Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,568 +1,201 @@
|
|
1 |
---
|
2 |
base_model: sentence-transformers/all-MiniLM-L6-v2
|
3 |
-
|
4 |
-
|
5 |
-
-
|
6 |
-
- cosine_accuracy_threshold
|
7 |
-
- cosine_f1
|
8 |
-
- cosine_f1_threshold
|
9 |
-
- cosine_precision
|
10 |
-
- cosine_recall
|
11 |
-
- cosine_ap
|
12 |
-
- dot_accuracy
|
13 |
-
- dot_accuracy_threshold
|
14 |
-
- dot_f1
|
15 |
-
- dot_f1_threshold
|
16 |
-
- dot_precision
|
17 |
-
- dot_recall
|
18 |
-
- dot_ap
|
19 |
-
- manhattan_accuracy
|
20 |
-
- manhattan_accuracy_threshold
|
21 |
-
- manhattan_f1
|
22 |
-
- manhattan_f1_threshold
|
23 |
-
- manhattan_precision
|
24 |
-
- manhattan_recall
|
25 |
-
- manhattan_ap
|
26 |
-
- euclidean_accuracy
|
27 |
-
- euclidean_accuracy_threshold
|
28 |
-
- euclidean_f1
|
29 |
-
- euclidean_f1_threshold
|
30 |
-
- euclidean_precision
|
31 |
-
- euclidean_recall
|
32 |
-
- euclidean_ap
|
33 |
-
- max_accuracy
|
34 |
-
- max_accuracy_threshold
|
35 |
-
- max_f1
|
36 |
-
- max_f1_threshold
|
37 |
-
- max_precision
|
38 |
-
- max_recall
|
39 |
-
- max_ap
|
40 |
-
pipeline_tag: sentence-similarity
|
41 |
-
tags:
|
42 |
-
- sentence-transformers
|
43 |
-
- sentence-similarity
|
44 |
-
- feature-extraction
|
45 |
-
- generated_from_trainer
|
46 |
-
- dataset_size:593
|
47 |
-
- loss:OnlineContrastiveLoss
|
48 |
-
widget:
|
49 |
-
- source_sentence: What city
|
50 |
-
sentences:
|
51 |
-
- What magic do other villagers use?
|
52 |
-
- What does between the gods mean?
|
53 |
-
- what about the city
|
54 |
-
- source_sentence: What's your name?
|
55 |
-
sentences:
|
56 |
-
- what mystery?
|
57 |
-
- Is this the flower
|
58 |
-
- A globe.
|
59 |
-
- source_sentence: I think we'll find dragons.
|
60 |
-
sentences:
|
61 |
-
- Do you know a mage who changes shape of material?
|
62 |
-
- I don't think we'll find dragons.
|
63 |
-
- The curtain is moving in the breeze
|
64 |
-
- source_sentence: What happened to her?
|
65 |
-
sentences:
|
66 |
-
- Is this the flower
|
67 |
-
- Do you have a second bucket?
|
68 |
-
- There was a red stain on the dish
|
69 |
-
- source_sentence: I don't see tomato on the shelf
|
70 |
-
sentences:
|
71 |
-
- What magic do other villagers use?
|
72 |
-
- Yes please
|
73 |
-
- Because the pot smelled spicy
|
74 |
-
model-index:
|
75 |
-
- name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
|
76 |
-
results:
|
77 |
-
- task:
|
78 |
-
type: binary-classification
|
79 |
-
name: Binary Classification
|
80 |
-
dataset:
|
81 |
-
name: custom arc semantics data en
|
82 |
-
type: custom-arc-semantics-data-en
|
83 |
-
metrics:
|
84 |
-
- type: cosine_accuracy
|
85 |
-
value: 0.9495798319327731
|
86 |
-
name: Cosine Accuracy
|
87 |
-
- type: cosine_accuracy_threshold
|
88 |
-
value: 0.6676459908485413
|
89 |
-
name: Cosine Accuracy Threshold
|
90 |
-
- type: cosine_f1
|
91 |
-
value: 0.9
|
92 |
-
name: Cosine F1
|
93 |
-
- type: cosine_f1_threshold
|
94 |
-
value: 0.6361173391342163
|
95 |
-
name: Cosine F1 Threshold
|
96 |
-
- type: cosine_precision
|
97 |
-
value: 0.9
|
98 |
-
name: Cosine Precision
|
99 |
-
- type: cosine_recall
|
100 |
-
value: 0.9
|
101 |
-
name: Cosine Recall
|
102 |
-
- type: cosine_ap
|
103 |
-
value: 0.8400025542161988
|
104 |
-
name: Cosine Ap
|
105 |
-
- type: dot_accuracy
|
106 |
-
value: 0.9495798319327731
|
107 |
-
name: Dot Accuracy
|
108 |
-
- type: dot_accuracy_threshold
|
109 |
-
value: 0.6676459908485413
|
110 |
-
name: Dot Accuracy Threshold
|
111 |
-
- type: dot_f1
|
112 |
-
value: 0.9
|
113 |
-
name: Dot F1
|
114 |
-
- type: dot_f1_threshold
|
115 |
-
value: 0.6361173391342163
|
116 |
-
name: Dot F1 Threshold
|
117 |
-
- type: dot_precision
|
118 |
-
value: 0.9
|
119 |
-
name: Dot Precision
|
120 |
-
- type: dot_recall
|
121 |
-
value: 0.9
|
122 |
-
name: Dot Recall
|
123 |
-
- type: dot_ap
|
124 |
-
value: 0.8400025542161988
|
125 |
-
name: Dot Ap
|
126 |
-
- type: manhattan_accuracy
|
127 |
-
value: 0.9495798319327731
|
128 |
-
name: Manhattan Accuracy
|
129 |
-
- type: manhattan_accuracy_threshold
|
130 |
-
value: 12.677780151367188
|
131 |
-
name: Manhattan Accuracy Threshold
|
132 |
-
- type: manhattan_f1
|
133 |
-
value: 0.896551724137931
|
134 |
-
name: Manhattan F1
|
135 |
-
- type: manhattan_f1_threshold
|
136 |
-
value: 12.677780151367188
|
137 |
-
name: Manhattan F1 Threshold
|
138 |
-
- type: manhattan_precision
|
139 |
-
value: 0.9285714285714286
|
140 |
-
name: Manhattan Precision
|
141 |
-
- type: manhattan_recall
|
142 |
-
value: 0.8666666666666667
|
143 |
-
name: Manhattan Recall
|
144 |
-
- type: manhattan_ap
|
145 |
-
value: 0.8387174899512584
|
146 |
-
name: Manhattan Ap
|
147 |
-
- type: euclidean_accuracy
|
148 |
-
value: 0.9495798319327731
|
149 |
-
name: Euclidean Accuracy
|
150 |
-
- type: euclidean_accuracy_threshold
|
151 |
-
value: 0.8152118921279907
|
152 |
-
name: Euclidean Accuracy Threshold
|
153 |
-
- type: euclidean_f1
|
154 |
-
value: 0.9
|
155 |
-
name: Euclidean F1
|
156 |
-
- type: euclidean_f1_threshold
|
157 |
-
value: 0.8530915379524231
|
158 |
-
name: Euclidean F1 Threshold
|
159 |
-
- type: euclidean_precision
|
160 |
-
value: 0.9
|
161 |
-
name: Euclidean Precision
|
162 |
-
- type: euclidean_recall
|
163 |
-
value: 0.9
|
164 |
-
name: Euclidean Recall
|
165 |
-
- type: euclidean_ap
|
166 |
-
value: 0.8400025542161988
|
167 |
-
name: Euclidean Ap
|
168 |
-
- type: max_accuracy
|
169 |
-
value: 0.9495798319327731
|
170 |
-
name: Max Accuracy
|
171 |
-
- type: max_accuracy_threshold
|
172 |
-
value: 12.677780151367188
|
173 |
-
name: Max Accuracy Threshold
|
174 |
-
- type: max_f1
|
175 |
-
value: 0.9
|
176 |
-
name: Max F1
|
177 |
-
- type: max_f1_threshold
|
178 |
-
value: 12.677780151367188
|
179 |
-
name: Max F1 Threshold
|
180 |
-
- type: max_precision
|
181 |
-
value: 0.9285714285714286
|
182 |
-
name: Max Precision
|
183 |
-
- type: max_recall
|
184 |
-
value: 0.9
|
185 |
-
name: Max Recall
|
186 |
-
- type: max_ap
|
187 |
-
value: 0.8400025542161988
|
188 |
-
name: Max Ap
|
189 |
---
|
190 |
|
191 |
-
#
|
|
|
|
|
|
|
192 |
|
193 |
-
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) on the csv dataset. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
194 |
|
195 |
## Model Details
|
196 |
|
197 |
### Model Description
|
198 |
-
- **Model Type:** Sentence Transformer
|
199 |
-
- **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision 8b3219a92973c328a8e22fadcfa821b5dc75636a -->
|
200 |
-
- **Maximum Sequence Length:** 256 tokens
|
201 |
-
- **Output Dimensionality:** 384 tokens
|
202 |
-
- **Similarity Function:** Cosine Similarity
|
203 |
-
- **Training Dataset:**
|
204 |
-
- csv
|
205 |
-
<!-- - **Language:** Unknown -->
|
206 |
-
<!-- - **License:** Unknown -->
|
207 |
|
208 |
-
|
209 |
|
210 |
-
|
211 |
-
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
212 |
-
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
213 |
|
214 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
|
216 |
-
|
217 |
-
SentenceTransformer(
|
218 |
-
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
|
219 |
-
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
220 |
-
(2): Normalize()
|
221 |
-
)
|
222 |
-
```
|
223 |
|
224 |
-
|
225 |
|
226 |
-
|
|
|
|
|
227 |
|
228 |
-
|
229 |
|
230 |
-
|
231 |
-
pip install -U sentence-transformers
|
232 |
-
```
|
233 |
|
234 |
-
|
235 |
-
```python
|
236 |
-
from sentence_transformers import SentenceTransformer
|
237 |
|
238 |
-
|
239 |
-
model = SentenceTransformer("LeoChiuu/all-MiniLM-L6-v2-arc")
|
240 |
-
# Run inference
|
241 |
-
sentences = [
|
242 |
-
"I don't see tomato on the shelf",
|
243 |
-
'Because the pot smelled spicy',
|
244 |
-
'What magic do other villagers use?',
|
245 |
-
]
|
246 |
-
embeddings = model.encode(sentences)
|
247 |
-
print(embeddings.shape)
|
248 |
-
# [3, 384]
|
249 |
|
250 |
-
|
251 |
-
similarities = model.similarity(embeddings, embeddings)
|
252 |
-
print(similarities.shape)
|
253 |
-
# [3, 3]
|
254 |
-
```
|
255 |
|
256 |
-
|
257 |
-
### Direct Usage (Transformers)
|
258 |
|
259 |
-
|
260 |
|
261 |
-
|
262 |
-
-->
|
263 |
|
264 |
-
|
265 |
-
### Downstream Usage (Sentence Transformers)
|
266 |
|
267 |
-
|
268 |
|
269 |
-
|
270 |
|
271 |
-
|
272 |
-
-->
|
273 |
|
274 |
-
<!--
|
275 |
-
### Out-of-Scope Use
|
276 |
|
277 |
-
|
278 |
-
-->
|
279 |
|
280 |
-
## Evaluation
|
281 |
-
|
282 |
-
### Metrics
|
283 |
-
|
284 |
-
#### Binary Classification
|
285 |
-
* Dataset: `custom-arc-semantics-data-en`
|
286 |
-
* Evaluated with [<code>BinaryClassificationEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.BinaryClassificationEvaluator)
|
287 |
-
|
288 |
-
| Metric | Value |
|
289 |
-
|:-----------------------------|:---------|
|
290 |
-
| cosine_accuracy | 0.9496 |
|
291 |
-
| cosine_accuracy_threshold | 0.6676 |
|
292 |
-
| cosine_f1 | 0.9 |
|
293 |
-
| cosine_f1_threshold | 0.6361 |
|
294 |
-
| cosine_precision | 0.9 |
|
295 |
-
| cosine_recall | 0.9 |
|
296 |
-
| cosine_ap | 0.84 |
|
297 |
-
| dot_accuracy | 0.9496 |
|
298 |
-
| dot_accuracy_threshold | 0.6676 |
|
299 |
-
| dot_f1 | 0.9 |
|
300 |
-
| dot_f1_threshold | 0.6361 |
|
301 |
-
| dot_precision | 0.9 |
|
302 |
-
| dot_recall | 0.9 |
|
303 |
-
| dot_ap | 0.84 |
|
304 |
-
| manhattan_accuracy | 0.9496 |
|
305 |
-
| manhattan_accuracy_threshold | 12.6778 |
|
306 |
-
| manhattan_f1 | 0.8966 |
|
307 |
-
| manhattan_f1_threshold | 12.6778 |
|
308 |
-
| manhattan_precision | 0.9286 |
|
309 |
-
| manhattan_recall | 0.8667 |
|
310 |
-
| manhattan_ap | 0.8387 |
|
311 |
-
| euclidean_accuracy | 0.9496 |
|
312 |
-
| euclidean_accuracy_threshold | 0.8152 |
|
313 |
-
| euclidean_f1 | 0.9 |
|
314 |
-
| euclidean_f1_threshold | 0.8531 |
|
315 |
-
| euclidean_precision | 0.9 |
|
316 |
-
| euclidean_recall | 0.9 |
|
317 |
-
| euclidean_ap | 0.84 |
|
318 |
-
| max_accuracy | 0.9496 |
|
319 |
-
| max_accuracy_threshold | 12.6778 |
|
320 |
-
| max_f1 | 0.9 |
|
321 |
-
| max_f1_threshold | 12.6778 |
|
322 |
-
| max_precision | 0.9286 |
|
323 |
-
| max_recall | 0.9 |
|
324 |
-
| **max_ap** | **0.84** |
|
325 |
-
|
326 |
-
<!--
|
327 |
-
## Bias, Risks and Limitations
|
328 |
-
|
329 |
-
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
330 |
-
-->
|
331 |
-
|
332 |
-
<!--
|
333 |
### Recommendations
|
334 |
|
335 |
-
|
336 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
337 |
|
338 |
## Training Details
|
339 |
|
340 |
-
### Training
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
-
|
410 |
-
-
|
411 |
-
-
|
412 |
-
-
|
413 |
-
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
- `optim`: adamw_torch
|
460 |
-
- `optim_args`: None
|
461 |
-
- `adafactor`: False
|
462 |
-
- `group_by_length`: False
|
463 |
-
- `length_column_name`: length
|
464 |
-
- `ddp_find_unused_parameters`: None
|
465 |
-
- `ddp_bucket_cap_mb`: None
|
466 |
-
- `ddp_broadcast_buffers`: False
|
467 |
-
- `dataloader_pin_memory`: True
|
468 |
-
- `dataloader_persistent_workers`: False
|
469 |
-
- `skip_memory_metrics`: True
|
470 |
-
- `use_legacy_prediction_loop`: False
|
471 |
-
- `push_to_hub`: False
|
472 |
-
- `resume_from_checkpoint`: None
|
473 |
-
- `hub_model_id`: None
|
474 |
-
- `hub_strategy`: every_save
|
475 |
-
- `hub_private_repo`: False
|
476 |
-
- `hub_always_push`: False
|
477 |
-
- `gradient_checkpointing`: False
|
478 |
-
- `gradient_checkpointing_kwargs`: None
|
479 |
-
- `include_inputs_for_metrics`: False
|
480 |
-
- `eval_do_concat_batches`: True
|
481 |
-
- `fp16_backend`: auto
|
482 |
-
- `push_to_hub_model_id`: None
|
483 |
-
- `push_to_hub_organization`: None
|
484 |
-
- `mp_parameters`:
|
485 |
-
- `auto_find_batch_size`: False
|
486 |
-
- `full_determinism`: False
|
487 |
-
- `torchdynamo`: None
|
488 |
-
- `ray_scope`: last
|
489 |
-
- `ddp_timeout`: 1800
|
490 |
-
- `torch_compile`: False
|
491 |
-
- `torch_compile_backend`: None
|
492 |
-
- `torch_compile_mode`: None
|
493 |
-
- `dispatch_batches`: None
|
494 |
-
- `split_batches`: None
|
495 |
-
- `include_tokens_per_second`: False
|
496 |
-
- `include_num_input_tokens_seen`: False
|
497 |
-
- `neftune_noise_alpha`: None
|
498 |
-
- `optim_target_modules`: None
|
499 |
-
- `batch_eval_metrics`: False
|
500 |
-
- `eval_on_start`: False
|
501 |
-
- `eval_use_gather_object`: False
|
502 |
-
- `batch_sampler`: no_duplicates
|
503 |
-
- `multi_dataset_batch_sampler`: proportional
|
504 |
-
|
505 |
-
</details>
|
506 |
-
|
507 |
-
### Training Logs
|
508 |
-
| Epoch | Step | Training Loss | loss | custom-arc-semantics-data-en_max_ap |
|
509 |
-
|:-----:|:----:|:-------------:|:------:|:-----------------------------------:|
|
510 |
-
| None | 0 | - | - | 0.7634 |
|
511 |
-
| 1.0 | 60 | 0.3053 | 0.1297 | 0.7825 |
|
512 |
-
| 2.0 | 120 | 0.1478 | 0.1071 | 0.8071 |
|
513 |
-
| 3.0 | 180 | 0.0357 | 0.0904 | 0.8387 |
|
514 |
-
| 4.0 | 240 | 0.0139 | 0.0829 | 0.8412 |
|
515 |
-
| 5.0 | 300 | 0.017 | 0.0704 | 0.8429 |
|
516 |
-
| 6.0 | 360 | 0.0132 | 0.0779 | 0.8411 |
|
517 |
-
| 7.0 | 420 | 0.0 | 0.0700 | 0.8433 |
|
518 |
-
| 8.0 | 480 | 0.0079 | 0.0808 | 0.8403 |
|
519 |
-
| 9.0 | 540 | 0.0098 | 0.0808 | 0.8404 |
|
520 |
-
| 10.0 | 600 | 0.0039 | 0.0804 | 0.8387 |
|
521 |
-
| 11.0 | 660 | 0.0001 | 0.0815 | 0.8398 |
|
522 |
-
| 12.0 | 720 | 0.0039 | 0.0816 | 0.8397 |
|
523 |
-
| 13.0 | 780 | 0.0034 | 0.0814 | 0.8400 |
|
524 |
-
|
525 |
-
|
526 |
-
### Framework Versions
|
527 |
-
- Python: 3.10.14
|
528 |
-
- Sentence Transformers: 3.1.0
|
529 |
-
- Transformers: 4.44.2
|
530 |
-
- PyTorch: 2.4.1+cu121
|
531 |
-
- Accelerate: 0.34.2
|
532 |
-
- Datasets: 2.20.0
|
533 |
-
- Tokenizers: 0.19.1
|
534 |
-
|
535 |
-
## Citation
|
536 |
-
|
537 |
-
### BibTeX
|
538 |
-
|
539 |
-
#### Sentence Transformers
|
540 |
-
```bibtex
|
541 |
-
@inproceedings{reimers-2019-sentence-bert,
|
542 |
-
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
543 |
-
author = "Reimers, Nils and Gurevych, Iryna",
|
544 |
-
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
545 |
-
month = "11",
|
546 |
-
year = "2019",
|
547 |
-
publisher = "Association for Computational Linguistics",
|
548 |
-
url = "https://arxiv.org/abs/1908.10084",
|
549 |
-
}
|
550 |
-
```
|
551 |
-
|
552 |
-
<!--
|
553 |
-
## Glossary
|
554 |
-
|
555 |
-
*Clearly define terms in order to be accessible across audiences.*
|
556 |
-
-->
|
557 |
-
|
558 |
-
<!--
|
559 |
-
## Model Card Authors
|
560 |
-
|
561 |
-
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
562 |
-
-->
|
563 |
-
|
564 |
-
<!--
|
565 |
## Model Card Contact
|
566 |
|
567 |
-
|
568 |
-
-->
|
|
|
1 |
---
|
2 |
base_model: sentence-transformers/all-MiniLM-L6-v2
|
3 |
+
language: en
|
4 |
+
license: apache-2.0
|
5 |
+
model_name: LeoChiuu/all-MiniLM-L6-v2-arc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
---
|
7 |
|
8 |
+
# Model Card for LeoChiuu/all-MiniLM-L6-v2-arc
|
9 |
+
|
10 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
11 |
+
|
12 |
|
|
|
13 |
|
14 |
## Model Details
|
15 |
|
16 |
### Model Description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
<!-- Provide a longer summary of what this model is. -->
|
19 |
|
20 |
+
Generates similarity embeddings
|
|
|
|
|
21 |
|
22 |
+
- **Developed by:** [More Information Needed]
|
23 |
+
- **Funded by [optional]:** [More Information Needed]
|
24 |
+
- **Shared by [optional]:** [More Information Needed]
|
25 |
+
- **Model type:** [More Information Needed]
|
26 |
+
- **Language(s) (NLP):** en
|
27 |
+
- **License:** apache-2.0
|
28 |
+
- **Finetuned from model [optional]:** sentence-transformers/all-MiniLM-L6-v2
|
29 |
|
30 |
+
### Model Sources [optional]
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
+
<!-- Provide the basic links for the model. -->
|
33 |
|
34 |
+
- **Repository:** [More Information Needed]
|
35 |
+
- **Paper [optional]:** [More Information Needed]
|
36 |
+
- **Demo [optional]:** [More Information Needed]
|
37 |
|
38 |
+
## Uses
|
39 |
|
40 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
|
|
|
|
41 |
|
42 |
+
### Direct Use
|
|
|
|
|
43 |
|
44 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
+
[More Information Needed]
|
|
|
|
|
|
|
|
|
47 |
|
48 |
+
### Downstream Use [optional]
|
|
|
49 |
|
50 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
51 |
|
52 |
+
[More Information Needed]
|
|
|
53 |
|
54 |
+
### Out-of-Scope Use
|
|
|
55 |
|
56 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
57 |
|
58 |
+
[More Information Needed]
|
59 |
|
60 |
+
## Bias, Risks, and Limitations
|
|
|
61 |
|
62 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
|
|
63 |
|
64 |
+
[More Information Needed]
|
|
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
### Recommendations
|
67 |
|
68 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
69 |
+
|
70 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
71 |
+
|
72 |
+
## How to Get Started with the Model
|
73 |
+
|
74 |
+
Use the code below to get started with the model.
|
75 |
+
|
76 |
+
[More Information Needed]
|
77 |
|
78 |
## Training Details
|
79 |
|
80 |
+
### Training Data
|
81 |
+
|
82 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
83 |
+
|
84 |
+
[More Information Needed]
|
85 |
+
|
86 |
+
### Training Procedure
|
87 |
+
|
88 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
89 |
+
|
90 |
+
#### Preprocessing [optional]
|
91 |
+
|
92 |
+
[More Information Needed]
|
93 |
+
|
94 |
+
|
95 |
+
#### Training Hyperparameters
|
96 |
+
|
97 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
98 |
+
|
99 |
+
#### Speeds, Sizes, Times [optional]
|
100 |
+
|
101 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
102 |
+
|
103 |
+
[More Information Needed]
|
104 |
+
|
105 |
+
## Evaluation
|
106 |
+
|
107 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
108 |
+
|
109 |
+
### Testing Data, Factors & Metrics
|
110 |
+
|
111 |
+
#### Testing Data
|
112 |
+
|
113 |
+
<!-- This should link to a Dataset Card if possible. -->
|
114 |
+
|
115 |
+
[More Information Needed]
|
116 |
+
|
117 |
+
#### Factors
|
118 |
+
|
119 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
120 |
+
|
121 |
+
[More Information Needed]
|
122 |
+
|
123 |
+
#### Metrics
|
124 |
+
|
125 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
126 |
+
|
127 |
+
[More Information Needed]
|
128 |
+
|
129 |
+
### Results
|
130 |
+
|
131 |
+
[More Information Needed]
|
132 |
+
|
133 |
+
#### Summary
|
134 |
+
|
135 |
+
|
136 |
+
|
137 |
+
## Model Examination [optional]
|
138 |
+
|
139 |
+
<!-- Relevant interpretability work for the model goes here -->
|
140 |
+
|
141 |
+
[More Information Needed]
|
142 |
+
|
143 |
+
## Environmental Impact
|
144 |
+
|
145 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
146 |
+
|
147 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
148 |
+
|
149 |
+
- **Hardware Type:** [More Information Needed]
|
150 |
+
- **Hours used:** [More Information Needed]
|
151 |
+
- **Cloud Provider:** [More Information Needed]
|
152 |
+
- **Compute Region:** [More Information Needed]
|
153 |
+
- **Carbon Emitted:** [More Information Needed]
|
154 |
+
|
155 |
+
## Technical Specifications [optional]
|
156 |
+
|
157 |
+
### Model Architecture and Objective
|
158 |
+
|
159 |
+
[More Information Needed]
|
160 |
+
|
161 |
+
### Compute Infrastructure
|
162 |
+
|
163 |
+
[More Information Needed]
|
164 |
+
|
165 |
+
#### Hardware
|
166 |
+
|
167 |
+
[More Information Needed]
|
168 |
+
|
169 |
+
#### Software
|
170 |
+
|
171 |
+
[More Information Needed]
|
172 |
+
|
173 |
+
## Citation [optional]
|
174 |
+
|
175 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
176 |
+
|
177 |
+
**BibTeX:**
|
178 |
+
|
179 |
+
[More Information Needed]
|
180 |
+
|
181 |
+
**APA:**
|
182 |
+
|
183 |
+
[More Information Needed]
|
184 |
+
|
185 |
+
## Glossary [optional]
|
186 |
+
|
187 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
188 |
+
|
189 |
+
[More Information Needed]
|
190 |
+
|
191 |
+
## More Information [optional]
|
192 |
+
|
193 |
+
[More Information Needed]
|
194 |
+
|
195 |
+
## Model Card Authors [optional]
|
196 |
+
|
197 |
+
[More Information Needed]
|
198 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
## Model Card Contact
|
200 |
|
201 |
+
[More Information Needed]
|
|