radoslavralev commited on
Commit
46ccaa1
·
verified ·
1 Parent(s): 14a46bb

Add new SentenceTransformer model

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. config.json +1 -1
  3. model.safetensors +2 -2
README.md CHANGED
@@ -165,9 +165,9 @@ print(embeddings.shape)
165
  # Get the similarity scores for the embeddings
166
  similarities = model.similarity(embeddings, embeddings)
167
  print(similarities)
168
- # tensor([[1.0000, 1.0000, 0.3428],
169
- # [1.0000, 1.0000, 0.3428],
170
- # [0.3428, 0.3428, 1.0000]])
171
  ```
172
 
173
  <!--
@@ -295,6 +295,8 @@ You can finetune this model on your own dataset.
295
  - `num_train_epochs`: 2
296
  - `warmup_ratio`: 0.05
297
  - `bf16`: True
 
 
298
  - `load_best_model_at_end`: True
299
  - `optim`: stable_adamw
300
  - `ddp_find_unused_parameters`: False
@@ -356,8 +358,8 @@ You can finetune this model on your own dataset.
356
  - `tpu_metrics_debug`: False
357
  - `debug`: []
358
  - `dataloader_drop_last`: False
359
- - `dataloader_num_workers`: 0
360
- - `dataloader_prefetch_factor`: None
361
  - `past_index`: -1
362
  - `disable_tqdm`: False
363
  - `remove_unused_columns`: True
 
165
  # Get the similarity scores for the embeddings
166
  similarities = model.similarity(embeddings, embeddings)
167
  print(similarities)
168
+ # tensor([[0.9999, 0.9999, 0.3432],
169
+ # [0.9999, 0.9999, 0.3432],
170
+ # [0.3432, 0.3432, 1.0000]])
171
  ```
172
 
173
  <!--
 
295
  - `num_train_epochs`: 2
296
  - `warmup_ratio`: 0.05
297
  - `bf16`: True
298
+ - `dataloader_num_workers`: 4
299
+ - `dataloader_prefetch_factor`: 4
300
  - `load_best_model_at_end`: True
301
  - `optim`: stable_adamw
302
  - `ddp_find_unused_parameters`: False
 
358
  - `tpu_metrics_debug`: False
359
  - `debug`: []
360
  - `dataloader_drop_last`: False
361
+ - `dataloader_num_workers`: 4
362
+ - `dataloader_prefetch_factor`: 4
363
  - `past_index`: -1
364
  - `disable_tqdm`: False
365
  - `remove_unused_columns`: True
config.json CHANGED
@@ -4,7 +4,7 @@
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "classifier_dropout": null,
7
- "dtype": "bfloat16",
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
 
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "classifier_dropout": null,
7
+ "dtype": "float32",
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bdabf672eadb1e9ac97e314980152ee1b26acd7848dde0bbc20db2add599e297
3
- size 45437864
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a4c777cab0e4550abe5ec81f50dd4afd6bea1e3f51a0153b8a30ba425900f61
3
+ size 90864192