Training in progress, step 12000
Browse files- 1_Pooling/config.json +3 -3
- Information-Retrieval_evaluation_val_results.csv +1 -0
- README.md +81 -260
- config.json +1 -1
- config_sentence_transformers.json +1 -1
- eval/Information-Retrieval_evaluation_val_results.csv +49 -0
- final_metrics.json +14 -14
- model.safetensors +2 -2
- modules.json +0 -6
- tokenizer_config.json +1 -1
1_Pooling/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"word_embedding_dimension":
|
| 3 |
-
"pooling_mode_cls_token":
|
| 4 |
-
"pooling_mode_mean_tokens":
|
| 5 |
"pooling_mode_max_tokens": false,
|
| 6 |
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
"pooling_mode_weightedmean_tokens": false,
|
|
|
|
| 1 |
{
|
| 2 |
+
"word_embedding_dimension": 512,
|
| 3 |
+
"pooling_mode_cls_token": true,
|
| 4 |
+
"pooling_mode_mean_tokens": false,
|
| 5 |
"pooling_mode_max_tokens": false,
|
| 6 |
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
"pooling_mode_weightedmean_tokens": false,
|
Information-Retrieval_evaluation_val_results.csv
CHANGED
|
@@ -11,3 +11,4 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
|
|
| 11 |
-1,-1,0.826575,0.900725,0.92805,0.826575,0.826575,0.30024166666666663,0.900725,0.18561000000000002,0.92805,0.826575,0.8658308333333287,0.8701137103174557,0.891705546917102,0.8723575730144177
|
| 12 |
-1,-1,0.82585,0.902175,0.930075,0.82585,0.82585,0.30072499999999996,0.902175,0.186015,0.930075,0.82585,0.8661279166666617,0.8703281448412645,0.8922105025555344,0.8724788643099791
|
| 13 |
-1,-1,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
|
|
|
|
|
|
| 11 |
-1,-1,0.826575,0.900725,0.92805,0.826575,0.826575,0.30024166666666663,0.900725,0.18561000000000002,0.92805,0.826575,0.8658308333333287,0.8701137103174557,0.891705546917102,0.8723575730144177
|
| 12 |
-1,-1,0.82585,0.902175,0.930075,0.82585,0.82585,0.30072499999999996,0.902175,0.186015,0.930075,0.82585,0.8661279166666617,0.8703281448412645,0.8922105025555344,0.8724788643099791
|
| 13 |
-1,-1,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
|
| 14 |
+
-1,-1,0.827675,0.9006,0.9272,0.827675,0.827675,0.3001999999999999,0.9006,0.18544000000000002,0.9272,0.827675,0.8661058333333287,0.8703261011904707,0.8916124422761306,0.8726181110807445
|
README.md
CHANGED
|
@@ -5,124 +5,51 @@ tags:
|
|
| 5 |
- feature-extraction
|
| 6 |
- dense
|
| 7 |
- generated_from_trainer
|
| 8 |
-
- dataset_size:
|
| 9 |
- loss:MultipleNegativesRankingLoss
|
| 10 |
-
base_model:
|
| 11 |
widget:
|
| 12 |
-
- source_sentence:
|
| 13 |
-
for one that's not married? Which one is for what?
|
| 14 |
sentences:
|
| 15 |
-
-
|
| 16 |
-
|
| 17 |
-
-
|
| 18 |
-
|
| 19 |
-
- source_sentence: Which ointment is applied to the face of UFC fighters at the commencement
|
| 20 |
-
of a bout? What does it do?
|
| 21 |
sentences:
|
| 22 |
-
-
|
| 23 |
-
-
|
| 24 |
-
|
| 25 |
-
-
|
| 26 |
-
- source_sentence:
|
| 27 |
sentences:
|
| 28 |
-
-
|
| 29 |
-
|
| 30 |
-
-
|
| 31 |
-
|
| 32 |
-
- source_sentence: Ordered food on Swiggy 3 days ago.After accepting my money, said
|
| 33 |
-
no more on Menu! When if ever will I atleast get refund in cr card a/c?
|
| 34 |
sentences:
|
| 35 |
-
-
|
| 36 |
-
- How
|
| 37 |
-
-
|
| 38 |
-
|
| 39 |
-
- source_sentence: How do you earn money on Quora?
|
| 40 |
sentences:
|
| 41 |
-
-
|
| 42 |
-
-
|
| 43 |
-
-
|
| 44 |
pipeline_tag: sentence-similarity
|
| 45 |
library_name: sentence-transformers
|
| 46 |
-
metrics:
|
| 47 |
-
- cosine_accuracy@1
|
| 48 |
-
- cosine_accuracy@3
|
| 49 |
-
- cosine_accuracy@5
|
| 50 |
-
- cosine_precision@1
|
| 51 |
-
- cosine_precision@3
|
| 52 |
-
- cosine_precision@5
|
| 53 |
-
- cosine_recall@1
|
| 54 |
-
- cosine_recall@3
|
| 55 |
-
- cosine_recall@5
|
| 56 |
-
- cosine_ndcg@10
|
| 57 |
-
- cosine_mrr@1
|
| 58 |
-
- cosine_mrr@5
|
| 59 |
-
- cosine_mrr@10
|
| 60 |
-
- cosine_map@100
|
| 61 |
-
model-index:
|
| 62 |
-
- name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
|
| 63 |
-
results:
|
| 64 |
-
- task:
|
| 65 |
-
type: information-retrieval
|
| 66 |
-
name: Information Retrieval
|
| 67 |
-
dataset:
|
| 68 |
-
name: val
|
| 69 |
-
type: val
|
| 70 |
-
metrics:
|
| 71 |
-
- type: cosine_accuracy@1
|
| 72 |
-
value: 0.827675
|
| 73 |
-
name: Cosine Accuracy@1
|
| 74 |
-
- type: cosine_accuracy@3
|
| 75 |
-
value: 0.9006
|
| 76 |
-
name: Cosine Accuracy@3
|
| 77 |
-
- type: cosine_accuracy@5
|
| 78 |
-
value: 0.9272
|
| 79 |
-
name: Cosine Accuracy@5
|
| 80 |
-
- type: cosine_precision@1
|
| 81 |
-
value: 0.827675
|
| 82 |
-
name: Cosine Precision@1
|
| 83 |
-
- type: cosine_precision@3
|
| 84 |
-
value: 0.3001999999999999
|
| 85 |
-
name: Cosine Precision@3
|
| 86 |
-
- type: cosine_precision@5
|
| 87 |
-
value: 0.18544000000000002
|
| 88 |
-
name: Cosine Precision@5
|
| 89 |
-
- type: cosine_recall@1
|
| 90 |
-
value: 0.827675
|
| 91 |
-
name: Cosine Recall@1
|
| 92 |
-
- type: cosine_recall@3
|
| 93 |
-
value: 0.9006
|
| 94 |
-
name: Cosine Recall@3
|
| 95 |
-
- type: cosine_recall@5
|
| 96 |
-
value: 0.9272
|
| 97 |
-
name: Cosine Recall@5
|
| 98 |
-
- type: cosine_ndcg@10
|
| 99 |
-
value: 0.8916124422761306
|
| 100 |
-
name: Cosine Ndcg@10
|
| 101 |
-
- type: cosine_mrr@1
|
| 102 |
-
value: 0.827675
|
| 103 |
-
name: Cosine Mrr@1
|
| 104 |
-
- type: cosine_mrr@5
|
| 105 |
-
value: 0.8661058333333287
|
| 106 |
-
name: Cosine Mrr@5
|
| 107 |
-
- type: cosine_mrr@10
|
| 108 |
-
value: 0.8703261011904707
|
| 109 |
-
name: Cosine Mrr@10
|
| 110 |
-
- type: cosine_map@100
|
| 111 |
-
value: 0.8726181110807445
|
| 112 |
-
name: Cosine Map@100
|
| 113 |
---
|
| 114 |
|
| 115 |
-
# SentenceTransformer based on
|
| 116 |
|
| 117 |
-
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [
|
| 118 |
|
| 119 |
## Model Details
|
| 120 |
|
| 121 |
### Model Description
|
| 122 |
- **Model Type:** Sentence Transformer
|
| 123 |
-
- **Base model:** [
|
| 124 |
- **Maximum Sequence Length:** 128 tokens
|
| 125 |
-
- **Output Dimensionality:**
|
| 126 |
- **Similarity Function:** Cosine Similarity
|
| 127 |
<!-- - **Training Dataset:** Unknown -->
|
| 128 |
<!-- - **Language:** Unknown -->
|
|
@@ -139,8 +66,7 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [s
|
|
| 139 |
```
|
| 140 |
SentenceTransformer(
|
| 141 |
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
|
| 142 |
-
(1): Pooling({'word_embedding_dimension':
|
| 143 |
-
(2): Normalize()
|
| 144 |
)
|
| 145 |
```
|
| 146 |
|
|
@@ -159,23 +85,23 @@ Then you can load this model and run inference.
|
|
| 159 |
from sentence_transformers import SentenceTransformer
|
| 160 |
|
| 161 |
# Download from the 🤗 Hub
|
| 162 |
-
model = SentenceTransformer("
|
| 163 |
# Run inference
|
| 164 |
sentences = [
|
| 165 |
-
'
|
| 166 |
-
'
|
| 167 |
-
'
|
| 168 |
]
|
| 169 |
embeddings = model.encode(sentences)
|
| 170 |
print(embeddings.shape)
|
| 171 |
-
# [3,
|
| 172 |
|
| 173 |
# Get the similarity scores for the embeddings
|
| 174 |
similarities = model.similarity(embeddings, embeddings)
|
| 175 |
print(similarities)
|
| 176 |
-
# tensor([[1.0000,
|
| 177 |
-
# [0.
|
| 178 |
-
# [0.
|
| 179 |
```
|
| 180 |
|
| 181 |
<!--
|
|
@@ -202,32 +128,6 @@ You can finetune this model on your own dataset.
|
|
| 202 |
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 203 |
-->
|
| 204 |
|
| 205 |
-
## Evaluation
|
| 206 |
-
|
| 207 |
-
### Metrics
|
| 208 |
-
|
| 209 |
-
#### Information Retrieval
|
| 210 |
-
|
| 211 |
-
* Dataset: `val`
|
| 212 |
-
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
|
| 213 |
-
|
| 214 |
-
| Metric | Value |
|
| 215 |
-
|:-------------------|:-----------|
|
| 216 |
-
| cosine_accuracy@1 | 0.8277 |
|
| 217 |
-
| cosine_accuracy@3 | 0.9006 |
|
| 218 |
-
| cosine_accuracy@5 | 0.9272 |
|
| 219 |
-
| cosine_precision@1 | 0.8277 |
|
| 220 |
-
| cosine_precision@3 | 0.3002 |
|
| 221 |
-
| cosine_precision@5 | 0.1854 |
|
| 222 |
-
| cosine_recall@1 | 0.8277 |
|
| 223 |
-
| cosine_recall@3 | 0.9006 |
|
| 224 |
-
| cosine_recall@5 | 0.9272 |
|
| 225 |
-
| **cosine_ndcg@10** | **0.8916** |
|
| 226 |
-
| cosine_mrr@1 | 0.8277 |
|
| 227 |
-
| cosine_mrr@5 | 0.8661 |
|
| 228 |
-
| cosine_mrr@10 | 0.8703 |
|
| 229 |
-
| cosine_map@100 | 0.8726 |
|
| 230 |
-
|
| 231 |
<!--
|
| 232 |
## Bias, Risks and Limitations
|
| 233 |
|
|
@@ -246,49 +146,23 @@ You can finetune this model on your own dataset.
|
|
| 246 |
|
| 247 |
#### Unnamed Dataset
|
| 248 |
|
| 249 |
-
* Size:
|
| 250 |
-
* Columns: <code>
|
| 251 |
-
* Approximate statistics based on the first 1000 samples:
|
| 252 |
-
| | anchor | positive | negative |
|
| 253 |
-
|:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
|
| 254 |
-
| type | string | string | string |
|
| 255 |
-
| details | <ul><li>min: 4 tokens</li><li>mean: 15.46 tokens</li><li>max: 49 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 15.52 tokens</li><li>max: 49 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 16.99 tokens</li><li>max: 128 tokens</li></ul> |
|
| 256 |
-
* Samples:
|
| 257 |
-
| anchor | positive | negative |
|
| 258 |
-
|:--------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|
|
| 259 |
-
| <code>Shall I upgrade my iPhone 5s to iOS 10 final version?</code> | <code>Should I upgrade an iPhone 5s to iOS 10?</code> | <code>Whether extension of CA-articleship is to be served at same firm/company?</code> |
|
| 260 |
-
| <code>Is Donald Trump really going to be the president of United States?</code> | <code>Do you think Donald Trump could conceivably be the next President of the United States?</code> | <code>Since solid carbon dioxide is dry ice and incredibly cold, why doesn't it have an effect on global warming?</code> |
|
| 261 |
-
| <code>What are real tips to improve work life balance?</code> | <code>What are the best ways to create a work life balance?</code> | <code>How do you open a briefcase combination lock without the combination?</code> |
|
| 262 |
-
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 263 |
-
```json
|
| 264 |
-
{
|
| 265 |
-
"scale": 7.0,
|
| 266 |
-
"similarity_fct": "cos_sim",
|
| 267 |
-
"gather_across_devices": false
|
| 268 |
-
}
|
| 269 |
-
```
|
| 270 |
-
|
| 271 |
-
### Evaluation Dataset
|
| 272 |
-
|
| 273 |
-
#### Unnamed Dataset
|
| 274 |
-
|
| 275 |
-
* Size: 40,000 evaluation samples
|
| 276 |
-
* Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
|
| 277 |
* Approximate statistics based on the first 1000 samples:
|
| 278 |
-
| |
|
| 279 |
-
|
| 280 |
-
| type | string | string
|
| 281 |
-
| details | <ul><li>min:
|
| 282 |
* Samples:
|
| 283 |
-
|
|
| 284 |
-
|
| 285 |
-
| <code>
|
| 286 |
-
| <code>
|
| 287 |
-
| <code>
|
| 288 |
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 289 |
```json
|
| 290 |
{
|
| 291 |
-
"scale":
|
| 292 |
"similarity_fct": "cos_sim",
|
| 293 |
"gather_across_devices": false
|
| 294 |
}
|
|
@@ -297,49 +171,36 @@ You can finetune this model on your own dataset.
|
|
| 297 |
### Training Hyperparameters
|
| 298 |
#### Non-Default Hyperparameters
|
| 299 |
|
| 300 |
-
- `
|
| 301 |
-
- `
|
| 302 |
-
- `per_device_eval_batch_size`: 256
|
| 303 |
-
- `learning_rate`: 2e-05
|
| 304 |
-
- `weight_decay`: 0.0001
|
| 305 |
-
- `max_steps`: 12000
|
| 306 |
-
- `warmup_ratio`: 0.1
|
| 307 |
- `fp16`: True
|
| 308 |
-
- `
|
| 309 |
-
- `dataloader_num_workers`: 1
|
| 310 |
-
- `dataloader_prefetch_factor`: 1
|
| 311 |
-
- `load_best_model_at_end`: True
|
| 312 |
-
- `optim`: adamw_torch
|
| 313 |
-
- `ddp_find_unused_parameters`: False
|
| 314 |
-
- `push_to_hub`: True
|
| 315 |
-
- `hub_model_id`: redis/model-a-baseline
|
| 316 |
-
- `eval_on_start`: True
|
| 317 |
|
| 318 |
#### All Hyperparameters
|
| 319 |
<details><summary>Click to expand</summary>
|
| 320 |
|
| 321 |
- `overwrite_output_dir`: False
|
| 322 |
- `do_predict`: False
|
| 323 |
-
- `eval_strategy`:
|
| 324 |
- `prediction_loss_only`: True
|
| 325 |
-
- `per_device_train_batch_size`:
|
| 326 |
-
- `per_device_eval_batch_size`:
|
| 327 |
- `per_gpu_train_batch_size`: None
|
| 328 |
- `per_gpu_eval_batch_size`: None
|
| 329 |
- `gradient_accumulation_steps`: 1
|
| 330 |
- `eval_accumulation_steps`: None
|
| 331 |
- `torch_empty_cache_steps`: None
|
| 332 |
-
- `learning_rate`:
|
| 333 |
-
- `weight_decay`: 0.
|
| 334 |
- `adam_beta1`: 0.9
|
| 335 |
- `adam_beta2`: 0.999
|
| 336 |
- `adam_epsilon`: 1e-08
|
| 337 |
-
- `max_grad_norm`: 1
|
| 338 |
-
- `num_train_epochs`: 3
|
| 339 |
-
- `max_steps`:
|
| 340 |
- `lr_scheduler_type`: linear
|
| 341 |
- `lr_scheduler_kwargs`: {}
|
| 342 |
-
- `warmup_ratio`: 0.
|
| 343 |
- `warmup_steps`: 0
|
| 344 |
- `log_level`: passive
|
| 345 |
- `log_level_replica`: warning
|
|
@@ -367,14 +228,14 @@ You can finetune this model on your own dataset.
|
|
| 367 |
- `tpu_num_cores`: None
|
| 368 |
- `tpu_metrics_debug`: False
|
| 369 |
- `debug`: []
|
| 370 |
-
- `dataloader_drop_last`:
|
| 371 |
-
- `dataloader_num_workers`:
|
| 372 |
-
- `dataloader_prefetch_factor`:
|
| 373 |
- `past_index`: -1
|
| 374 |
- `disable_tqdm`: False
|
| 375 |
- `remove_unused_columns`: True
|
| 376 |
- `label_names`: None
|
| 377 |
-
- `load_best_model_at_end`:
|
| 378 |
- `ignore_data_skip`: False
|
| 379 |
- `fsdp`: []
|
| 380 |
- `fsdp_min_num_params`: 0
|
|
@@ -384,23 +245,23 @@ You can finetune this model on your own dataset.
|
|
| 384 |
- `parallelism_config`: None
|
| 385 |
- `deepspeed`: None
|
| 386 |
- `label_smoothing_factor`: 0.0
|
| 387 |
-
- `optim`:
|
| 388 |
- `optim_args`: None
|
| 389 |
- `adafactor`: False
|
| 390 |
- `group_by_length`: False
|
| 391 |
- `length_column_name`: length
|
| 392 |
- `project`: huggingface
|
| 393 |
- `trackio_space_id`: trackio
|
| 394 |
-
- `ddp_find_unused_parameters`:
|
| 395 |
- `ddp_bucket_cap_mb`: None
|
| 396 |
- `ddp_broadcast_buffers`: False
|
| 397 |
- `dataloader_pin_memory`: True
|
| 398 |
- `dataloader_persistent_workers`: False
|
| 399 |
- `skip_memory_metrics`: True
|
| 400 |
- `use_legacy_prediction_loop`: False
|
| 401 |
-
- `push_to_hub`:
|
| 402 |
- `resume_from_checkpoint`: None
|
| 403 |
-
- `hub_model_id`:
|
| 404 |
- `hub_strategy`: every_save
|
| 405 |
- `hub_private_repo`: None
|
| 406 |
- `hub_always_push`: False
|
|
@@ -427,71 +288,31 @@ You can finetune this model on your own dataset.
|
|
| 427 |
- `neftune_noise_alpha`: None
|
| 428 |
- `optim_target_modules`: None
|
| 429 |
- `batch_eval_metrics`: False
|
| 430 |
-
- `eval_on_start`:
|
| 431 |
- `use_liger_kernel`: False
|
| 432 |
- `liger_kernel_config`: None
|
| 433 |
- `eval_use_gather_object`: False
|
| 434 |
- `average_tokens_across_devices`: True
|
| 435 |
- `prompts`: None
|
| 436 |
- `batch_sampler`: batch_sampler
|
| 437 |
-
- `multi_dataset_batch_sampler`:
|
| 438 |
- `router_mapping`: {}
|
| 439 |
- `learning_rate_mapping`: {}
|
| 440 |
|
| 441 |
</details>
|
| 442 |
|
| 443 |
### Training Logs
|
| 444 |
-
| Epoch | Step
|
| 445 |
-
|
| 446 |
-
| 0
|
| 447 |
-
| 0.
|
| 448 |
-
| 0.
|
| 449 |
-
|
|
| 450 |
-
|
|
| 451 |
-
|
|
| 452 |
-
|
|
| 453 |
-
|
|
| 454 |
-
|
|
| 455 |
-
| 1.6003 | 2250 | 0.749 | 0.6205 | 0.8909 |
|
| 456 |
-
| 1.7781 | 2500 | 0.7438 | 0.6158 | 0.8910 |
|
| 457 |
-
| 1.9559 | 2750 | 0.7381 | 0.6136 | 0.8910 |
|
| 458 |
-
| 2.1337 | 3000 | 0.729 | 0.6115 | 0.8906 |
|
| 459 |
-
| 2.3115 | 3250 | 0.725 | 0.6097 | 0.8912 |
|
| 460 |
-
| 2.4893 | 3500 | 0.7229 | 0.6079 | 0.8908 |
|
| 461 |
-
| 2.6671 | 3750 | 0.716 | 0.6057 | 0.8909 |
|
| 462 |
-
| 2.8450 | 4000 | 0.7139 | 0.6039 | 0.8911 |
|
| 463 |
-
| 3.0228 | 4250 | 0.7124 | 0.6025 | 0.8911 |
|
| 464 |
-
| 3.2006 | 4500 | 0.7055 | 0.6015 | 0.8910 |
|
| 465 |
-
| 3.3784 | 4750 | 0.7048 | 0.6002 | 0.8909 |
|
| 466 |
-
| 3.5562 | 5000 | 0.7025 | 0.5999 | 0.8911 |
|
| 467 |
-
| 3.7340 | 5250 | 0.6999 | 0.5979 | 0.8912 |
|
| 468 |
-
| 3.9118 | 5500 | 0.6974 | 0.5974 | 0.8912 |
|
| 469 |
-
| 4.0896 | 5750 | 0.6955 | 0.5962 | 0.8912 |
|
| 470 |
-
| 4.2674 | 6000 | 0.6919 | 0.5954 | 0.8911 |
|
| 471 |
-
| 4.4452 | 6250 | 0.6903 | 0.5945 | 0.8914 |
|
| 472 |
-
| 4.6230 | 6500 | 0.6888 | 0.5937 | 0.8914 |
|
| 473 |
-
| 4.8009 | 6750 | 0.6876 | 0.5931 | 0.8916 |
|
| 474 |
-
| 4.9787 | 7000 | 0.6871 | 0.5925 | 0.8914 |
|
| 475 |
-
| 5.1565 | 7250 | 0.6819 | 0.5919 | 0.8915 |
|
| 476 |
-
| 5.3343 | 7500 | 0.6827 | 0.5914 | 0.8919 |
|
| 477 |
-
| 5.5121 | 7750 | 0.6815 | 0.5908 | 0.8917 |
|
| 478 |
-
| 5.6899 | 8000 | 0.6806 | 0.5902 | 0.8916 |
|
| 479 |
-
| 5.8677 | 8250 | 0.6807 | 0.5897 | 0.8916 |
|
| 480 |
-
| 6.0455 | 8500 | 0.6771 | 0.5892 | 0.8916 |
|
| 481 |
-
| 6.2233 | 8750 | 0.6748 | 0.5889 | 0.8914 |
|
| 482 |
-
| 6.4011 | 9000 | 0.6756 | 0.5883 | 0.8916 |
|
| 483 |
-
| 6.5789 | 9250 | 0.6763 | 0.5879 | 0.8915 |
|
| 484 |
-
| 6.7568 | 9500 | 0.6747 | 0.5877 | 0.8916 |
|
| 485 |
-
| 6.9346 | 9750 | 0.6743 | 0.5874 | 0.8917 |
|
| 486 |
-
| 7.1124 | 10000 | 0.6726 | 0.5873 | 0.8918 |
|
| 487 |
-
| 7.2902 | 10250 | 0.6715 | 0.5869 | 0.8917 |
|
| 488 |
-
| 7.4680 | 10500 | 0.6715 | 0.5869 | 0.8917 |
|
| 489 |
-
| 7.6458 | 10750 | 0.6688 | 0.5867 | 0.8917 |
|
| 490 |
-
| 7.8236 | 11000 | 0.6718 | 0.5865 | 0.8917 |
|
| 491 |
-
| 8.0014 | 11250 | 0.6734 | 0.5865 | 0.8917 |
|
| 492 |
-
| 8.1792 | 11500 | 0.6692 | 0.5862 | 0.8917 |
|
| 493 |
-
| 8.3570 | 11750 | 0.6705 | 0.5861 | 0.8916 |
|
| 494 |
-
| 8.5349 | 12000 | 0.6698 | 0.5861 | 0.8916 |
|
| 495 |
|
| 496 |
|
| 497 |
### Framework Versions
|
|
|
|
| 5 |
- feature-extraction
|
| 6 |
- dense
|
| 7 |
- generated_from_trainer
|
| 8 |
+
- dataset_size:100000
|
| 9 |
- loss:MultipleNegativesRankingLoss
|
| 10 |
+
base_model: prajjwal1/bert-small
|
| 11 |
widget:
|
| 12 |
+
- source_sentence: How do I polish my English skills?
|
|
|
|
| 13 |
sentences:
|
| 14 |
+
- How can we polish English skills?
|
| 15 |
+
- Why should I move to Israel as a Jew?
|
| 16 |
+
- What are vitamins responsible for?
|
| 17 |
+
- source_sentence: Can I use the Kozuka Gothic Pro font as a font-face on my web site?
|
|
|
|
|
|
|
| 18 |
sentences:
|
| 19 |
+
- Can I use the Kozuka Gothic Pro font as a font-face on my web site?
|
| 20 |
+
- Why are Google, Facebook, YouTube and other social networking sites banned in
|
| 21 |
+
China?
|
| 22 |
+
- What font is used in Bloomberg Terminal?
|
| 23 |
+
- source_sentence: Is Quora the best Q&A site?
|
| 24 |
sentences:
|
| 25 |
+
- What was the best Quora question ever?
|
| 26 |
+
- Is Quora the best inquiry site?
|
| 27 |
+
- Where do I buy Oway hair products online?
|
| 28 |
+
- source_sentence: How can I customize my walking speed on Google Maps?
|
|
|
|
|
|
|
| 29 |
sentences:
|
| 30 |
+
- How do I bring back Google maps icon in my home screen?
|
| 31 |
+
- How many pages are there in all the Harry Potter books combined?
|
| 32 |
+
- How can I customize my walking speed on Google Maps?
|
| 33 |
+
- source_sentence: DId something exist before the Big Bang?
|
|
|
|
| 34 |
sentences:
|
| 35 |
+
- How can I improve my memory problem?
|
| 36 |
+
- Where can I buy Fairy Tail Manga?
|
| 37 |
+
- Is there a scientific name for what existed before the Big Bang?
|
| 38 |
pipeline_tag: sentence-similarity
|
| 39 |
library_name: sentence-transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
---
|
| 41 |
|
| 42 |
+
# SentenceTransformer based on prajjwal1/bert-small
|
| 43 |
|
| 44 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [prajjwal1/bert-small](https://huggingface.co/prajjwal1/bert-small). 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.
|
| 45 |
|
| 46 |
## Model Details
|
| 47 |
|
| 48 |
### Model Description
|
| 49 |
- **Model Type:** Sentence Transformer
|
| 50 |
+
- **Base model:** [prajjwal1/bert-small](https://huggingface.co/prajjwal1/bert-small) <!-- at revision 0ec5f86f27c1a77d704439db5e01c307ea11b9d4 -->
|
| 51 |
- **Maximum Sequence Length:** 128 tokens
|
| 52 |
+
- **Output Dimensionality:** 512 dimensions
|
| 53 |
- **Similarity Function:** Cosine Similarity
|
| 54 |
<!-- - **Training Dataset:** Unknown -->
|
| 55 |
<!-- - **Language:** Unknown -->
|
|
|
|
| 66 |
```
|
| 67 |
SentenceTransformer(
|
| 68 |
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
|
| 69 |
+
(1): Pooling({'word_embedding_dimension': 512, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
|
|
|
| 70 |
)
|
| 71 |
```
|
| 72 |
|
|
|
|
| 85 |
from sentence_transformers import SentenceTransformer
|
| 86 |
|
| 87 |
# Download from the 🤗 Hub
|
| 88 |
+
model = SentenceTransformer("sentence_transformers_model_id")
|
| 89 |
# Run inference
|
| 90 |
sentences = [
|
| 91 |
+
'DId something exist before the Big Bang?',
|
| 92 |
+
'Is there a scientific name for what existed before the Big Bang?',
|
| 93 |
+
'Where can I buy Fairy Tail Manga?',
|
| 94 |
]
|
| 95 |
embeddings = model.encode(sentences)
|
| 96 |
print(embeddings.shape)
|
| 97 |
+
# [3, 512]
|
| 98 |
|
| 99 |
# Get the similarity scores for the embeddings
|
| 100 |
similarities = model.similarity(embeddings, embeddings)
|
| 101 |
print(similarities)
|
| 102 |
+
# tensor([[ 1.0000, 0.7596, -0.0398],
|
| 103 |
+
# [ 0.7596, 1.0000, -0.0308],
|
| 104 |
+
# [-0.0398, -0.0308, 1.0000]])
|
| 105 |
```
|
| 106 |
|
| 107 |
<!--
|
|
|
|
| 128 |
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 129 |
-->
|
| 130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
<!--
|
| 132 |
## Bias, Risks and Limitations
|
| 133 |
|
|
|
|
| 146 |
|
| 147 |
#### Unnamed Dataset
|
| 148 |
|
| 149 |
+
* Size: 100,000 training samples
|
| 150 |
+
* Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>sentence_2</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
* Approximate statistics based on the first 1000 samples:
|
| 152 |
+
| | sentence_0 | sentence_1 | sentence_2 |
|
| 153 |
+
|:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
|
| 154 |
+
| type | string | string | string |
|
| 155 |
+
| details | <ul><li>min: 3 tokens</li><li>mean: 15.53 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 15.5 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.87 tokens</li><li>max: 128 tokens</li></ul> |
|
| 156 |
* Samples:
|
| 157 |
+
| sentence_0 | sentence_1 | sentence_2 |
|
| 158 |
+
|:----------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------|:-----------------------------------------------------------------------|
|
| 159 |
+
| <code>Is there visitor entry facility in Jaipur airport. How much is the ticket?</code> | <code>Is there visitor entry facility in Jaipur airport. How much is the ticket?</code> | <code>How much is the airport tax in bogota?</code> |
|
| 160 |
+
| <code>Which concept is more important: good planning or hard work?</code> | <code>Which concept is more important: good planning or hard work?</code> | <code>What is important in life: luck or hard work?</code> |
|
| 161 |
+
| <code>What is the most efficient way to make money?</code> | <code>How can I make my money make money?</code> | <code>What can one learn about Quantum Mechanics in 10 minutes?</code> |
|
| 162 |
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 163 |
```json
|
| 164 |
{
|
| 165 |
+
"scale": 20.0,
|
| 166 |
"similarity_fct": "cos_sim",
|
| 167 |
"gather_across_devices": false
|
| 168 |
}
|
|
|
|
| 171 |
### Training Hyperparameters
|
| 172 |
#### Non-Default Hyperparameters
|
| 173 |
|
| 174 |
+
- `per_device_train_batch_size`: 64
|
| 175 |
+
- `per_device_eval_batch_size`: 64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
- `fp16`: True
|
| 177 |
+
- `multi_dataset_batch_sampler`: round_robin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
|
| 179 |
#### All Hyperparameters
|
| 180 |
<details><summary>Click to expand</summary>
|
| 181 |
|
| 182 |
- `overwrite_output_dir`: False
|
| 183 |
- `do_predict`: False
|
| 184 |
+
- `eval_strategy`: no
|
| 185 |
- `prediction_loss_only`: True
|
| 186 |
+
- `per_device_train_batch_size`: 64
|
| 187 |
+
- `per_device_eval_batch_size`: 64
|
| 188 |
- `per_gpu_train_batch_size`: None
|
| 189 |
- `per_gpu_eval_batch_size`: None
|
| 190 |
- `gradient_accumulation_steps`: 1
|
| 191 |
- `eval_accumulation_steps`: None
|
| 192 |
- `torch_empty_cache_steps`: None
|
| 193 |
+
- `learning_rate`: 5e-05
|
| 194 |
+
- `weight_decay`: 0.0
|
| 195 |
- `adam_beta1`: 0.9
|
| 196 |
- `adam_beta2`: 0.999
|
| 197 |
- `adam_epsilon`: 1e-08
|
| 198 |
+
- `max_grad_norm`: 1
|
| 199 |
+
- `num_train_epochs`: 3
|
| 200 |
+
- `max_steps`: -1
|
| 201 |
- `lr_scheduler_type`: linear
|
| 202 |
- `lr_scheduler_kwargs`: {}
|
| 203 |
+
- `warmup_ratio`: 0.0
|
| 204 |
- `warmup_steps`: 0
|
| 205 |
- `log_level`: passive
|
| 206 |
- `log_level_replica`: warning
|
|
|
|
| 228 |
- `tpu_num_cores`: None
|
| 229 |
- `tpu_metrics_debug`: False
|
| 230 |
- `debug`: []
|
| 231 |
+
- `dataloader_drop_last`: False
|
| 232 |
+
- `dataloader_num_workers`: 0
|
| 233 |
+
- `dataloader_prefetch_factor`: None
|
| 234 |
- `past_index`: -1
|
| 235 |
- `disable_tqdm`: False
|
| 236 |
- `remove_unused_columns`: True
|
| 237 |
- `label_names`: None
|
| 238 |
+
- `load_best_model_at_end`: False
|
| 239 |
- `ignore_data_skip`: False
|
| 240 |
- `fsdp`: []
|
| 241 |
- `fsdp_min_num_params`: 0
|
|
|
|
| 245 |
- `parallelism_config`: None
|
| 246 |
- `deepspeed`: None
|
| 247 |
- `label_smoothing_factor`: 0.0
|
| 248 |
+
- `optim`: adamw_torch_fused
|
| 249 |
- `optim_args`: None
|
| 250 |
- `adafactor`: False
|
| 251 |
- `group_by_length`: False
|
| 252 |
- `length_column_name`: length
|
| 253 |
- `project`: huggingface
|
| 254 |
- `trackio_space_id`: trackio
|
| 255 |
+
- `ddp_find_unused_parameters`: None
|
| 256 |
- `ddp_bucket_cap_mb`: None
|
| 257 |
- `ddp_broadcast_buffers`: False
|
| 258 |
- `dataloader_pin_memory`: True
|
| 259 |
- `dataloader_persistent_workers`: False
|
| 260 |
- `skip_memory_metrics`: True
|
| 261 |
- `use_legacy_prediction_loop`: False
|
| 262 |
+
- `push_to_hub`: False
|
| 263 |
- `resume_from_checkpoint`: None
|
| 264 |
+
- `hub_model_id`: None
|
| 265 |
- `hub_strategy`: every_save
|
| 266 |
- `hub_private_repo`: None
|
| 267 |
- `hub_always_push`: False
|
|
|
|
| 288 |
- `neftune_noise_alpha`: None
|
| 289 |
- `optim_target_modules`: None
|
| 290 |
- `batch_eval_metrics`: False
|
| 291 |
+
- `eval_on_start`: False
|
| 292 |
- `use_liger_kernel`: False
|
| 293 |
- `liger_kernel_config`: None
|
| 294 |
- `eval_use_gather_object`: False
|
| 295 |
- `average_tokens_across_devices`: True
|
| 296 |
- `prompts`: None
|
| 297 |
- `batch_sampler`: batch_sampler
|
| 298 |
+
- `multi_dataset_batch_sampler`: round_robin
|
| 299 |
- `router_mapping`: {}
|
| 300 |
- `learning_rate_mapping`: {}
|
| 301 |
|
| 302 |
</details>
|
| 303 |
|
| 304 |
### Training Logs
|
| 305 |
+
| Epoch | Step | Training Loss |
|
| 306 |
+
|:------:|:----:|:-------------:|
|
| 307 |
+
| 0.3199 | 500 | 0.2284 |
|
| 308 |
+
| 0.6398 | 1000 | 0.0571 |
|
| 309 |
+
| 0.9597 | 1500 | 0.0486 |
|
| 310 |
+
| 1.2796 | 2000 | 0.0378 |
|
| 311 |
+
| 1.5995 | 2500 | 0.0367 |
|
| 312 |
+
| 1.9194 | 3000 | 0.0338 |
|
| 313 |
+
| 2.2393 | 3500 | 0.0327 |
|
| 314 |
+
| 2.5592 | 4000 | 0.0285 |
|
| 315 |
+
| 2.8791 | 4500 | 0.0285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 316 |
|
| 317 |
|
| 318 |
### Framework Versions
|
config.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
| 15 |
"max_position_embeddings": 512,
|
| 16 |
"model_type": "bert",
|
| 17 |
"num_attention_heads": 12,
|
| 18 |
-
"num_hidden_layers":
|
| 19 |
"pad_token_id": 0,
|
| 20 |
"position_embedding_type": "absolute",
|
| 21 |
"transformers_version": "4.57.3",
|
|
|
|
| 15 |
"max_position_embeddings": 512,
|
| 16 |
"model_type": "bert",
|
| 17 |
"num_attention_heads": 12,
|
| 18 |
+
"num_hidden_layers": 12,
|
| 19 |
"pad_token_id": 0,
|
| 20 |
"position_embedding_type": "absolute",
|
| 21 |
"transformers_version": "4.57.3",
|
config_sentence_transformers.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"__version__": {
|
| 3 |
"sentence_transformers": "5.2.0",
|
| 4 |
"transformers": "4.57.3",
|
| 5 |
"pytorch": "2.9.1+cu128"
|
| 6 |
},
|
| 7 |
-
"model_type": "SentenceTransformer",
|
| 8 |
"prompts": {
|
| 9 |
"query": "",
|
| 10 |
"document": ""
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "SentenceTransformer",
|
| 3 |
"__version__": {
|
| 4 |
"sentence_transformers": "5.2.0",
|
| 5 |
"transformers": "4.57.3",
|
| 6 |
"pytorch": "2.9.1+cu128"
|
| 7 |
},
|
|
|
|
| 8 |
"prompts": {
|
| 9 |
"query": "",
|
| 10 |
"document": ""
|
eval/Information-Retrieval_evaluation_val_results.csv
CHANGED
|
@@ -867,3 +867,52 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
|
|
| 867 |
8.17923186344239,11500,0.827775,0.90055,0.9272,0.827775,0.827775,0.30018333333333325,0.90055,0.18544000000000005,0.9272,0.827775,0.8661820833333286,0.8704046329365026,0.8916719767589327,0.8726965525672397
|
| 868 |
8.357041251778094,11750,0.827725,0.900575,0.9273,0.827725,0.827725,0.3001916666666666,0.900575,0.18546,0.9273,0.827725,0.8661516666666623,0.8703490972222169,0.8916142319118482,0.8726456646970746
|
| 869 |
8.534850640113799,12000,0.827675,0.9006,0.9272,0.827675,0.827675,0.3001999999999999,0.9006,0.18544000000000002,0.9272,0.827675,0.8661058333333287,0.8703261011904707,0.8916124422761306,0.8726181110807445
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 867 |
8.17923186344239,11500,0.827775,0.90055,0.9272,0.827775,0.827775,0.30018333333333325,0.90055,0.18544000000000005,0.9272,0.827775,0.8661820833333286,0.8704046329365026,0.8916719767589327,0.8726965525672397
|
| 868 |
8.357041251778094,11750,0.827725,0.900575,0.9273,0.827725,0.827725,0.3001916666666666,0.900575,0.18546,0.9273,0.827725,0.8661516666666623,0.8703490972222169,0.8916142319118482,0.8726456646970746
|
| 869 |
8.534850640113799,12000,0.827675,0.9006,0.9272,0.827675,0.827675,0.3001999999999999,0.9006,0.18544000000000002,0.9272,0.827675,0.8661058333333287,0.8703261011904707,0.8916124422761306,0.8726181110807445
|
| 870 |
+
0,0,0.831625,0.904825,0.930275,0.831625,0.831625,0.3016083333333333,0.904825,0.18605500000000003,0.930275,0.831625,0.8700020833333297,0.8740149702380903,0.8947956228329856,0.8761202191912003
|
| 871 |
+
0.17780938833570412,250,0.8309,0.902175,0.928025,0.8309,0.8309,0.3007249999999999,0.902175,0.18560500000000002,0.928025,0.8309,0.8685729166666637,0.8725017162698372,0.8929538326746335,0.8747333227558265
|
| 872 |
+
0.35561877667140823,500,0.830325,0.901275,0.926725,0.830325,0.830325,0.30042499999999994,0.901275,0.185345,0.926725,0.830325,0.8676833333333298,0.8716772619047575,0.8921279801127974,0.8739299710019109
|
| 873 |
+
0.5334281650071123,750,0.83005,0.90135,0.92655,0.83005,0.83005,0.30044999999999994,0.90135,0.18531000000000003,0.92655,0.83005,0.8674479166666631,0.8715112202380917,0.8920520906211146,0.8737437000129952
|
| 874 |
+
0.7112375533428165,1000,0.82965,0.901625,0.927075,0.82965,0.82965,0.3005416666666666,0.901625,0.18541500000000002,0.927075,0.82965,0.8673416666666631,0.8713230753968207,0.8918970863179578,0.8735992012066941
|
| 875 |
+
0.8890469416785206,1250,0.82985,0.901375,0.926625,0.82985,0.82985,0.30045833333333327,0.901375,0.18532500000000005,0.926625,0.82985,0.8672583333333292,0.8713413194444398,0.8919456773959668,0.8736069337201386
|
| 876 |
+
1.0668563300142249,1500,0.82845,0.900825,0.92675,0.82845,0.82845,0.3002749999999999,0.900825,0.18535,0.92675,0.82845,0.8665154166666634,0.8705226190476147,0.8912653496095391,0.8728247615160977
|
| 877 |
+
1.2446657183499288,1750,0.82955,0.901025,0.926625,0.82955,0.82955,0.3003416666666666,0.901025,0.18532500000000005,0.926625,0.82955,0.8670879166666633,0.8712592559523779,0.892052086854967,0.8735261480766443
|
| 878 |
+
1.422475106685633,2000,0.829025,0.9009,0.926575,0.829025,0.829025,0.30029999999999996,0.9009,0.185315,0.926575,0.829025,0.8667866666666623,0.8709597321428515,0.8918234296855311,0.8732313918966004
|
| 879 |
+
1.600284495021337,2250,0.82945,0.90095,0.926825,0.82945,0.82945,0.3003166666666667,0.90095,0.185365,0.926825,0.82945,0.8671574999999966,0.871418571428566,0.8924118112112361,0.8736261739430169
|
| 880 |
+
1.7780938833570412,2500,0.829525,0.90105,0.92685,0.829525,0.829525,0.30034999999999995,0.90105,0.18537000000000003,0.92685,0.829525,0.8672737499999971,0.8715154563492026,0.8924613501410394,0.8737406680512708
|
| 881 |
+
1.9559032716927454,2750,0.829675,0.90125,0.927475,0.829675,0.829675,0.30041666666666667,0.90125,0.18549500000000002,0.927475,0.829675,0.8674449999999956,0.8716037202380902,0.8925415615997252,0.8738450662235883
|
| 882 |
+
2.1337126600284497,3000,0.829075,0.9008,0.92675,0.829075,0.829075,0.3002666666666666,0.9008,0.18535000000000001,0.92675,0.829075,0.8667741666666628,0.8710116964285664,0.8920264577161328,0.8732648935262536
|
| 883 |
+
2.3115220483641536,3250,0.82915,0.901725,0.927225,0.82915,0.82915,0.300575,0.901725,0.18544500000000003,0.927225,0.82915,0.8672691666666625,0.8715357936507893,0.8926252728417705,0.8737524052827684
|
| 884 |
+
2.4893314366998576,3500,0.828725,0.90075,0.927225,0.828725,0.828725,0.3002499999999999,0.90075,0.18544500000000003,0.927225,0.828725,0.8669262499999957,0.8711759424603118,0.8923208999638791,0.8734087810069759
|
| 885 |
+
2.667140825035562,3750,0.82925,0.90105,0.926225,0.82925,0.82925,0.30034999999999995,0.90105,0.18524500000000002,0.926225,0.82925,0.8669612499999952,0.8714276289682487,0.892603862691297,0.873625909298415
|
| 886 |
+
2.844950213371266,4000,0.828925,0.90155,0.9279,0.828925,0.828925,0.3005166666666666,0.90155,0.18558000000000002,0.9279,0.828925,0.8671687499999962,0.8713887996031692,0.8926037043285648,0.8736030360147775
|
| 887 |
+
3.0227596017069702,4250,0.8292,0.90125,0.9282,0.8292,0.8292,0.3004166666666666,0.90125,0.18564000000000003,0.9282,0.8292,0.8673362499999951,0.8715186408730106,0.8926932877250805,0.8737421170004287
|
| 888 |
+
3.200568990042674,4500,0.828725,0.9017,0.927925,0.828725,0.828725,0.3005666666666666,0.9017,0.185585,0.927925,0.828725,0.8671874999999957,0.8714773710317401,0.8928057244763989,0.8736715357231882
|
| 889 |
+
3.3783783783783785,4750,0.82925,0.901825,0.9284,0.82925,0.82925,0.3006083333333333,0.901825,0.18568,0.9284,0.82925,0.8675054166666624,0.87171569444444,0.8929504439351491,0.8739172164473435
|
| 890 |
+
3.5561877667140824,5000,0.82925,0.901975,0.928225,0.82925,0.82925,0.3006583333333333,0.901975,0.18564500000000003,0.928225,0.82925,0.8675583333333287,0.8718421428571371,0.8931189282508167,0.8740283561506716
|
| 891 |
+
3.733997155049787,5250,0.828625,0.901675,0.928875,0.828625,0.828625,0.3005583333333333,0.901675,0.18577500000000002,0.928875,0.828625,0.8673216666666625,0.8715534226190428,0.8929745876875748,0.8737198830801384
|
| 892 |
+
3.9118065433854907,5500,0.829,0.901675,0.928225,0.829,0.829,0.3005583333333333,0.901675,0.18564500000000003,0.928225,0.829,0.867338333333329,0.8716140773809468,0.8929217746043001,0.8738196655522955
|
| 893 |
+
4.089615931721195,5750,0.8291,0.90215,0.928475,0.8291,0.8291,0.30071666666666663,0.90215,0.18569500000000003,0.928475,0.8291,0.867640416666663,0.8719272619047571,0.8932392181682497,0.874124583229975
|
| 894 |
+
4.2674253200568995,6000,0.8286,0.90205,0.928525,0.8286,0.8286,0.3006833333333333,0.90205,0.185705,0.928525,0.8286,0.867340416666663,0.8715280654761857,0.8927936848185067,0.8737715728780511
|
| 895 |
+
4.445234708392603,6250,0.828625,0.9024,0.929075,0.828625,0.828625,0.30079999999999996,0.9024,0.185815,0.929075,0.828625,0.8675708333333285,0.8717594841269786,0.8931152781348354,0.8739596599602293
|
| 896 |
+
4.623044096728307,6500,0.8289,0.9024,0.9294,0.8289,0.8289,0.3007999999999999,0.9024,0.18588000000000005,0.9294,0.8289,0.867770416666663,0.87187758928571,0.8930975101343516,0.8741281183314473
|
| 897 |
+
4.800853485064011,6750,0.8289,0.902375,0.92945,0.8289,0.8289,0.3007916666666667,0.902375,0.18589,0.92945,0.8289,0.8678683333333289,0.8720034722222172,0.893275435795285,0.8742311935731993
|
| 898 |
+
4.978662873399715,7000,0.828925,0.90245,0.92885,0.828925,0.828925,0.3008166666666667,0.90245,0.18577000000000002,0.92885,0.828925,0.8676416666666624,0.8718145634920582,0.8930143027384154,0.874081632481735
|
| 899 |
+
5.15647226173542,7250,0.828625,0.901875,0.92925,0.828625,0.828625,0.300625,0.901875,0.18585,0.92925,0.828625,0.8675404166666627,0.871692539682534,0.8929959274216948,0.8739423722429887
|
| 900 |
+
5.334281650071124,7500,0.82945,0.902125,0.92955,0.82945,0.82945,0.3007083333333333,0.902125,0.18591000000000002,0.92955,0.82945,0.868159999999996,0.8722399503968199,0.8933571018155224,0.874499699669214
|
| 901 |
+
5.512091038406828,7750,0.8291,0.9021,0.929275,0.8291,0.8291,0.3006999999999999,0.9021,0.18585500000000002,0.929275,0.8291,0.8679370833333294,0.8721387202380895,0.8934094257505741,0.874347382813781
|
| 902 |
+
5.689900426742532,8000,0.828825,0.9022,0.9295,0.828825,0.828825,0.30073333333333324,0.9022,0.1859,0.9295,0.828825,0.8678212499999955,0.8718958829365024,0.8930664285193755,0.8741740890708576
|
| 903 |
+
5.867709815078236,8250,0.829275,0.902725,0.9299,0.829275,0.829275,0.3009083333333333,0.902725,0.18598,0.9299,0.829275,0.8682024999999943,0.8722260019841209,0.8933331360580372,0.8745133632691464
|
| 904 |
+
6.0455192034139404,8500,0.828775,0.901875,0.9297,0.828775,0.828775,0.3006249999999999,0.901875,0.18594000000000002,0.9297,0.828775,0.8677733333333275,0.8718678968253908,0.8931366407847511,0.87411588035112
|
| 905 |
+
6.223328591749644,8750,0.828975,0.9021,0.929325,0.828975,0.828975,0.30069999999999997,0.9021,0.18586500000000003,0.929325,0.828975,0.8677941666666613,0.8719745932539625,0.8932472018391169,0.8742047139175374
|
| 906 |
+
6.401137980085348,9000,0.829125,0.9026,0.93015,0.829125,0.829125,0.3008666666666666,0.9026,0.18603000000000006,0.93015,0.829125,0.868102499999995,0.8721592063492002,0.8934370150571285,0.8743781121824579
|
| 907 |
+
6.578947368421053,9250,0.8289,0.902425,0.929925,0.8289,0.8289,0.3008083333333333,0.902425,0.185985,0.929925,0.8289,0.8679437499999944,0.8720076289682469,0.8932713634606291,0.8742460745252904
|
| 908 |
+
6.756756756756757,9500,0.828925,0.902,0.9295,0.828925,0.828925,0.3006666666666666,0.902,0.1859,0.9295,0.828925,0.8678695833333282,0.8720051984126925,0.8932465278972923,0.8742575945249027
|
| 909 |
+
6.934566145092461,9750,0.828975,0.902475,0.9303,0.828975,0.828975,0.30082499999999995,0.902475,0.18606000000000003,0.9303,0.828975,0.8681374999999951,0.8721719345238036,0.8934081574929793,0.8744241035730255
|
| 910 |
+
7.112375533428165,10000,0.82925,0.90255,0.9299,0.82925,0.82925,0.30084999999999995,0.90255,0.18598000000000003,0.9299,0.82925,0.868111666666662,0.8721829464285649,0.8933828781325055,0.8744379732650784
|
| 911 |
+
7.290184921763869,10250,0.82925,0.902775,0.9305,0.82925,0.82925,0.30092499999999994,0.902775,0.1861,0.9305,0.82925,0.8683645833333281,0.8723633035714223,0.8935592675577376,0.8746075116293569
|
| 912 |
+
7.467994310099574,10500,0.8286,0.902625,0.930125,0.8286,0.8286,0.300875,0.902625,0.18602500000000005,0.930125,0.8286,0.8678754166666618,0.8719397718253904,0.893234013911161,0.8741865749917389
|
| 913 |
+
7.6458036984352775,10750,0.8287,0.903,0.9303,0.8287,0.8287,0.301,0.903,0.18606,0.9303,0.8287,0.8680454166666621,0.8720796726190423,0.8933305820091977,0.8743385301196366
|
| 914 |
+
7.823613086770981,11000,0.82905,0.902725,0.930125,0.82905,0.82905,0.3009083333333333,0.902725,0.18602500000000005,0.930125,0.82905,0.868142083333329,0.872236210317455,0.8935066251827831,0.8744652022358489
|
| 915 |
+
8.001422475106686,11250,0.82905,0.902775,0.930375,0.82905,0.82905,0.30092499999999994,0.902775,0.18607500000000002,0.930375,0.82905,0.8682774999999954,0.8723231448412644,0.8935609899273397,0.8745617632689283
|
| 916 |
+
8.17923186344239,11500,0.8291,0.902725,0.930425,0.8291,0.8291,0.3009083333333333,0.902725,0.18608500000000003,0.930425,0.8291,0.868302916666662,0.8723129365079314,0.8934984837860438,0.8745770163799339
|
| 917 |
+
8.357041251778094,11750,0.829025,0.90275,0.93025,0.829025,0.829025,0.3009166666666666,0.90275,0.18605000000000002,0.93025,0.829025,0.8682012499999952,0.8722469146825345,0.8934640564205625,0.87450322519466
|
| 918 |
+
8.534850640113799,12000,0.82885,0.902725,0.93035,0.82885,0.82885,0.3009083333333333,0.902725,0.18607000000000004,0.93035,0.82885,0.8681187499999955,0.8721355654761855,0.8933682535781845,0.8743952711926549
|
final_metrics.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
| 1 |
{
|
| 2 |
-
"val_cosine_accuracy@1": 0.
|
| 3 |
-
"val_cosine_accuracy@3": 0.
|
| 4 |
-
"val_cosine_accuracy@5": 0.
|
| 5 |
-
"val_cosine_precision@1": 0.
|
| 6 |
-
"val_cosine_precision@3": 0.
|
| 7 |
-
"val_cosine_precision@5": 0.
|
| 8 |
-
"val_cosine_recall@1": 0.
|
| 9 |
-
"val_cosine_recall@3": 0.
|
| 10 |
-
"val_cosine_recall@5": 0.
|
| 11 |
-
"val_cosine_ndcg@10": 0.
|
| 12 |
-
"val_cosine_mrr@1": 0.
|
| 13 |
-
"val_cosine_mrr@5": 0.
|
| 14 |
-
"val_cosine_mrr@10": 0.
|
| 15 |
-
"val_cosine_map@100": 0.
|
| 16 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"val_cosine_accuracy@1": 0.827675,
|
| 3 |
+
"val_cosine_accuracy@3": 0.9006,
|
| 4 |
+
"val_cosine_accuracy@5": 0.9272,
|
| 5 |
+
"val_cosine_precision@1": 0.827675,
|
| 6 |
+
"val_cosine_precision@3": 0.3001999999999999,
|
| 7 |
+
"val_cosine_precision@5": 0.18544000000000002,
|
| 8 |
+
"val_cosine_recall@1": 0.827675,
|
| 9 |
+
"val_cosine_recall@3": 0.9006,
|
| 10 |
+
"val_cosine_recall@5": 0.9272,
|
| 11 |
+
"val_cosine_ndcg@10": 0.8916124422761306,
|
| 12 |
+
"val_cosine_mrr@1": 0.827675,
|
| 13 |
+
"val_cosine_mrr@5": 0.8661058333333287,
|
| 14 |
+
"val_cosine_mrr@10": 0.8703261011904707,
|
| 15 |
+
"val_cosine_map@100": 0.8726181110807445
|
| 16 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7c7afc06dad67124b52482ffca5970ca799969e342466f6e3c5f74a85a05d03
|
| 3 |
+
size 133462128
|
modules.json
CHANGED
|
@@ -10,11 +10,5 @@
|
|
| 10 |
"name": "1",
|
| 11 |
"path": "1_Pooling",
|
| 12 |
"type": "sentence_transformers.models.Pooling"
|
| 13 |
-
},
|
| 14 |
-
{
|
| 15 |
-
"idx": 2,
|
| 16 |
-
"name": "2",
|
| 17 |
-
"path": "2_Normalize",
|
| 18 |
-
"type": "sentence_transformers.models.Normalize"
|
| 19 |
}
|
| 20 |
]
|
|
|
|
| 10 |
"name": "1",
|
| 11 |
"path": "1_Pooling",
|
| 12 |
"type": "sentence_transformers.models.Pooling"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
}
|
| 14 |
]
|
tokenizer_config.json
CHANGED
|
@@ -48,7 +48,7 @@
|
|
| 48 |
"extra_special_tokens": {},
|
| 49 |
"mask_token": "[MASK]",
|
| 50 |
"max_length": 128,
|
| 51 |
-
"model_max_length":
|
| 52 |
"never_split": null,
|
| 53 |
"pad_to_multiple_of": null,
|
| 54 |
"pad_token": "[PAD]",
|
|
|
|
| 48 |
"extra_special_tokens": {},
|
| 49 |
"mask_token": "[MASK]",
|
| 50 |
"max_length": 128,
|
| 51 |
+
"model_max_length": 128,
|
| 52 |
"never_split": null,
|
| 53 |
"pad_to_multiple_of": null,
|
| 54 |
"pad_token": "[PAD]",
|