Training in progress, step 5000
Browse files- 1_Pooling/config.json +3 -3
- Information-Retrieval_evaluation_val_results.csv +1 -0
- README.md +81 -232
- eval/Information-Retrieval_evaluation_val_results.csv +21 -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
|
@@ -7,3 +7,4 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
|
|
| 7 |
-1,-1,0.802275,0.8676,0.89495,0.802275,0.802275,0.28919999999999996,0.8676,0.17899,0.89495,0.802275,0.8373504166666614,0.8418555952380918,0.8626142815266079,0.8448604581747029
|
| 8 |
-1,-1,0.76535,0.820425,0.8436,0.76535,0.76535,0.27347499999999997,0.820425,0.16872,0.8436,0.76535,0.7948791666666619,0.798946091269839,0.8168396181783457,0.8022530766472562
|
| 9 |
-1,-1,0.82975,0.903025,0.9308,0.82975,0.82975,0.3010083333333333,0.903025,0.18616000000000002,0.9308,0.82975,0.8688179166666645,0.8729221527777756,0.894185079953941,0.8751251735048098
|
|
|
|
|
|
| 7 |
-1,-1,0.802275,0.8676,0.89495,0.802275,0.802275,0.28919999999999996,0.8676,0.17899,0.89495,0.802275,0.8373504166666614,0.8418555952380918,0.8626142815266079,0.8448604581747029
|
| 8 |
-1,-1,0.76535,0.820425,0.8436,0.76535,0.76535,0.27347499999999997,0.820425,0.16872,0.8436,0.76535,0.7948791666666619,0.798946091269839,0.8168396181783457,0.8022530766472562
|
| 9 |
-1,-1,0.82975,0.903025,0.9308,0.82975,0.82975,0.3010083333333333,0.903025,0.18616000000000002,0.9308,0.82975,0.8688179166666645,0.8729221527777756,0.894185079953941,0.8751251735048098
|
| 10 |
+
-1,-1,0.8288,0.899775,0.925775,0.8288,0.8288,0.29992499999999994,0.899775,0.185155,0.925775,0.8288,0.8661879166666627,0.8703450396825356,0.8910978019383597,0.8726020537429935
|
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 thenlper/gte-small
|
| 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.8288
|
| 73 |
-
name: Cosine Accuracy@1
|
| 74 |
-
- type: cosine_accuracy@3
|
| 75 |
-
value: 0.899775
|
| 76 |
-
name: Cosine Accuracy@3
|
| 77 |
-
- type: cosine_accuracy@5
|
| 78 |
-
value: 0.925775
|
| 79 |
-
name: Cosine Accuracy@5
|
| 80 |
-
- type: cosine_precision@1
|
| 81 |
-
value: 0.8288
|
| 82 |
-
name: Cosine Precision@1
|
| 83 |
-
- type: cosine_precision@3
|
| 84 |
-
value: 0.29992499999999994
|
| 85 |
-
name: Cosine Precision@3
|
| 86 |
-
- type: cosine_precision@5
|
| 87 |
-
value: 0.185155
|
| 88 |
-
name: Cosine Precision@5
|
| 89 |
-
- type: cosine_recall@1
|
| 90 |
-
value: 0.8288
|
| 91 |
-
name: Cosine Recall@1
|
| 92 |
-
- type: cosine_recall@3
|
| 93 |
-
value: 0.899775
|
| 94 |
-
name: Cosine Recall@3
|
| 95 |
-
- type: cosine_recall@5
|
| 96 |
-
value: 0.925775
|
| 97 |
-
name: Cosine Recall@5
|
| 98 |
-
- type: cosine_ndcg@10
|
| 99 |
-
value: 0.8910978019383597
|
| 100 |
-
name: Cosine Ndcg@10
|
| 101 |
-
- type: cosine_mrr@1
|
| 102 |
-
value: 0.8288
|
| 103 |
-
name: Cosine Mrr@1
|
| 104 |
-
- type: cosine_mrr@5
|
| 105 |
-
value: 0.8661879166666627
|
| 106 |
-
name: Cosine Mrr@5
|
| 107 |
-
- type: cosine_mrr@10
|
| 108 |
-
value: 0.8703450396825356
|
| 109 |
-
name: Cosine Mrr@10
|
| 110 |
-
- type: cosine_map@100
|
| 111 |
-
value: 0.8726020537429935
|
| 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 [t
|
|
| 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.8288 |
|
| 217 |
-
| cosine_accuracy@3 | 0.8998 |
|
| 218 |
-
| cosine_accuracy@5 | 0.9258 |
|
| 219 |
-
| cosine_precision@1 | 0.8288 |
|
| 220 |
-
| cosine_precision@3 | 0.2999 |
|
| 221 |
-
| cosine_precision@5 | 0.1852 |
|
| 222 |
-
| cosine_recall@1 | 0.8288 |
|
| 223 |
-
| cosine_recall@3 | 0.8998 |
|
| 224 |
-
| cosine_recall@5 | 0.9258 |
|
| 225 |
-
| **cosine_ndcg@10** | **0.8911** |
|
| 226 |
-
| cosine_mrr@1 | 0.8288 |
|
| 227 |
-
| cosine_mrr@5 | 0.8662 |
|
| 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`: 128
|
| 303 |
-
- `learning_rate`: 2e-05
|
| 304 |
-
- `weight_decay`: 0.0001
|
| 305 |
-
- `max_steps`: 5000
|
| 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,43 +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 | Training Loss |
|
| 445 |
-
|
| 446 |
-
| 0
|
| 447 |
-
| 0.
|
| 448 |
-
| 0.
|
| 449 |
-
|
|
| 450 |
-
|
|
| 451 |
-
|
|
| 452 |
-
|
|
| 453 |
-
|
|
| 454 |
-
|
|
| 455 |
-
| 0.8001 | 2250 | 0.4906 | 0.3941 | 0.8912 |
|
| 456 |
-
| 0.8890 | 2500 | 0.4882 | 0.3919 | 0.8913 |
|
| 457 |
-
| 0.9780 | 2750 | 0.4845 | 0.3904 | 0.8913 |
|
| 458 |
-
| 1.0669 | 3000 | 0.4769 | 0.3885 | 0.8911 |
|
| 459 |
-
| 1.1558 | 3250 | 0.4745 | 0.3876 | 0.8912 |
|
| 460 |
-
| 1.2447 | 3500 | 0.4718 | 0.3867 | 0.8909 |
|
| 461 |
-
| 1.3336 | 3750 | 0.47 | 0.3863 | 0.8909 |
|
| 462 |
-
| 1.4225 | 4000 | 0.4681 | 0.3855 | 0.8910 |
|
| 463 |
-
| 1.5114 | 4250 | 0.4668 | 0.3846 | 0.8911 |
|
| 464 |
-
| 1.6003 | 4500 | 0.4669 | 0.3843 | 0.8910 |
|
| 465 |
-
| 1.6892 | 4750 | 0.4661 | 0.3840 | 0.8911 |
|
| 466 |
-
| 1.7781 | 5000 | 0.467 | 0.3838 | 0.8911 |
|
| 467 |
|
| 468 |
|
| 469 |
### 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
|
eval/Information-Retrieval_evaluation_val_results.csv
CHANGED
|
@@ -734,3 +734,24 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
|
|
| 734 |
1.600284495021337,4500,0.828575,0.899625,0.925675,0.828575,0.828575,0.29987499999999995,0.899625,0.18513500000000002,0.925675,0.828575,0.8660541666666626,0.8702173115079318,0.8909902899298062,0.8724766698003134
|
| 735 |
1.689189189189189,4750,0.8286,0.899825,0.925875,0.8286,0.8286,0.29994166666666666,0.899825,0.185175,0.925875,0.8286,0.8661354166666628,0.8702819642857099,0.8910552930249616,0.8725407589971798
|
| 736 |
1.7780938833570412,5000,0.8288,0.899775,0.925775,0.8288,0.8288,0.29992499999999994,0.899775,0.185155,0.925775,0.8288,0.8661879166666627,0.8703450396825356,0.8910978019383597,0.8726020537429935
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 734 |
1.600284495021337,4500,0.828575,0.899625,0.925675,0.828575,0.828575,0.29987499999999995,0.899625,0.18513500000000002,0.925675,0.828575,0.8660541666666626,0.8702173115079318,0.8909902899298062,0.8724766698003134
|
| 735 |
1.689189189189189,4750,0.8286,0.899825,0.925875,0.8286,0.8286,0.29994166666666666,0.899825,0.185175,0.925875,0.8286,0.8661354166666628,0.8702819642857099,0.8910552930249616,0.8725407589971798
|
| 736 |
1.7780938833570412,5000,0.8288,0.899775,0.925775,0.8288,0.8288,0.29992499999999994,0.899775,0.185155,0.925775,0.8288,0.8661879166666627,0.8703450396825356,0.8910978019383597,0.8726020537429935
|
| 737 |
+
0,0,0.8319,0.90225,0.92745,0.8319,0.8319,0.30074999999999996,0.90225,0.18549000000000002,0.92745,0.8319,0.8689541666666625,0.8726801289682479,0.8926199303765392,0.8748805276919244
|
| 738 |
+
0.08890469416785206,250,0.8288,0.897675,0.9232,0.8288,0.8288,0.299225,0.897675,0.18464,0.9232,0.8288,0.8653316666666627,0.8694904761904724,0.889843598315805,0.8717693425259888
|
| 739 |
+
0.17780938833570412,500,0.826275,0.897775,0.92375,0.826275,0.826275,0.2992583333333333,0.897775,0.18475000000000003,0.92375,0.826275,0.863926249999995,0.8679417857142809,0.8885813065465965,0.8702881731300135
|
| 740 |
+
0.26671408250355616,750,0.826025,0.897375,0.9228,0.826025,0.826025,0.299125,0.897375,0.18456,0.9228,0.826025,0.8636179166666623,0.8678008730158692,0.8885134074486496,0.8701865475154951
|
| 741 |
+
0.35561877667140823,1000,0.8258,0.896675,0.92355,0.8258,0.8258,0.2988916666666666,0.896675,0.18471000000000004,0.92355,0.8258,0.8635258333333279,0.8676962996031691,0.8885599872488738,0.870042255602252
|
| 742 |
+
0.4445234708392603,1250,0.824875,0.89635,0.92335,0.824875,0.824875,0.2987833333333333,0.89635,0.18467000000000003,0.92335,0.824875,0.8627141666666621,0.8670277876984089,0.8882794354354085,0.8693239539919134
|
| 743 |
+
0.5334281650071123,1500,0.825125,0.897525,0.924175,0.825125,0.825125,0.29917499999999997,0.897525,0.18483500000000003,0.924175,0.825125,0.8633949999999962,0.867706269841266,0.8889730887065863,0.8700247113841982
|
| 744 |
+
0.6223328591749644,1750,0.8267,0.89935,0.925875,0.8267,0.8267,0.2997833333333333,0.89935,0.18517500000000003,0.925875,0.8267,0.8650112499999958,0.8691327777777728,0.8902040050530053,0.871439741677958
|
| 745 |
+
0.7112375533428165,2000,0.825975,0.89815,0.924575,0.825975,0.825975,0.2993833333333333,0.89815,0.184915,0.924575,0.825975,0.8642737499999955,0.8687038988095179,0.8900460941031945,0.870943904816002
|
| 746 |
+
0.8001422475106685,2250,0.825875,0.89965,0.927075,0.825875,0.825875,0.2998833333333333,0.89965,0.185415,0.927075,0.825875,0.8649395833333295,0.8690806646825362,0.8905136853139216,0.8713076851028642
|
| 747 |
+
0.8890469416785206,2500,0.826725,0.89945,0.927275,0.826725,0.826725,0.2998166666666667,0.89945,0.185455,0.927275,0.826725,0.8656320833333302,0.8697662599206316,0.8910286540981277,0.8720342672229079
|
| 748 |
+
0.9779516358463727,2750,0.826325,0.899475,0.9268,0.826325,0.826325,0.299825,0.899475,0.18536000000000002,0.9268,0.826325,0.8651916666666609,0.8693570833333281,0.8906481591036978,0.8716483693806231
|
| 749 |
+
1.0668563300142249,3000,0.8251,0.89875,0.926775,0.8251,0.8251,0.2995833333333333,0.89875,0.18535500000000002,0.926775,0.8251,0.8644283333333289,0.868718333333329,0.8903800746652023,0.8709735043059803
|
| 750 |
+
1.1557610241820768,3250,0.825875,0.8984,0.9264,0.825875,0.825875,0.2994666666666666,0.8984,0.18528000000000003,0.9264,0.825875,0.8645599999999954,0.8687453968253911,0.8900891643934595,0.871080869444009
|
| 751 |
+
1.2446657183499288,3500,0.8257,0.8988,0.926425,0.8257,0.8257,0.2996,0.8988,0.18528500000000003,0.926425,0.8257,0.864509166666662,0.8688920634920582,0.8905771361958603,0.8711022392762224
|
| 752 |
+
1.333570412517781,3750,0.82695,0.900425,0.927875,0.82695,0.82695,0.3001416666666666,0.900425,0.185575,0.927875,0.82695,0.8660504166666626,0.8702353472222183,0.8916015091549829,0.8724690370100244
|
| 753 |
+
1.422475106685633,4000,0.826375,0.900325,0.926925,0.826375,0.826375,0.3001083333333333,0.900325,0.18538500000000002,0.926925,0.826375,0.8655024999999967,0.8698252579365039,0.8913176126453107,0.8721023558877614
|
| 754 |
+
1.5113798008534851,4250,0.826575,0.900525,0.9275,0.826575,0.826575,0.30017499999999997,0.900525,0.18550000000000003,0.9275,0.826575,0.8657658333333297,0.8701011309523772,0.8916906338596331,0.8723343455421415
|
| 755 |
+
1.600284495021337,4500,0.826325,0.90075,0.927975,0.826325,0.826325,0.30024999999999996,0.90075,0.18559500000000004,0.927975,0.826325,0.8657179166666625,0.869968283730155,0.8915372597597095,0.872218739585088
|
| 756 |
+
1.689189189189189,4750,0.8262,0.9006,0.92795,0.8262,0.8262,0.3001999999999999,0.9006,0.18559000000000006,0.92795,0.8262,0.8656516666666626,0.8699246726190432,0.8915453849606725,0.8721779867768037
|
| 757 |
+
1.7780938833570412,5000,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
|
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.8288,
|
| 3 |
+
"val_cosine_accuracy@3": 0.899775,
|
| 4 |
+
"val_cosine_accuracy@5": 0.925775,
|
| 5 |
+
"val_cosine_precision@1": 0.8288,
|
| 6 |
+
"val_cosine_precision@3": 0.29992499999999994,
|
| 7 |
+
"val_cosine_precision@5": 0.185155,
|
| 8 |
+
"val_cosine_recall@1": 0.8288,
|
| 9 |
+
"val_cosine_recall@3": 0.899775,
|
| 10 |
+
"val_cosine_recall@5": 0.925775,
|
| 11 |
+
"val_cosine_ndcg@10": 0.8910978019383597,
|
| 12 |
+
"val_cosine_mrr@1": 0.8288,
|
| 13 |
+
"val_cosine_mrr@5": 0.8661879166666627,
|
| 14 |
+
"val_cosine_mrr@10": 0.8703450396825356,
|
| 15 |
+
"val_cosine_map@100": 0.8726020537429935
|
| 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:25f963c4800c329ff4ed642d169b94e70ff851553fb77c0d7b4cf1aa65ac7635
|
| 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:f9ea4e4ae0572c1ec6cf4f6b909ede35f27b9076fe79a8e80be98205658efeff
|
| 3 |
size 6161
|