Training in progress, step 10000
Browse files- 1_Pooling/config.json +3 -3
- Information-Retrieval_evaluation_val_results.csv +1 -0
- README.md +80 -231
- eval/Information-Retrieval_evaluation_val_results.csv +41 -0
- final_metrics.json +14 -14
- model.safetensors +1 -1
- modules.json +0 -6
- training_args.bin +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
|
@@ -8,3 +8,4 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
|
|
| 8 |
-1,-1,0.7467,0.81875,0.842275,0.7467,0.7467,0.27291666666666664,0.81875,0.16845500000000002,0.842275,0.7467,0.784354583333328,0.7884659325396792,0.8088581445720447,0.7917670616349511
|
| 9 |
-1,-1,0.83665,0.91045,0.9361,0.83665,0.83665,0.3034833333333333,0.91045,0.18722000000000003,0.9361,0.83665,0.8753945833333286,0.8793089583333286,0.9000254411118587,0.8812821493075779
|
| 10 |
-1,-1,0.827675,0.903,0.928425,0.827675,0.827675,0.30099999999999993,0.903,0.18568500000000004,0.928425,0.827675,0.8671804166666619,0.8711970039682481,0.8922532953454642,0.87334664003711
|
|
|
|
|
|
| 8 |
-1,-1,0.7467,0.81875,0.842275,0.7467,0.7467,0.27291666666666664,0.81875,0.16845500000000002,0.842275,0.7467,0.784354583333328,0.7884659325396792,0.8088581445720447,0.7917670616349511
|
| 9 |
-1,-1,0.83665,0.91045,0.9361,0.83665,0.83665,0.3034833333333333,0.91045,0.18722000000000003,0.9361,0.83665,0.8753945833333286,0.8793089583333286,0.9000254411118587,0.8812821493075779
|
| 10 |
-1,-1,0.827675,0.903,0.928425,0.827675,0.827675,0.30099999999999993,0.903,0.18568500000000004,0.928425,0.827675,0.8671804166666619,0.8711970039682481,0.8922532953454642,0.87334664003711
|
| 11 |
+
-1,-1,0.83295,0.9071,0.9329,0.83295,0.83295,0.3023666666666666,0.9071,0.18658000000000005,0.9329,0.83295,0.872013749999996,0.8760916468253912,0.8970951855878305,0.8781372459990227
|
README.md
CHANGED
|
@@ -5,123 +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 |
sentences:
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
- What
|
| 17 |
-
- source_sentence:
|
| 18 |
-
been underestimated?
|
| 19 |
sentences:
|
| 20 |
-
- How
|
| 21 |
-
-
|
| 22 |
-
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
sentences:
|
| 26 |
-
-
|
| 27 |
-
|
| 28 |
-
-
|
| 29 |
-
|
| 30 |
-
- Are there any platforms that provides end-to-end encryption for file transfer/
|
| 31 |
-
sharing?
|
| 32 |
-
- source_sentence: Why AAP’s MLA Dinesh Mohaniya has been arrested?
|
| 33 |
sentences:
|
| 34 |
-
- What are
|
| 35 |
-
-
|
| 36 |
-
-
|
| 37 |
-
- source_sentence: What is the
|
| 38 |
sentences:
|
| 39 |
-
-
|
| 40 |
-
|
| 41 |
-
- the
|
| 42 |
-
- What is the difference between economic growth and economic development?
|
| 43 |
pipeline_tag: sentence-similarity
|
| 44 |
library_name: sentence-transformers
|
| 45 |
-
metrics:
|
| 46 |
-
- cosine_accuracy@1
|
| 47 |
-
- cosine_accuracy@3
|
| 48 |
-
- cosine_accuracy@5
|
| 49 |
-
- cosine_precision@1
|
| 50 |
-
- cosine_precision@3
|
| 51 |
-
- cosine_precision@5
|
| 52 |
-
- cosine_recall@1
|
| 53 |
-
- cosine_recall@3
|
| 54 |
-
- cosine_recall@5
|
| 55 |
-
- cosine_ndcg@10
|
| 56 |
-
- cosine_mrr@1
|
| 57 |
-
- cosine_mrr@5
|
| 58 |
-
- cosine_mrr@10
|
| 59 |
-
- cosine_map@100
|
| 60 |
-
model-index:
|
| 61 |
-
- name: SentenceTransformer based on thenlper/gte-small
|
| 62 |
-
results:
|
| 63 |
-
- task:
|
| 64 |
-
type: information-retrieval
|
| 65 |
-
name: Information Retrieval
|
| 66 |
-
dataset:
|
| 67 |
-
name: val
|
| 68 |
-
type: val
|
| 69 |
-
metrics:
|
| 70 |
-
- type: cosine_accuracy@1
|
| 71 |
-
value: 0.83295
|
| 72 |
-
name: Cosine Accuracy@1
|
| 73 |
-
- type: cosine_accuracy@3
|
| 74 |
-
value: 0.9071
|
| 75 |
-
name: Cosine Accuracy@3
|
| 76 |
-
- type: cosine_accuracy@5
|
| 77 |
-
value: 0.9329
|
| 78 |
-
name: Cosine Accuracy@5
|
| 79 |
-
- type: cosine_precision@1
|
| 80 |
-
value: 0.83295
|
| 81 |
-
name: Cosine Precision@1
|
| 82 |
-
- type: cosine_precision@3
|
| 83 |
-
value: 0.3023666666666666
|
| 84 |
-
name: Cosine Precision@3
|
| 85 |
-
- type: cosine_precision@5
|
| 86 |
-
value: 0.18658000000000005
|
| 87 |
-
name: Cosine Precision@5
|
| 88 |
-
- type: cosine_recall@1
|
| 89 |
-
value: 0.83295
|
| 90 |
-
name: Cosine Recall@1
|
| 91 |
-
- type: cosine_recall@3
|
| 92 |
-
value: 0.9071
|
| 93 |
-
name: Cosine Recall@3
|
| 94 |
-
- type: cosine_recall@5
|
| 95 |
-
value: 0.9329
|
| 96 |
-
name: Cosine Recall@5
|
| 97 |
-
- type: cosine_ndcg@10
|
| 98 |
-
value: 0.8970951855878305
|
| 99 |
-
name: Cosine Ndcg@10
|
| 100 |
-
- type: cosine_mrr@1
|
| 101 |
-
value: 0.83295
|
| 102 |
-
name: Cosine Mrr@1
|
| 103 |
-
- type: cosine_mrr@5
|
| 104 |
-
value: 0.872013749999996
|
| 105 |
-
name: Cosine Mrr@5
|
| 106 |
-
- type: cosine_mrr@10
|
| 107 |
-
value: 0.8760916468253912
|
| 108 |
-
name: Cosine Mrr@10
|
| 109 |
-
- type: cosine_map@100
|
| 110 |
-
value: 0.8781372459990227
|
| 111 |
-
name: Cosine Map@100
|
| 112 |
---
|
| 113 |
|
| 114 |
-
# SentenceTransformer based on
|
| 115 |
|
| 116 |
-
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [
|
| 117 |
|
| 118 |
## Model Details
|
| 119 |
|
| 120 |
### Model Description
|
| 121 |
- **Model Type:** Sentence Transformer
|
| 122 |
-
- **Base model:** [
|
| 123 |
- **Maximum Sequence Length:** 128 tokens
|
| 124 |
-
- **Output Dimensionality:**
|
| 125 |
- **Similarity Function:** Cosine Similarity
|
| 126 |
<!-- - **Training Dataset:** Unknown -->
|
| 127 |
<!-- - **Language:** Unknown -->
|
|
@@ -138,8 +66,7 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [t
|
|
| 138 |
```
|
| 139 |
SentenceTransformer(
|
| 140 |
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
|
| 141 |
-
(1): Pooling({'word_embedding_dimension':
|
| 142 |
-
(2): Normalize()
|
| 143 |
)
|
| 144 |
```
|
| 145 |
|
|
@@ -158,23 +85,23 @@ Then you can load this model and run inference.
|
|
| 158 |
from sentence_transformers import SentenceTransformer
|
| 159 |
|
| 160 |
# Download from the 🤗 Hub
|
| 161 |
-
model = SentenceTransformer("
|
| 162 |
# Run inference
|
| 163 |
sentences = [
|
| 164 |
-
'What is the
|
| 165 |
-
'
|
| 166 |
-
'
|
| 167 |
]
|
| 168 |
embeddings = model.encode(sentences)
|
| 169 |
print(embeddings.shape)
|
| 170 |
-
# [3,
|
| 171 |
|
| 172 |
# Get the similarity scores for the embeddings
|
| 173 |
similarities = model.similarity(embeddings, embeddings)
|
| 174 |
print(similarities)
|
| 175 |
-
# tensor([[
|
| 176 |
-
# [
|
| 177 |
-
# [
|
| 178 |
```
|
| 179 |
|
| 180 |
<!--
|
|
@@ -201,32 +128,6 @@ You can finetune this model on your own dataset.
|
|
| 201 |
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 202 |
-->
|
| 203 |
|
| 204 |
-
## Evaluation
|
| 205 |
-
|
| 206 |
-
### Metrics
|
| 207 |
-
|
| 208 |
-
#### Information Retrieval
|
| 209 |
-
|
| 210 |
-
* Dataset: `val`
|
| 211 |
-
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
|
| 212 |
-
|
| 213 |
-
| Metric | Value |
|
| 214 |
-
|:-------------------|:-----------|
|
| 215 |
-
| cosine_accuracy@1 | 0.8329 |
|
| 216 |
-
| cosine_accuracy@3 | 0.9071 |
|
| 217 |
-
| cosine_accuracy@5 | 0.9329 |
|
| 218 |
-
| cosine_precision@1 | 0.8329 |
|
| 219 |
-
| cosine_precision@3 | 0.3024 |
|
| 220 |
-
| cosine_precision@5 | 0.1866 |
|
| 221 |
-
| cosine_recall@1 | 0.8329 |
|
| 222 |
-
| cosine_recall@3 | 0.9071 |
|
| 223 |
-
| cosine_recall@5 | 0.9329 |
|
| 224 |
-
| **cosine_ndcg@10** | **0.8971** |
|
| 225 |
-
| cosine_mrr@1 | 0.8329 |
|
| 226 |
-
| cosine_mrr@5 | 0.872 |
|
| 227 |
-
| cosine_mrr@10 | 0.8761 |
|
| 228 |
-
| cosine_map@100 | 0.8781 |
|
| 229 |
-
|
| 230 |
<!--
|
| 231 |
## Bias, Risks and Limitations
|
| 232 |
|
|
@@ -245,49 +146,23 @@ You can finetune this model on your own dataset.
|
|
| 245 |
|
| 246 |
#### Unnamed Dataset
|
| 247 |
|
| 248 |
-
* Size:
|
| 249 |
-
* Columns: <code>
|
| 250 |
* Approximate statistics based on the first 1000 samples:
|
| 251 |
-
| |
|
| 252 |
|:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
|
| 253 |
| type | string | string | string |
|
| 254 |
-
| details | <ul><li>min: 6 tokens</li><li>mean:
|
| 255 |
* Samples:
|
| 256 |
-
|
|
| 257 |
-
|
| 258 |
-
| <code>
|
| 259 |
-
| <code>
|
| 260 |
-
| <code>
|
| 261 |
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 262 |
```json
|
| 263 |
{
|
| 264 |
-
"scale":
|
| 265 |
-
"similarity_fct": "cos_sim",
|
| 266 |
-
"gather_across_devices": false
|
| 267 |
-
}
|
| 268 |
-
```
|
| 269 |
-
|
| 270 |
-
### Evaluation Dataset
|
| 271 |
-
|
| 272 |
-
#### Unnamed Dataset
|
| 273 |
-
|
| 274 |
-
* Size: 40,000 evaluation samples
|
| 275 |
-
* Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
|
| 276 |
-
* Approximate statistics based on the first 1000 samples:
|
| 277 |
-
| | anchor | positive | negative |
|
| 278 |
-
|:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
|
| 279 |
-
| type | string | string | string |
|
| 280 |
-
| details | <ul><li>min: 6 tokens</li><li>mean: 15.52 tokens</li><li>max: 74 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.51 tokens</li><li>max: 74 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.79 tokens</li><li>max: 69 tokens</li></ul> |
|
| 281 |
-
* Samples:
|
| 282 |
-
| anchor | positive | negative |
|
| 283 |
-
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 284 |
-
| <code>Why are all my questions on Quora marked needing improvement?</code> | <code>Why are all my questions immediately being marked as needing improvement?</code> | <code>For a post-graduate student in IIT, is it allowed to take an external scholarship as a top-up to his/her MHRD assistantship?</code> |
|
| 285 |
-
| <code>Can blue butter fly needle with vaccum tube be reused? Is it HIV risk? . Heard the needle is too small to be reused . Had blood draw at clinic?</code> | <code>Can blue butter fly needle with vaccum tube be reused? Is it HIV risk? . Heard the needle is too small to be reused . Had blood draw at clinic?</code> | <code>Can blue butter fly needle with vaccum tube be reused not ? Is it HIV risk ? . Heard the needle is too small to be reused . Had blood draw at clinic ?</code> |
|
| 286 |
-
| <code>Why do people still believe the world is flat?</code> | <code>Why are there still people who believe the world is flat?</code> | <code>I'm not able to buy Udemy course .it is not accepting mine and my friends debit card.my card can be used for Flipkart .how to purchase now?</code> |
|
| 287 |
-
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 288 |
-
```json
|
| 289 |
-
{
|
| 290 |
-
"scale": 7.0,
|
| 291 |
"similarity_fct": "cos_sim",
|
| 292 |
"gather_across_devices": false
|
| 293 |
}
|
|
@@ -296,49 +171,36 @@ You can finetune this model on your own dataset.
|
|
| 296 |
### Training Hyperparameters
|
| 297 |
#### Non-Default Hyperparameters
|
| 298 |
|
| 299 |
-
- `
|
| 300 |
-
- `
|
| 301 |
-
- `per_device_eval_batch_size`: 128
|
| 302 |
-
- `learning_rate`: 0.0002
|
| 303 |
-
- `weight_decay`: 0.0001
|
| 304 |
-
- `max_steps`: 5000
|
| 305 |
-
- `warmup_ratio`: 0.1
|
| 306 |
- `fp16`: True
|
| 307 |
-
- `
|
| 308 |
-
- `dataloader_num_workers`: 1
|
| 309 |
-
- `dataloader_prefetch_factor`: 1
|
| 310 |
-
- `load_best_model_at_end`: True
|
| 311 |
-
- `optim`: adamw_torch
|
| 312 |
-
- `ddp_find_unused_parameters`: False
|
| 313 |
-
- `push_to_hub`: True
|
| 314 |
-
- `hub_model_id`: redis/model-b-structured
|
| 315 |
-
- `eval_on_start`: True
|
| 316 |
|
| 317 |
#### All Hyperparameters
|
| 318 |
<details><summary>Click to expand</summary>
|
| 319 |
|
| 320 |
- `overwrite_output_dir`: False
|
| 321 |
- `do_predict`: False
|
| 322 |
-
- `eval_strategy`:
|
| 323 |
- `prediction_loss_only`: True
|
| 324 |
-
- `per_device_train_batch_size`:
|
| 325 |
-
- `per_device_eval_batch_size`:
|
| 326 |
- `per_gpu_train_batch_size`: None
|
| 327 |
- `per_gpu_eval_batch_size`: None
|
| 328 |
- `gradient_accumulation_steps`: 1
|
| 329 |
- `eval_accumulation_steps`: None
|
| 330 |
- `torch_empty_cache_steps`: None
|
| 331 |
-
- `learning_rate`:
|
| 332 |
-
- `weight_decay`: 0.
|
| 333 |
- `adam_beta1`: 0.9
|
| 334 |
- `adam_beta2`: 0.999
|
| 335 |
- `adam_epsilon`: 1e-08
|
| 336 |
-
- `max_grad_norm`: 1
|
| 337 |
-
- `num_train_epochs`: 3
|
| 338 |
-
- `max_steps`:
|
| 339 |
- `lr_scheduler_type`: linear
|
| 340 |
- `lr_scheduler_kwargs`: {}
|
| 341 |
-
- `warmup_ratio`: 0.
|
| 342 |
- `warmup_steps`: 0
|
| 343 |
- `log_level`: passive
|
| 344 |
- `log_level_replica`: warning
|
|
@@ -366,14 +228,14 @@ You can finetune this model on your own dataset.
|
|
| 366 |
- `tpu_num_cores`: None
|
| 367 |
- `tpu_metrics_debug`: False
|
| 368 |
- `debug`: []
|
| 369 |
-
- `dataloader_drop_last`:
|
| 370 |
-
- `dataloader_num_workers`:
|
| 371 |
-
- `dataloader_prefetch_factor`:
|
| 372 |
- `past_index`: -1
|
| 373 |
- `disable_tqdm`: False
|
| 374 |
- `remove_unused_columns`: True
|
| 375 |
- `label_names`: None
|
| 376 |
-
- `load_best_model_at_end`:
|
| 377 |
- `ignore_data_skip`: False
|
| 378 |
- `fsdp`: []
|
| 379 |
- `fsdp_min_num_params`: 0
|
|
@@ -383,23 +245,23 @@ You can finetune this model on your own dataset.
|
|
| 383 |
- `parallelism_config`: None
|
| 384 |
- `deepspeed`: None
|
| 385 |
- `label_smoothing_factor`: 0.0
|
| 386 |
-
- `optim`:
|
| 387 |
- `optim_args`: None
|
| 388 |
- `adafactor`: False
|
| 389 |
- `group_by_length`: False
|
| 390 |
- `length_column_name`: length
|
| 391 |
- `project`: huggingface
|
| 392 |
- `trackio_space_id`: trackio
|
| 393 |
-
- `ddp_find_unused_parameters`:
|
| 394 |
- `ddp_bucket_cap_mb`: None
|
| 395 |
- `ddp_broadcast_buffers`: False
|
| 396 |
- `dataloader_pin_memory`: True
|
| 397 |
- `dataloader_persistent_workers`: False
|
| 398 |
- `skip_memory_metrics`: True
|
| 399 |
- `use_legacy_prediction_loop`: False
|
| 400 |
-
- `push_to_hub`:
|
| 401 |
- `resume_from_checkpoint`: None
|
| 402 |
-
- `hub_model_id`:
|
| 403 |
- `hub_strategy`: every_save
|
| 404 |
- `hub_private_repo`: None
|
| 405 |
- `hub_always_push`: False
|
|
@@ -426,45 +288,32 @@ You can finetune this model on your own dataset.
|
|
| 426 |
- `neftune_noise_alpha`: None
|
| 427 |
- `optim_target_modules`: None
|
| 428 |
- `batch_eval_metrics`: False
|
| 429 |
-
- `eval_on_start`:
|
| 430 |
- `use_liger_kernel`: False
|
| 431 |
- `liger_kernel_config`: None
|
| 432 |
- `eval_use_gather_object`: False
|
| 433 |
- `average_tokens_across_devices`: True
|
| 434 |
- `prompts`: None
|
| 435 |
- `batch_sampler`: batch_sampler
|
| 436 |
-
- `multi_dataset_batch_sampler`:
|
| 437 |
- `router_mapping`: {}
|
| 438 |
- `learning_rate_mapping`: {}
|
| 439 |
|
| 440 |
</details>
|
| 441 |
|
| 442 |
### Training Logs
|
| 443 |
-
| Epoch
|
| 444 |
-
|
| 445 |
-
| 0
|
| 446 |
-
| 0.
|
| 447 |
-
| 0.
|
| 448 |
-
|
|
| 449 |
-
|
|
| 450 |
-
|
|
| 451 |
-
|
|
| 452 |
-
|
|
| 453 |
-
|
|
| 454 |
-
|
| 455 |
-
| 0.4484 | 2500 | 0.4032 | 0.3411 | 0.8930 |
|
| 456 |
-
| 0.4932 | 2750 | 0.3987 | 0.3375 | 0.8940 |
|
| 457 |
-
| 0.5380 | 3000 | 0.3943 | 0.3327 | 0.8942 |
|
| 458 |
-
| 0.5829 | 3250 | 0.3897 | 0.3321 | 0.8952 |
|
| 459 |
-
| 0.6277 | 3500 | 0.3863 | 0.3280 | 0.8957 |
|
| 460 |
-
| 0.6725 | 3750 | 0.3819 | 0.3251 | 0.8959 |
|
| 461 |
-
| 0.7174 | 4000 | 0.3786 | 0.3229 | 0.8959 |
|
| 462 |
-
| 0.7622 | 4250 | 0.3753 | 0.3218 | 0.8967 |
|
| 463 |
-
| 0.8070 | 4500 | 0.3723 | 0.3202 | 0.8967 |
|
| 464 |
-
| 0.8519 | 4750 | 0.3731 | 0.3184 | 0.8970 |
|
| 465 |
-
| **0.8967** | **5000** | **0.3715** | **0.3179** | **0.8971** |
|
| 466 |
-
|
| 467 |
-
* The bold row denotes the saved checkpoint.
|
| 468 |
|
| 469 |
### Framework Versions
|
| 470 |
- Python: 3.10.18
|
|
|
|
| 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 calculate IQ?
|
| 13 |
sentences:
|
| 14 |
+
- What is the easiest way to know my IQ?
|
| 15 |
+
- How do I calculate not IQ ?
|
| 16 |
+
- What are some creative and innovative business ideas with less investment in India?
|
| 17 |
+
- source_sentence: How can I learn martial arts in my home?
|
|
|
|
| 18 |
sentences:
|
| 19 |
+
- How can I learn martial arts by myself?
|
| 20 |
+
- What are the advantages and disadvantages of investing in gold?
|
| 21 |
+
- Can people see that I have looked at their pictures on instagram if I am not following
|
| 22 |
+
them?
|
| 23 |
+
- source_sentence: When Enterprise picks you up do you have to take them back?
|
| 24 |
sentences:
|
| 25 |
+
- Are there any software Training institute in Tuticorin?
|
| 26 |
+
- When Enterprise picks you up do you have to take them back?
|
| 27 |
+
- When Enterprise picks you up do them have to take youback?
|
| 28 |
+
- source_sentence: What are some non-capital goods?
|
|
|
|
|
|
|
|
|
|
| 29 |
sentences:
|
| 30 |
+
- What are capital goods?
|
| 31 |
+
- How is the value of [math]\pi[/math] calculated?
|
| 32 |
+
- What are some non-capital goods?
|
| 33 |
+
- source_sentence: What is the QuickBooks technical support phone number in New York?
|
| 34 |
sentences:
|
| 35 |
+
- What caused the Great Depression?
|
| 36 |
+
- Can I apply for PR in Canada?
|
| 37 |
+
- Which is the best QuickBooks Hosting Support Number in New York?
|
|
|
|
| 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 |
+
'What is the QuickBooks technical support phone number in New York?',
|
| 92 |
+
'Which is the best QuickBooks Hosting Support Number in New York?',
|
| 93 |
+
'Can I apply for PR in Canada?',
|
| 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.8563, 0.0594],
|
| 103 |
+
# [0.8563, 1.0000, 0.1245],
|
| 104 |
+
# [0.0594, 0.1245, 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: 6 tokens</li><li>mean: 15.79 tokens</li><li>max: 66 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.68 tokens</li><li>max: 66 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 16.37 tokens</li><li>max: 67 tokens</li></ul> |
|
| 156 |
* Samples:
|
| 157 |
+
| sentence_0 | sentence_1 | sentence_2 |
|
| 158 |
+
|:-----------------------------------------------------------------|:-----------------------------------------------------------------|:----------------------------------------------------------------------------------|
|
| 159 |
+
| <code>Is masturbating bad for boys?</code> | <code>Is masturbating bad for boys?</code> | <code>How harmful or unhealthy is masturbation?</code> |
|
| 160 |
+
| <code>Does a train engine move in reverse?</code> | <code>Does a train engine move in reverse?</code> | <code>Time moves forward, not in reverse. Doesn't that make time a vector?</code> |
|
| 161 |
+
| <code>What is the most badass thing anyone has ever done?</code> | <code>What is the most badass thing anyone has ever done?</code> | <code>anyone is the most badass thing Whathas ever done?</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.4294 |
|
| 308 |
+
| 0.6398 | 1000 | 0.1268 |
|
| 309 |
+
| 0.9597 | 1500 | 0.1 |
|
| 310 |
+
| 1.2796 | 2000 | 0.0792 |
|
| 311 |
+
| 1.5995 | 2500 | 0.0706 |
|
| 312 |
+
| 1.9194 | 3000 | 0.0687 |
|
| 313 |
+
| 2.2393 | 3500 | 0.0584 |
|
| 314 |
+
| 2.5592 | 4000 | 0.057 |
|
| 315 |
+
| 2.8791 | 4500 | 0.0581 |
|
| 316 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 317 |
|
| 318 |
### Framework Versions
|
| 319 |
- Python: 3.10.18
|
eval/Information-Retrieval_evaluation_val_results.csv
CHANGED
|
@@ -596,3 +596,44 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
|
|
| 596 |
0.8070301291248206,4500,0.832425,0.907,0.9329,0.832425,0.832425,0.30233333333333323,0.907,0.18658000000000002,0.9329,0.832425,0.8716549999999955,0.8756687400793598,0.8966595486024471,0.8777365690203913
|
| 597 |
0.8518651362984218,4750,0.832725,0.906625,0.9325,0.832725,0.832725,0.3022083333333333,0.906625,0.18650000000000003,0.9325,0.832725,0.8717712499999956,0.875926736111106,0.8969831290691738,0.8779553498165824
|
| 598 |
0.896700143472023,5000,0.83295,0.9071,0.9329,0.83295,0.83295,0.3023666666666666,0.9071,0.18658000000000005,0.9329,0.83295,0.872013749999996,0.8760916468253912,0.8970951855878305,0.8781372459990227
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 596 |
0.8070301291248206,4500,0.832425,0.907,0.9329,0.832425,0.832425,0.30233333333333323,0.907,0.18658000000000002,0.9329,0.832425,0.8716549999999955,0.8756687400793598,0.8966595486024471,0.8777365690203913
|
| 597 |
0.8518651362984218,4750,0.832725,0.906625,0.9325,0.832725,0.832725,0.3022083333333333,0.906625,0.18650000000000003,0.9325,0.832725,0.8717712499999956,0.875926736111106,0.8969831290691738,0.8779553498165824
|
| 598 |
0.896700143472023,5000,0.83295,0.9071,0.9329,0.83295,0.83295,0.3023666666666666,0.9071,0.18658000000000005,0.9329,0.83295,0.872013749999996,0.8760916468253912,0.8970951855878305,0.8781372459990227
|
| 599 |
+
0,0,0.756875,0.885975,0.915975,0.756875,0.756875,0.29532499999999995,0.885975,0.183195,0.915975,0.756875,0.8232162499999922,0.8273359722222166,0.856602510698957,0.8297335360187499
|
| 600 |
+
0.04483500717360115,250,0.82035,0.898775,0.92285,0.82035,0.82035,0.2995916666666666,0.898775,0.18457000000000004,0.92285,0.82035,0.86118333333333,0.8652290178571391,0.8863952063258179,0.8674982896312767
|
| 601 |
+
0.0896700143472023,500,0.82575,0.901225,0.926425,0.82575,0.82575,0.3004083333333333,0.901225,0.18528500000000003,0.926425,0.82575,0.8653429166666632,0.869252619047615,0.8901201170724944,0.871476202470505
|
| 602 |
+
0.13450502152080343,750,0.82445,0.899725,0.9245,0.82445,0.82445,0.2999083333333333,0.899725,0.18490000000000004,0.9245,0.82445,0.8637154166666616,0.8677438293650747,0.8887072695847659,0.8700066362403331
|
| 603 |
+
0.1793400286944046,1000,0.823725,0.8996,0.9254,0.823725,0.823725,0.2998666666666666,0.8996,0.18508000000000005,0.9254,0.823725,0.8636041666666624,0.8676212003968201,0.8888184696948367,0.8698389104387599
|
| 604 |
+
0.22417503586800575,1250,0.82575,0.900475,0.925925,0.82575,0.82575,0.3001583333333333,0.900475,0.18518500000000004,0.925925,0.82575,0.8650262499999968,0.8690059325396793,0.8898745986756869,0.8713005062855422
|
| 605 |
+
0.26901004304160686,1500,0.8258,0.89895,0.9255,0.8258,0.8258,0.29964999999999997,0.89895,0.1851,0.9255,0.8258,0.8646383333333307,0.8686647321428549,0.8896124993180665,0.8709116156766271
|
| 606 |
+
0.31384505021520803,1750,0.825775,0.89995,0.926175,0.825775,0.825775,0.2999833333333333,0.89995,0.18523500000000004,0.926175,0.825775,0.8647587499999958,0.8688205654761856,0.8899081515731087,0.8710784885214251
|
| 607 |
+
0.3586800573888092,2000,0.825425,0.8996,0.92655,0.825425,0.825425,0.29986666666666667,0.8996,0.18531,0.92655,0.825425,0.8647316666666629,0.8689200595238069,0.8902407189043086,0.8711187710568107
|
| 608 |
+
0.4035150645624103,2250,0.827075,0.90085,0.9271,0.827075,0.827075,0.3002833333333333,0.90085,0.18542000000000003,0.9271,0.827075,0.8659733333333283,0.8702365773809475,0.8915456238576418,0.8723732785050299
|
| 609 |
+
0.4483500717360115,2500,0.8275,0.901625,0.92765,0.8275,0.8275,0.30054166666666665,0.901625,0.18553,0.92765,0.8275,0.8666141666666608,0.8707196626984082,0.8918015610409895,0.8728880304439672
|
| 610 |
+
0.4931850789096126,2750,0.828575,0.902625,0.92825,0.828575,0.828575,0.30087499999999995,0.902625,0.18565000000000004,0.92825,0.828575,0.8676408333333288,0.8718241765872972,0.8928635447213618,0.8739834394140719
|
| 611 |
+
0.5380200860832137,3000,0.82915,0.902025,0.928175,0.82915,0.82915,0.300675,0.902025,0.18563500000000002,0.928175,0.82915,0.8676249999999954,0.8718593452380899,0.8929950331333252,0.8739908509240994
|
| 612 |
+
0.582855093256815,3250,0.828225,0.90375,0.928925,0.828225,0.828225,0.30124999999999996,0.90375,0.185785,0.928925,0.828225,0.8678062499999952,0.8719268551587253,0.893049558480674,0.8740948964512514
|
| 613 |
+
0.6276901004304161,3500,0.8296,0.904225,0.931225,0.8296,0.8296,0.3014083333333333,0.904225,0.186245,0.931225,0.8296,0.8693174999999963,0.87333823412698,0.8945048810893365,0.8754404709174932
|
| 614 |
+
0.6725251076040172,3750,0.82935,0.905225,0.931075,0.82935,0.82935,0.30174166666666663,0.905225,0.18621500000000002,0.931075,0.82935,0.8691295833333297,0.8732088690476152,0.8945292562430565,0.875260740869872
|
| 615 |
+
0.7173601147776184,4000,0.828925,0.904925,0.930725,0.828925,0.828925,0.30164166666666664,0.904925,0.18614500000000003,0.930725,0.828925,0.8689124999999959,0.873018382936505,0.894289834306215,0.875117247192105
|
| 616 |
+
0.7621951219512195,4250,0.8299,0.904625,0.93025,0.8299,0.8299,0.3015416666666666,0.904625,0.18605000000000005,0.93025,0.8299,0.869239999999996,0.8733222718253933,0.8943590572888094,0.8754711827708299
|
| 617 |
+
0.8070301291248206,4500,0.830475,0.9049,0.93115,0.830475,0.830475,0.30163333333333325,0.9049,0.18623000000000003,0.93115,0.830475,0.869884583333329,0.8740106349206304,0.8951880089621758,0.87607963096906
|
| 618 |
+
0.8518651362984218,4750,0.8312,0.9053,0.931825,0.8312,0.8312,0.3017666666666666,0.9053,0.18636500000000003,0.931825,0.8312,0.8704595833333298,0.8746264583333299,0.8958245861242036,0.8766855238331431
|
| 619 |
+
0.896700143472023,5000,0.831625,0.906375,0.932,0.831625,0.831625,0.302125,0.906375,0.1864,0.932,0.831625,0.8710616666666623,0.8751397519841212,0.8961952659834816,0.8772085890152465
|
| 620 |
+
0.9415351506456241,5250,0.83225,0.9068,0.932275,0.83225,0.83225,0.30226666666666663,0.9068,0.186455,0.932275,0.83225,0.871472499999994,0.8755726091269779,0.8966047502020141,0.8776146545196168
|
| 621 |
+
0.9863701578192252,5500,0.831525,0.9069,0.9324,0.831525,0.831525,0.3023,0.9069,0.18648000000000003,0.9324,0.831525,0.8711249999999958,0.8751543452380911,0.8961598314124593,0.8772640118801482
|
| 622 |
+
1.0312051649928264,5750,0.831875,0.906425,0.933225,0.831875,0.831875,0.3021416666666666,0.906425,0.18664500000000003,0.933225,0.831875,0.8712795833333296,0.8752809821428542,0.89640562784357,0.8773572006292477
|
| 623 |
+
1.0760401721664274,6000,0.832025,0.907525,0.933475,0.832025,0.832025,0.3025083333333333,0.907525,0.18669500000000003,0.933475,0.832025,0.8717258333333296,0.8757985714285683,0.8970077641437881,0.8778108799577121
|
| 624 |
+
1.1208751793400287,6250,0.83195,0.907875,0.9335,0.83195,0.83195,0.3026249999999999,0.907875,0.1867,0.9335,0.83195,0.871782083333329,0.8757739980158697,0.8968492872184194,0.8778653232261262
|
| 625 |
+
1.16571018651363,6500,0.832525,0.907625,0.9337,0.832525,0.832525,0.3025416666666666,0.907625,0.18674000000000002,0.9337,0.832525,0.8721158333333285,0.8761973015872967,0.897385051653763,0.8782121820843096
|
| 626 |
+
1.210545193687231,6750,0.832475,0.90785,0.93405,0.832475,0.832475,0.3026166666666666,0.90785,0.18681000000000003,0.93405,0.832475,0.8722049999999953,0.8761733333333286,0.8973375487467027,0.8782016320221021
|
| 627 |
+
1.2553802008608321,7000,0.832925,0.908325,0.934025,0.832925,0.832925,0.30277499999999996,0.908325,0.18680500000000003,0.934025,0.832925,0.8725808333333307,0.876548551587298,0.8975460346295855,0.8786242517331792
|
| 628 |
+
1.3002152080344334,7250,0.833025,0.908625,0.934675,0.833025,0.833025,0.302875,0.908625,0.18693500000000002,0.934675,0.833025,0.872798333333329,0.8766456944444402,0.8975719517121176,0.8787563728128415
|
| 629 |
+
1.3450502152080344,7500,0.83395,0.909375,0.93475,0.83395,0.83395,0.3031249999999999,0.909375,0.18695000000000003,0.93475,0.83395,0.8734979166666627,0.8773938492063433,0.8982561697266986,0.8794720667088616
|
| 630 |
+
1.3898852223816356,7750,0.83335,0.9092,0.934125,0.83335,0.83335,0.3030666666666666,0.9092,0.186825,0.934125,0.83335,0.8730674999999956,0.8770896329365027,0.8980455393637466,0.8791514893239717
|
| 631 |
+
1.4347202295552366,8000,0.83375,0.909575,0.93465,0.83375,0.83375,0.3031916666666666,0.909575,0.18693,0.93465,0.83375,0.873410416666661,0.8774130654761843,0.8984148182049922,0.8794540757199235
|
| 632 |
+
1.4795552367288378,8250,0.833925,0.910075,0.9346,0.833925,0.833925,0.3033583333333333,0.910075,0.18692,0.9346,0.833925,0.8736404166666618,0.8776727380952328,0.8986772276719297,0.8796860009095604
|
| 633 |
+
1.524390243902439,8500,0.8345,0.91075,0.935325,0.8345,0.8345,0.3035833333333333,0.91075,0.18706500000000004,0.935325,0.8345,0.8743245833333277,0.8783290972222166,0.8992457344368305,0.8803256658031703
|
| 634 |
+
1.5692252510760403,8750,0.83475,0.91125,0.936225,0.83475,0.83475,0.3037499999999999,0.91125,0.18724500000000002,0.936225,0.83475,0.8745749999999958,0.8784467162698358,0.8993682431844736,0.8804482510918819
|
| 635 |
+
1.6140602582496413,9000,0.835125,0.91135,0.936,0.835125,0.835125,0.3037833333333333,0.91135,0.18720000000000003,0.936,0.835125,0.8748420833333277,0.878747132936502,0.899603926389485,0.8807394423415384
|
| 636 |
+
1.6588952654232425,9250,0.8351,0.9114,0.936425,0.8351,0.8351,0.30379999999999996,0.9114,0.187285,0.936425,0.8351,0.8749416666666606,0.8787940376984061,0.8996487876543313,0.8807938323330003
|
| 637 |
+
1.7037302725968435,9500,0.83535,0.911475,0.93655,0.83535,0.83535,0.3038249999999999,0.911475,0.18731,0.93655,0.83535,0.8751141666666615,0.878991577380946,0.899889550569265,0.8809631243794993
|
| 638 |
+
1.7485652797704447,9750,0.835325,0.9112,0.936325,0.835325,0.835325,0.3037333333333333,0.9112,0.18726500000000001,0.936325,0.835325,0.8750524999999947,0.8789839384920574,0.8998852971689221,0.8809643466594432
|
| 639 |
+
1.793400286944046,10000,0.83545,0.911175,0.9366,0.83545,0.83545,0.303725,0.911175,0.18732000000000001,0.9366,0.83545,0.8751591666666616,0.8790415476190412,0.8999318372974409,0.8810239994800558
|
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.83295,
|
| 3 |
+
"val_cosine_accuracy@3": 0.9071,
|
| 4 |
+
"val_cosine_accuracy@5": 0.9329,
|
| 5 |
+
"val_cosine_precision@1": 0.83295,
|
| 6 |
+
"val_cosine_precision@3": 0.3023666666666666,
|
| 7 |
+
"val_cosine_precision@5": 0.18658000000000005,
|
| 8 |
+
"val_cosine_recall@1": 0.83295,
|
| 9 |
+
"val_cosine_recall@3": 0.9071,
|
| 10 |
+
"val_cosine_recall@5": 0.9329,
|
| 11 |
+
"val_cosine_ndcg@10": 0.8970951855878305,
|
| 12 |
+
"val_cosine_mrr@1": 0.83295,
|
| 13 |
+
"val_cosine_mrr@5": 0.872013749999996,
|
| 14 |
+
"val_cosine_mrr@10": 0.8760916468253912,
|
| 15 |
+
"val_cosine_map@100": 0.8781372459990227
|
| 16 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 133462128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb34c96d597d832aa5edd5352a2499b5d5c6df76a439f4cead08dce5b23e26ed
|
| 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 |
]
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6161
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa697a5587cabb6e578299c46e1745cc69a0c459a2f99c151e144c2158d43a4e
|
| 3 |
size 6161
|