Upload folder using huggingface_hub
Browse files- checkpoint-7500/1_Pooling/config.json +10 -0
- checkpoint-7500/README.md +408 -0
- checkpoint-7500/config.json +26 -0
- checkpoint-7500/config_sentence_transformers.json +10 -0
- checkpoint-7500/model.safetensors +3 -0
- checkpoint-7500/modules.json +20 -0
- checkpoint-7500/optimizer.pt +3 -0
- checkpoint-7500/rng_state.pth +3 -0
- checkpoint-7500/scheduler.pt +3 -0
- checkpoint-7500/sentence_bert_config.json +4 -0
- checkpoint-7500/special_tokens_map.json +37 -0
- checkpoint-7500/tokenizer.json +0 -0
- checkpoint-7500/tokenizer_config.json +64 -0
- checkpoint-7500/trainer_state.json +566 -0
- checkpoint-7500/training_args.bin +3 -0
- checkpoint-7500/vocab.txt +0 -0
checkpoint-7500/1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 384,
|
3 |
+
"pooling_mode_cls_token": false,
|
4 |
+
"pooling_mode_mean_tokens": true,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
7 |
+
"pooling_mode_weightedmean_tokens": false,
|
8 |
+
"pooling_mode_lasttoken": false,
|
9 |
+
"include_prompt": true
|
10 |
+
}
|
checkpoint-7500/README.md
ADDED
@@ -0,0 +1,408 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: sentence-transformers/all-MiniLM-L6-v2
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: sentence-transformers
|
6 |
+
license: apache-2.0
|
7 |
+
pipeline_tag: sentence-similarity
|
8 |
+
tags:
|
9 |
+
- sentence-transformers
|
10 |
+
- sentence-similarity
|
11 |
+
- feature-extraction
|
12 |
+
- generated_from_trainer
|
13 |
+
- dataset_size:1830648
|
14 |
+
- loss:AnglELoss
|
15 |
+
widget:
|
16 |
+
- source_sentence: crunchy chips
|
17 |
+
sentences:
|
18 |
+
- big chips spiced gouda
|
19 |
+
- purse
|
20 |
+
- macaroni
|
21 |
+
- source_sentence: genuine leather luggage
|
22 |
+
sentences:
|
23 |
+
- janatte luggage
|
24 |
+
- bomb chemise
|
25 |
+
- purse
|
26 |
+
- source_sentence: head covers Rashguard
|
27 |
+
sentences:
|
28 |
+
- Double Shaded Blue Clutch
|
29 |
+
- Rashguard
|
30 |
+
- bathing costume
|
31 |
+
- source_sentence: hand Made Sweatpants
|
32 |
+
sentences:
|
33 |
+
- acid cleanser
|
34 |
+
- reflective weave sweatpants
|
35 |
+
- rashguard
|
36 |
+
- source_sentence: siamy wrap
|
37 |
+
sentences:
|
38 |
+
- siamy
|
39 |
+
- hair revival
|
40 |
+
- backpack
|
41 |
+
---
|
42 |
+
|
43 |
+
# all-MiniLM-L6-v5-pair_score
|
44 |
+
|
45 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
46 |
+
|
47 |
+
## Model Details
|
48 |
+
|
49 |
+
### Model Description
|
50 |
+
- **Model Type:** Sentence Transformer
|
51 |
+
- **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision fa97f6e7cb1a59073dff9e6b13e2715cf7475ac9 -->
|
52 |
+
- **Maximum Sequence Length:** 256 tokens
|
53 |
+
- **Output Dimensionality:** 384 tokens
|
54 |
+
- **Similarity Function:** Cosine Similarity
|
55 |
+
<!-- - **Training Dataset:** Unknown -->
|
56 |
+
- **Language:** en
|
57 |
+
- **License:** apache-2.0
|
58 |
+
|
59 |
+
### Model Sources
|
60 |
+
|
61 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
62 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
63 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
64 |
+
|
65 |
+
### Full Model Architecture
|
66 |
+
|
67 |
+
```
|
68 |
+
SentenceTransformer(
|
69 |
+
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
|
70 |
+
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
71 |
+
(2): Normalize()
|
72 |
+
)
|
73 |
+
```
|
74 |
+
|
75 |
+
## Usage
|
76 |
+
|
77 |
+
### Direct Usage (Sentence Transformers)
|
78 |
+
|
79 |
+
First install the Sentence Transformers library:
|
80 |
+
|
81 |
+
```bash
|
82 |
+
pip install -U sentence-transformers
|
83 |
+
```
|
84 |
+
|
85 |
+
Then you can load this model and run inference.
|
86 |
+
```python
|
87 |
+
from sentence_transformers import SentenceTransformer
|
88 |
+
|
89 |
+
# Download from the 🤗 Hub
|
90 |
+
model = SentenceTransformer("sentence_transformers_model_id")
|
91 |
+
# Run inference
|
92 |
+
sentences = [
|
93 |
+
'siamy wrap',
|
94 |
+
'siamy',
|
95 |
+
'hair revival',
|
96 |
+
]
|
97 |
+
embeddings = model.encode(sentences)
|
98 |
+
print(embeddings.shape)
|
99 |
+
# [3, 384]
|
100 |
+
|
101 |
+
# Get the similarity scores for the embeddings
|
102 |
+
similarities = model.similarity(embeddings, embeddings)
|
103 |
+
print(similarities.shape)
|
104 |
+
# [3, 3]
|
105 |
+
```
|
106 |
+
|
107 |
+
<!--
|
108 |
+
### Direct Usage (Transformers)
|
109 |
+
|
110 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
111 |
+
|
112 |
+
</details>
|
113 |
+
-->
|
114 |
+
|
115 |
+
<!--
|
116 |
+
### Downstream Usage (Sentence Transformers)
|
117 |
+
|
118 |
+
You can finetune this model on your own dataset.
|
119 |
+
|
120 |
+
<details><summary>Click to expand</summary>
|
121 |
+
|
122 |
+
</details>
|
123 |
+
-->
|
124 |
+
|
125 |
+
<!--
|
126 |
+
### Out-of-Scope Use
|
127 |
+
|
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 |
+
|
134 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
135 |
+
-->
|
136 |
+
|
137 |
+
<!--
|
138 |
+
### Recommendations
|
139 |
+
|
140 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
141 |
+
-->
|
142 |
+
|
143 |
+
## Training Details
|
144 |
+
|
145 |
+
### Training Hyperparameters
|
146 |
+
#### Non-Default Hyperparameters
|
147 |
+
|
148 |
+
- `eval_strategy`: steps
|
149 |
+
- `per_device_train_batch_size`: 128
|
150 |
+
- `per_device_eval_batch_size`: 128
|
151 |
+
- `learning_rate`: 2e-05
|
152 |
+
- `num_train_epochs`: 2
|
153 |
+
- `warmup_ratio`: 0.1
|
154 |
+
- `fp16`: True
|
155 |
+
|
156 |
+
#### All Hyperparameters
|
157 |
+
<details><summary>Click to expand</summary>
|
158 |
+
|
159 |
+
- `overwrite_output_dir`: False
|
160 |
+
- `do_predict`: False
|
161 |
+
- `eval_strategy`: steps
|
162 |
+
- `prediction_loss_only`: True
|
163 |
+
- `per_device_train_batch_size`: 128
|
164 |
+
- `per_device_eval_batch_size`: 128
|
165 |
+
- `per_gpu_train_batch_size`: None
|
166 |
+
- `per_gpu_eval_batch_size`: None
|
167 |
+
- `gradient_accumulation_steps`: 1
|
168 |
+
- `eval_accumulation_steps`: None
|
169 |
+
- `torch_empty_cache_steps`: None
|
170 |
+
- `learning_rate`: 2e-05
|
171 |
+
- `weight_decay`: 0.0
|
172 |
+
- `adam_beta1`: 0.9
|
173 |
+
- `adam_beta2`: 0.999
|
174 |
+
- `adam_epsilon`: 1e-08
|
175 |
+
- `max_grad_norm`: 1.0
|
176 |
+
- `num_train_epochs`: 2
|
177 |
+
- `max_steps`: -1
|
178 |
+
- `lr_scheduler_type`: linear
|
179 |
+
- `lr_scheduler_kwargs`: {}
|
180 |
+
- `warmup_ratio`: 0.1
|
181 |
+
- `warmup_steps`: 0
|
182 |
+
- `log_level`: passive
|
183 |
+
- `log_level_replica`: warning
|
184 |
+
- `log_on_each_node`: True
|
185 |
+
- `logging_nan_inf_filter`: True
|
186 |
+
- `save_safetensors`: True
|
187 |
+
- `save_on_each_node`: False
|
188 |
+
- `save_only_model`: False
|
189 |
+
- `restore_callback_states_from_checkpoint`: False
|
190 |
+
- `no_cuda`: False
|
191 |
+
- `use_cpu`: False
|
192 |
+
- `use_mps_device`: False
|
193 |
+
- `seed`: 42
|
194 |
+
- `data_seed`: None
|
195 |
+
- `jit_mode_eval`: False
|
196 |
+
- `use_ipex`: False
|
197 |
+
- `bf16`: False
|
198 |
+
- `fp16`: True
|
199 |
+
- `fp16_opt_level`: O1
|
200 |
+
- `half_precision_backend`: auto
|
201 |
+
- `bf16_full_eval`: False
|
202 |
+
- `fp16_full_eval`: False
|
203 |
+
- `tf32`: None
|
204 |
+
- `local_rank`: 0
|
205 |
+
- `ddp_backend`: None
|
206 |
+
- `tpu_num_cores`: None
|
207 |
+
- `tpu_metrics_debug`: False
|
208 |
+
- `debug`: []
|
209 |
+
- `dataloader_drop_last`: False
|
210 |
+
- `dataloader_num_workers`: 0
|
211 |
+
- `dataloader_prefetch_factor`: None
|
212 |
+
- `past_index`: -1
|
213 |
+
- `disable_tqdm`: False
|
214 |
+
- `remove_unused_columns`: True
|
215 |
+
- `label_names`: None
|
216 |
+
- `load_best_model_at_end`: False
|
217 |
+
- `ignore_data_skip`: False
|
218 |
+
- `fsdp`: []
|
219 |
+
- `fsdp_min_num_params`: 0
|
220 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
221 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
222 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
223 |
+
- `deepspeed`: None
|
224 |
+
- `label_smoothing_factor`: 0.0
|
225 |
+
- `optim`: adamw_torch
|
226 |
+
- `optim_args`: None
|
227 |
+
- `adafactor`: False
|
228 |
+
- `group_by_length`: False
|
229 |
+
- `length_column_name`: length
|
230 |
+
- `ddp_find_unused_parameters`: None
|
231 |
+
- `ddp_bucket_cap_mb`: None
|
232 |
+
- `ddp_broadcast_buffers`: False
|
233 |
+
- `dataloader_pin_memory`: True
|
234 |
+
- `dataloader_persistent_workers`: False
|
235 |
+
- `skip_memory_metrics`: True
|
236 |
+
- `use_legacy_prediction_loop`: False
|
237 |
+
- `push_to_hub`: False
|
238 |
+
- `resume_from_checkpoint`: None
|
239 |
+
- `hub_model_id`: None
|
240 |
+
- `hub_strategy`: every_save
|
241 |
+
- `hub_private_repo`: False
|
242 |
+
- `hub_always_push`: False
|
243 |
+
- `gradient_checkpointing`: False
|
244 |
+
- `gradient_checkpointing_kwargs`: None
|
245 |
+
- `include_inputs_for_metrics`: False
|
246 |
+
- `eval_do_concat_batches`: True
|
247 |
+
- `fp16_backend`: auto
|
248 |
+
- `push_to_hub_model_id`: None
|
249 |
+
- `push_to_hub_organization`: None
|
250 |
+
- `mp_parameters`:
|
251 |
+
- `auto_find_batch_size`: False
|
252 |
+
- `full_determinism`: False
|
253 |
+
- `torchdynamo`: None
|
254 |
+
- `ray_scope`: last
|
255 |
+
- `ddp_timeout`: 1800
|
256 |
+
- `torch_compile`: False
|
257 |
+
- `torch_compile_backend`: None
|
258 |
+
- `torch_compile_mode`: None
|
259 |
+
- `dispatch_batches`: None
|
260 |
+
- `split_batches`: None
|
261 |
+
- `include_tokens_per_second`: False
|
262 |
+
- `include_num_input_tokens_seen`: False
|
263 |
+
- `neftune_noise_alpha`: None
|
264 |
+
- `optim_target_modules`: None
|
265 |
+
- `batch_eval_metrics`: False
|
266 |
+
- `eval_on_start`: False
|
267 |
+
- `use_liger_kernel`: False
|
268 |
+
- `eval_use_gather_object`: False
|
269 |
+
- `batch_sampler`: batch_sampler
|
270 |
+
- `multi_dataset_batch_sampler`: proportional
|
271 |
+
|
272 |
+
</details>
|
273 |
+
|
274 |
+
### Training Logs
|
275 |
+
| Epoch | Step | Training Loss | loss |
|
276 |
+
|:------:|:----:|:-------------:|:------:|
|
277 |
+
| 0.0070 | 100 | 16.865 | - |
|
278 |
+
| 0.0140 | 200 | 16.1556 | - |
|
279 |
+
| 0.0210 | 300 | 14.8008 | - |
|
280 |
+
| 0.0280 | 400 | 12.4025 | - |
|
281 |
+
| 0.0350 | 500 | 9.7465 | - |
|
282 |
+
| 0.0420 | 600 | 8.448 | - |
|
283 |
+
| 0.0489 | 700 | 8.1951 | - |
|
284 |
+
| 0.0559 | 800 | 8.1093 | - |
|
285 |
+
| 0.0629 | 900 | 8.0567 | - |
|
286 |
+
| 0.0699 | 1000 | 8.0401 | - |
|
287 |
+
| 0.0769 | 1100 | 7.9491 | - |
|
288 |
+
| 0.0839 | 1200 | 7.9494 | - |
|
289 |
+
| 0.0909 | 1300 | 7.9386 | - |
|
290 |
+
| 0.0979 | 1400 | 7.9033 | - |
|
291 |
+
| 0.1049 | 1500 | 7.9055 | - |
|
292 |
+
| 0.1119 | 1600 | 7.9203 | - |
|
293 |
+
| 0.1189 | 1700 | 7.8381 | - |
|
294 |
+
| 0.1259 | 1800 | 7.8679 | - |
|
295 |
+
| 0.1328 | 1900 | 7.8686 | - |
|
296 |
+
| 0.1398 | 2000 | 7.8252 | - |
|
297 |
+
| 0.1468 | 2100 | 7.856 | - |
|
298 |
+
| 0.1538 | 2200 | 7.8301 | - |
|
299 |
+
| 0.1608 | 2300 | 7.8595 | - |
|
300 |
+
| 0.1678 | 2400 | 7.8138 | - |
|
301 |
+
| 0.1748 | 2500 | 7.812 | - |
|
302 |
+
| 0.1818 | 2600 | 7.8261 | - |
|
303 |
+
| 0.1888 | 2700 | 7.7988 | - |
|
304 |
+
| 0.1958 | 2800 | 7.7965 | - |
|
305 |
+
| 0.2028 | 2900 | 7.783 | - |
|
306 |
+
| 0.2098 | 3000 | 7.7752 | - |
|
307 |
+
| 0.2168 | 3100 | 7.7715 | - |
|
308 |
+
| 0.2237 | 3200 | 7.7903 | - |
|
309 |
+
| 0.2307 | 3300 | 7.7656 | - |
|
310 |
+
| 0.2377 | 3400 | 7.749 | - |
|
311 |
+
| 0.2447 | 3500 | 7.7662 | - |
|
312 |
+
| 0.2517 | 3600 | 7.7492 | - |
|
313 |
+
| 0.2587 | 3700 | 7.737 | - |
|
314 |
+
| 0.2657 | 3800 | 7.7232 | - |
|
315 |
+
| 0.2727 | 3900 | 7.7616 | - |
|
316 |
+
| 0.2797 | 4000 | 7.7391 | - |
|
317 |
+
| 0.2867 | 4100 | 7.7552 | - |
|
318 |
+
| 0.2937 | 4200 | 7.7273 | - |
|
319 |
+
| 0.3007 | 4300 | 7.7216 | - |
|
320 |
+
| 0.3076 | 4400 | 7.7371 | - |
|
321 |
+
| 0.3146 | 4500 | 7.7426 | - |
|
322 |
+
| 0.3216 | 4600 | 7.7406 | - |
|
323 |
+
| 0.3286 | 4700 | 7.712 | - |
|
324 |
+
| 0.3356 | 4800 | 7.7466 | - |
|
325 |
+
| 0.3426 | 4900 | 7.7058 | - |
|
326 |
+
| 0.3496 | 5000 | 7.7139 | 7.6896 |
|
327 |
+
| 0.3566 | 5100 | 7.7457 | - |
|
328 |
+
| 0.3636 | 5200 | 7.7172 | - |
|
329 |
+
| 0.3706 | 5300 | 7.739 | - |
|
330 |
+
| 0.3776 | 5400 | 7.7259 | - |
|
331 |
+
| 0.3846 | 5500 | 7.6977 | - |
|
332 |
+
| 0.3916 | 5600 | 7.7237 | - |
|
333 |
+
| 0.3985 | 5700 | 7.7118 | - |
|
334 |
+
| 0.4055 | 5800 | 7.7099 | - |
|
335 |
+
| 0.4125 | 5900 | 7.7142 | - |
|
336 |
+
| 0.4195 | 6000 | 7.6885 | - |
|
337 |
+
| 0.4265 | 6100 | 7.6799 | - |
|
338 |
+
| 0.4335 | 6200 | 7.7039 | - |
|
339 |
+
| 0.4405 | 6300 | 7.6825 | - |
|
340 |
+
| 0.4475 | 6400 | 7.6846 | - |
|
341 |
+
| 0.4545 | 6500 | 7.7078 | - |
|
342 |
+
| 0.4615 | 6600 | 7.6945 | - |
|
343 |
+
| 0.4685 | 6700 | 7.7017 | - |
|
344 |
+
| 0.4755 | 6800 | 7.6781 | - |
|
345 |
+
| 0.4825 | 6900 | 7.6885 | - |
|
346 |
+
| 0.4894 | 7000 | 7.7426 | - |
|
347 |
+
| 0.4964 | 7100 | 7.6809 | - |
|
348 |
+
| 0.5034 | 7200 | 7.6977 | - |
|
349 |
+
| 0.5104 | 7300 | 7.6964 | - |
|
350 |
+
| 0.5174 | 7400 | 7.6834 | - |
|
351 |
+
| 0.5244 | 7500 | 7.6593 | - |
|
352 |
+
|
353 |
+
|
354 |
+
### Framework Versions
|
355 |
+
- Python: 3.8.10
|
356 |
+
- Sentence Transformers: 3.1.1
|
357 |
+
- Transformers: 4.45.2
|
358 |
+
- PyTorch: 2.4.1+cu118
|
359 |
+
- Accelerate: 1.0.1
|
360 |
+
- Datasets: 3.0.1
|
361 |
+
- Tokenizers: 0.20.3
|
362 |
+
|
363 |
+
## Citation
|
364 |
+
|
365 |
+
### BibTeX
|
366 |
+
|
367 |
+
#### Sentence Transformers
|
368 |
+
```bibtex
|
369 |
+
@inproceedings{reimers-2019-sentence-bert,
|
370 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
371 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
372 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
373 |
+
month = "11",
|
374 |
+
year = "2019",
|
375 |
+
publisher = "Association for Computational Linguistics",
|
376 |
+
url = "https://arxiv.org/abs/1908.10084",
|
377 |
+
}
|
378 |
+
```
|
379 |
+
|
380 |
+
#### AnglELoss
|
381 |
+
```bibtex
|
382 |
+
@misc{li2023angleoptimized,
|
383 |
+
title={AnglE-optimized Text Embeddings},
|
384 |
+
author={Xianming Li and Jing Li},
|
385 |
+
year={2023},
|
386 |
+
eprint={2309.12871},
|
387 |
+
archivePrefix={arXiv},
|
388 |
+
primaryClass={cs.CL}
|
389 |
+
}
|
390 |
+
```
|
391 |
+
|
392 |
+
<!--
|
393 |
+
## Glossary
|
394 |
+
|
395 |
+
*Clearly define terms in order to be accessible across audiences.*
|
396 |
+
-->
|
397 |
+
|
398 |
+
<!--
|
399 |
+
## Model Card Authors
|
400 |
+
|
401 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
402 |
+
-->
|
403 |
+
|
404 |
+
<!--
|
405 |
+
## Model Card Contact
|
406 |
+
|
407 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
408 |
+
-->
|
checkpoint-7500/config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
|
3 |
+
"architectures": [
|
4 |
+
"BertModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 384,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 1536,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 6,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.45.2",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
checkpoint-7500/config_sentence_transformers.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "3.1.1",
|
4 |
+
"transformers": "4.45.2",
|
5 |
+
"pytorch": "2.4.1+cu118"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null,
|
9 |
+
"similarity_fn_name": null
|
10 |
+
}
|
checkpoint-7500/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69aff8ef8f960f4bd8caa41f66be3ba3fb038dccde1a6de0ed42dfddd093c4c1
|
3 |
+
size 90864192
|
checkpoint-7500/modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
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 |
+
]
|
checkpoint-7500/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b51ee9aef3addff79b3aefd20cbcd802ae0cd8de8b7e09b18e946c32b1d470a
|
3 |
+
size 180607738
|
checkpoint-7500/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60cb65a0f3d04709f9ed320159d25c4f022e9c34fd4fbe23ca7e22431285e5b4
|
3 |
+
size 14244
|
checkpoint-7500/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bab5f95f777bc8c38467f634a0a451e21a63f64b3af6e5fd85ae7ba83a69909e
|
3 |
+
size 1064
|
checkpoint-7500/sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 256,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
checkpoint-7500/special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
checkpoint-7500/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-7500/tokenizer_config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": false,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"max_length": 128,
|
50 |
+
"model_max_length": 256,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_to_multiple_of": null,
|
53 |
+
"pad_token": "[PAD]",
|
54 |
+
"pad_token_type_id": 0,
|
55 |
+
"padding_side": "right",
|
56 |
+
"sep_token": "[SEP]",
|
57 |
+
"stride": 0,
|
58 |
+
"strip_accents": null,
|
59 |
+
"tokenize_chinese_chars": true,
|
60 |
+
"tokenizer_class": "BertTokenizer",
|
61 |
+
"truncation_side": "right",
|
62 |
+
"truncation_strategy": "longest_first",
|
63 |
+
"unk_token": "[UNK]"
|
64 |
+
}
|
checkpoint-7500/trainer_state.json
ADDED
@@ -0,0 +1,566 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.524402181513075,
|
5 |
+
"eval_steps": 5000,
|
6 |
+
"global_step": 7500,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.006992029086841001,
|
13 |
+
"grad_norm": 75.90129852294922,
|
14 |
+
"learning_rate": 6.780845858091577e-07,
|
15 |
+
"loss": 16.865,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.013984058173682002,
|
20 |
+
"grad_norm": 71.16612243652344,
|
21 |
+
"learning_rate": 1.3771408598392172e-06,
|
22 |
+
"loss": 16.1556,
|
23 |
+
"step": 200
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.020976087260523003,
|
27 |
+
"grad_norm": 130.67613220214844,
|
28 |
+
"learning_rate": 2.0761971338692767e-06,
|
29 |
+
"loss": 14.8008,
|
30 |
+
"step": 300
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.027968116347364003,
|
34 |
+
"grad_norm": 36.4179801940918,
|
35 |
+
"learning_rate": 2.7682628451590356e-06,
|
36 |
+
"loss": 12.4025,
|
37 |
+
"step": 400
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.034960145434205,
|
41 |
+
"grad_norm": 34.748844146728516,
|
42 |
+
"learning_rate": 3.467319119189095e-06,
|
43 |
+
"loss": 9.7465,
|
44 |
+
"step": 500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.04195217452104601,
|
48 |
+
"grad_norm": 8.039146423339844,
|
49 |
+
"learning_rate": 4.166375393219155e-06,
|
50 |
+
"loss": 8.448,
|
51 |
+
"step": 600
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.04894420360788701,
|
55 |
+
"grad_norm": 10.288451194763184,
|
56 |
+
"learning_rate": 4.865431667249214e-06,
|
57 |
+
"loss": 8.1951,
|
58 |
+
"step": 700
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.05593623269472801,
|
62 |
+
"grad_norm": 6.3236308097839355,
|
63 |
+
"learning_rate": 5.564487941279273e-06,
|
64 |
+
"loss": 8.1093,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.06292826178156902,
|
69 |
+
"grad_norm": 15.230368614196777,
|
70 |
+
"learning_rate": 6.263544215309333e-06,
|
71 |
+
"loss": 8.0567,
|
72 |
+
"step": 900
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.06992029086841,
|
76 |
+
"grad_norm": 5.573168754577637,
|
77 |
+
"learning_rate": 6.962600489339393e-06,
|
78 |
+
"loss": 8.0401,
|
79 |
+
"step": 1000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.07691231995525101,
|
83 |
+
"grad_norm": 6.7740325927734375,
|
84 |
+
"learning_rate": 7.661656763369451e-06,
|
85 |
+
"loss": 7.9491,
|
86 |
+
"step": 1100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.08390434904209201,
|
90 |
+
"grad_norm": 6.167610168457031,
|
91 |
+
"learning_rate": 8.360713037399512e-06,
|
92 |
+
"loss": 7.9494,
|
93 |
+
"step": 1200
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.09089637812893302,
|
97 |
+
"grad_norm": 5.53561544418335,
|
98 |
+
"learning_rate": 9.05976931142957e-06,
|
99 |
+
"loss": 7.9386,
|
100 |
+
"step": 1300
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.09788840721577402,
|
104 |
+
"grad_norm": 6.056953430175781,
|
105 |
+
"learning_rate": 9.758825585459631e-06,
|
106 |
+
"loss": 7.9033,
|
107 |
+
"step": 1400
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.10488043630261502,
|
111 |
+
"grad_norm": 5.160706043243408,
|
112 |
+
"learning_rate": 1.045788185948969e-05,
|
113 |
+
"loss": 7.9055,
|
114 |
+
"step": 1500
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.11187246538945601,
|
118 |
+
"grad_norm": 5.525616645812988,
|
119 |
+
"learning_rate": 1.115693813351975e-05,
|
120 |
+
"loss": 7.9203,
|
121 |
+
"step": 1600
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.11886449447629702,
|
125 |
+
"grad_norm": 5.553597927093506,
|
126 |
+
"learning_rate": 1.185599440754981e-05,
|
127 |
+
"loss": 7.8381,
|
128 |
+
"step": 1700
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.12585652356313803,
|
132 |
+
"grad_norm": 4.8832478523254395,
|
133 |
+
"learning_rate": 1.2555050681579868e-05,
|
134 |
+
"loss": 7.8679,
|
135 |
+
"step": 1800
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.13284855264997902,
|
139 |
+
"grad_norm": 5.308164596557617,
|
140 |
+
"learning_rate": 1.3254106955609927e-05,
|
141 |
+
"loss": 7.8686,
|
142 |
+
"step": 1900
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.13984058173682,
|
146 |
+
"grad_norm": 6.790646553039551,
|
147 |
+
"learning_rate": 1.3953163229639988e-05,
|
148 |
+
"loss": 7.8252,
|
149 |
+
"step": 2000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.14683261082366103,
|
153 |
+
"grad_norm": 5.003779888153076,
|
154 |
+
"learning_rate": 1.4652219503670046e-05,
|
155 |
+
"loss": 7.856,
|
156 |
+
"step": 2100
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.15382463991050202,
|
160 |
+
"grad_norm": 5.0926642417907715,
|
161 |
+
"learning_rate": 1.5351275777700107e-05,
|
162 |
+
"loss": 7.8301,
|
163 |
+
"step": 2200
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.16081666899734304,
|
167 |
+
"grad_norm": 4.154193878173828,
|
168 |
+
"learning_rate": 1.6050332051730168e-05,
|
169 |
+
"loss": 7.8595,
|
170 |
+
"step": 2300
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.16780869808418403,
|
174 |
+
"grad_norm": 4.168135166168213,
|
175 |
+
"learning_rate": 1.6749388325760225e-05,
|
176 |
+
"loss": 7.8138,
|
177 |
+
"step": 2400
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.17480072717102504,
|
181 |
+
"grad_norm": 4.69076681137085,
|
182 |
+
"learning_rate": 1.7448444599790285e-05,
|
183 |
+
"loss": 7.812,
|
184 |
+
"step": 2500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.18179275625786603,
|
188 |
+
"grad_norm": 4.386991500854492,
|
189 |
+
"learning_rate": 1.8147500873820346e-05,
|
190 |
+
"loss": 7.8261,
|
191 |
+
"step": 2600
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.18878478534470702,
|
195 |
+
"grad_norm": 5.777139186859131,
|
196 |
+
"learning_rate": 1.8846557147850403e-05,
|
197 |
+
"loss": 7.7988,
|
198 |
+
"step": 2700
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.19577681443154804,
|
202 |
+
"grad_norm": 18.3277645111084,
|
203 |
+
"learning_rate": 1.9545613421880464e-05,
|
204 |
+
"loss": 7.7965,
|
205 |
+
"step": 2800
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.20276884351838903,
|
209 |
+
"grad_norm": 4.5356669425964355,
|
210 |
+
"learning_rate": 1.997280814201919e-05,
|
211 |
+
"loss": 7.783,
|
212 |
+
"step": 2900
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.20976087260523005,
|
216 |
+
"grad_norm": 5.4392476081848145,
|
217 |
+
"learning_rate": 1.9895117119216877e-05,
|
218 |
+
"loss": 7.7752,
|
219 |
+
"step": 3000
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.21675290169207104,
|
223 |
+
"grad_norm": 5.365427017211914,
|
224 |
+
"learning_rate": 1.981742609641456e-05,
|
225 |
+
"loss": 7.7715,
|
226 |
+
"step": 3100
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.22374493077891203,
|
230 |
+
"grad_norm": 4.111672401428223,
|
231 |
+
"learning_rate": 1.9739735073612244e-05,
|
232 |
+
"loss": 7.7903,
|
233 |
+
"step": 3200
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.23073695986575304,
|
237 |
+
"grad_norm": 4.107003211975098,
|
238 |
+
"learning_rate": 1.9662044050809928e-05,
|
239 |
+
"loss": 7.7656,
|
240 |
+
"step": 3300
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 0.23772898895259403,
|
244 |
+
"grad_norm": 4.667971611022949,
|
245 |
+
"learning_rate": 1.9584353028007615e-05,
|
246 |
+
"loss": 7.749,
|
247 |
+
"step": 3400
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 0.24472101803943505,
|
251 |
+
"grad_norm": 4.010958194732666,
|
252 |
+
"learning_rate": 1.95066620052053e-05,
|
253 |
+
"loss": 7.7662,
|
254 |
+
"step": 3500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.25171304712627607,
|
258 |
+
"grad_norm": 4.07546329498291,
|
259 |
+
"learning_rate": 1.9428970982402986e-05,
|
260 |
+
"loss": 7.7492,
|
261 |
+
"step": 3600
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 0.25870507621311706,
|
265 |
+
"grad_norm": 5.414000988006592,
|
266 |
+
"learning_rate": 1.935127995960067e-05,
|
267 |
+
"loss": 7.737,
|
268 |
+
"step": 3700
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 0.26569710529995805,
|
272 |
+
"grad_norm": 4.4744648933410645,
|
273 |
+
"learning_rate": 1.9273588936798357e-05,
|
274 |
+
"loss": 7.7232,
|
275 |
+
"step": 3800
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 0.27268913438679904,
|
279 |
+
"grad_norm": 4.141202926635742,
|
280 |
+
"learning_rate": 1.919589791399604e-05,
|
281 |
+
"loss": 7.7616,
|
282 |
+
"step": 3900
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 0.27968116347364,
|
286 |
+
"grad_norm": 4.493043899536133,
|
287 |
+
"learning_rate": 1.9118206891193724e-05,
|
288 |
+
"loss": 7.7391,
|
289 |
+
"step": 4000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 0.28667319256048107,
|
293 |
+
"grad_norm": 4.083165168762207,
|
294 |
+
"learning_rate": 1.904051586839141e-05,
|
295 |
+
"loss": 7.7552,
|
296 |
+
"step": 4100
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 0.29366522164732206,
|
300 |
+
"grad_norm": 8.303427696228027,
|
301 |
+
"learning_rate": 1.8962824845589095e-05,
|
302 |
+
"loss": 7.7273,
|
303 |
+
"step": 4200
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 0.30065725073416305,
|
307 |
+
"grad_norm": 4.003914833068848,
|
308 |
+
"learning_rate": 1.888513382278678e-05,
|
309 |
+
"loss": 7.7216,
|
310 |
+
"step": 4300
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 0.30764927982100404,
|
314 |
+
"grad_norm": 4.859315395355225,
|
315 |
+
"learning_rate": 1.8807442799984462e-05,
|
316 |
+
"loss": 7.7371,
|
317 |
+
"step": 4400
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 0.31464130890784503,
|
321 |
+
"grad_norm": 4.693440914154053,
|
322 |
+
"learning_rate": 1.872975177718215e-05,
|
323 |
+
"loss": 7.7426,
|
324 |
+
"step": 4500
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 0.3216333379946861,
|
328 |
+
"grad_norm": 4.81652307510376,
|
329 |
+
"learning_rate": 1.8652060754379833e-05,
|
330 |
+
"loss": 7.7406,
|
331 |
+
"step": 4600
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 0.32862536708152706,
|
335 |
+
"grad_norm": 3.861663341522217,
|
336 |
+
"learning_rate": 1.8574369731577516e-05,
|
337 |
+
"loss": 7.712,
|
338 |
+
"step": 4700
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 0.33561739616836805,
|
342 |
+
"grad_norm": 4.218888282775879,
|
343 |
+
"learning_rate": 1.8496678708775203e-05,
|
344 |
+
"loss": 7.7466,
|
345 |
+
"step": 4800
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 0.34260942525520904,
|
349 |
+
"grad_norm": 8.032899856567383,
|
350 |
+
"learning_rate": 1.8418987685972887e-05,
|
351 |
+
"loss": 7.7058,
|
352 |
+
"step": 4900
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 0.3496014543420501,
|
356 |
+
"grad_norm": 4.292692184448242,
|
357 |
+
"learning_rate": 1.8342073573398596e-05,
|
358 |
+
"loss": 7.7139,
|
359 |
+
"step": 5000
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 0.3496014543420501,
|
363 |
+
"eval_loss": 7.6895527839660645,
|
364 |
+
"eval_runtime": 261.6657,
|
365 |
+
"eval_samples_per_second": 1752.27,
|
366 |
+
"eval_steps_per_second": 13.693,
|
367 |
+
"step": 5000
|
368 |
+
},
|
369 |
+
{
|
370 |
+
"epoch": 0.3565934834288911,
|
371 |
+
"grad_norm": 4.507449626922607,
|
372 |
+
"learning_rate": 1.826438255059628e-05,
|
373 |
+
"loss": 7.7457,
|
374 |
+
"step": 5100
|
375 |
+
},
|
376 |
+
{
|
377 |
+
"epoch": 0.36358551251573207,
|
378 |
+
"grad_norm": 10.12509536743164,
|
379 |
+
"learning_rate": 1.8186691527793966e-05,
|
380 |
+
"loss": 7.7172,
|
381 |
+
"step": 5200
|
382 |
+
},
|
383 |
+
{
|
384 |
+
"epoch": 0.37057754160257306,
|
385 |
+
"grad_norm": 4.254384517669678,
|
386 |
+
"learning_rate": 1.810900050499165e-05,
|
387 |
+
"loss": 7.739,
|
388 |
+
"step": 5300
|
389 |
+
},
|
390 |
+
{
|
391 |
+
"epoch": 0.37756957068941405,
|
392 |
+
"grad_norm": 6.059901237487793,
|
393 |
+
"learning_rate": 1.8031309482189334e-05,
|
394 |
+
"loss": 7.7259,
|
395 |
+
"step": 5400
|
396 |
+
},
|
397 |
+
{
|
398 |
+
"epoch": 0.3845615997762551,
|
399 |
+
"grad_norm": 5.770705223083496,
|
400 |
+
"learning_rate": 1.7953618459387017e-05,
|
401 |
+
"loss": 7.6977,
|
402 |
+
"step": 5500
|
403 |
+
},
|
404 |
+
{
|
405 |
+
"epoch": 0.3915536288630961,
|
406 |
+
"grad_norm": 6.927788257598877,
|
407 |
+
"learning_rate": 1.7875927436584705e-05,
|
408 |
+
"loss": 7.7237,
|
409 |
+
"step": 5600
|
410 |
+
},
|
411 |
+
{
|
412 |
+
"epoch": 0.39854565794993707,
|
413 |
+
"grad_norm": 4.323265552520752,
|
414 |
+
"learning_rate": 1.7798236413782388e-05,
|
415 |
+
"loss": 7.7118,
|
416 |
+
"step": 5700
|
417 |
+
},
|
418 |
+
{
|
419 |
+
"epoch": 0.40553768703677806,
|
420 |
+
"grad_norm": 4.448848247528076,
|
421 |
+
"learning_rate": 1.7720545390980072e-05,
|
422 |
+
"loss": 7.7099,
|
423 |
+
"step": 5800
|
424 |
+
},
|
425 |
+
{
|
426 |
+
"epoch": 0.41252971612361905,
|
427 |
+
"grad_norm": 66.31098175048828,
|
428 |
+
"learning_rate": 1.764285436817776e-05,
|
429 |
+
"loss": 7.7142,
|
430 |
+
"step": 5900
|
431 |
+
},
|
432 |
+
{
|
433 |
+
"epoch": 0.4195217452104601,
|
434 |
+
"grad_norm": 6.65512228012085,
|
435 |
+
"learning_rate": 1.7565163345375443e-05,
|
436 |
+
"loss": 7.6885,
|
437 |
+
"step": 6000
|
438 |
+
},
|
439 |
+
{
|
440 |
+
"epoch": 0.4265137742973011,
|
441 |
+
"grad_norm": 4.743120193481445,
|
442 |
+
"learning_rate": 1.748747232257313e-05,
|
443 |
+
"loss": 7.6799,
|
444 |
+
"step": 6100
|
445 |
+
},
|
446 |
+
{
|
447 |
+
"epoch": 0.4335058033841421,
|
448 |
+
"grad_norm": 4.90665864944458,
|
449 |
+
"learning_rate": 1.7409781299770813e-05,
|
450 |
+
"loss": 7.7039,
|
451 |
+
"step": 6200
|
452 |
+
},
|
453 |
+
{
|
454 |
+
"epoch": 0.44049783247098306,
|
455 |
+
"grad_norm": 6.465912342071533,
|
456 |
+
"learning_rate": 1.7332090276968497e-05,
|
457 |
+
"loss": 7.6825,
|
458 |
+
"step": 6300
|
459 |
+
},
|
460 |
+
{
|
461 |
+
"epoch": 0.44748986155782405,
|
462 |
+
"grad_norm": 3.6341958045959473,
|
463 |
+
"learning_rate": 1.7254399254166184e-05,
|
464 |
+
"loss": 7.6846,
|
465 |
+
"step": 6400
|
466 |
+
},
|
467 |
+
{
|
468 |
+
"epoch": 0.4544818906446651,
|
469 |
+
"grad_norm": 3.931257486343384,
|
470 |
+
"learning_rate": 1.7176708231363868e-05,
|
471 |
+
"loss": 7.7078,
|
472 |
+
"step": 6500
|
473 |
+
},
|
474 |
+
{
|
475 |
+
"epoch": 0.4614739197315061,
|
476 |
+
"grad_norm": 4.2776665687561035,
|
477 |
+
"learning_rate": 1.709901720856155e-05,
|
478 |
+
"loss": 7.6945,
|
479 |
+
"step": 6600
|
480 |
+
},
|
481 |
+
{
|
482 |
+
"epoch": 0.4684659488183471,
|
483 |
+
"grad_norm": 4.510386943817139,
|
484 |
+
"learning_rate": 1.702132618575924e-05,
|
485 |
+
"loss": 7.7017,
|
486 |
+
"step": 6700
|
487 |
+
},
|
488 |
+
{
|
489 |
+
"epoch": 0.47545797790518807,
|
490 |
+
"grad_norm": 5.780529975891113,
|
491 |
+
"learning_rate": 1.6943635162956922e-05,
|
492 |
+
"loss": 7.6781,
|
493 |
+
"step": 6800
|
494 |
+
},
|
495 |
+
{
|
496 |
+
"epoch": 0.4824500069920291,
|
497 |
+
"grad_norm": 5.802525997161865,
|
498 |
+
"learning_rate": 1.6865944140154606e-05,
|
499 |
+
"loss": 7.6885,
|
500 |
+
"step": 6900
|
501 |
+
},
|
502 |
+
{
|
503 |
+
"epoch": 0.4894420360788701,
|
504 |
+
"grad_norm": 5.534703254699707,
|
505 |
+
"learning_rate": 1.6789030027580314e-05,
|
506 |
+
"loss": 7.7426,
|
507 |
+
"step": 7000
|
508 |
+
},
|
509 |
+
{
|
510 |
+
"epoch": 0.4964340651657111,
|
511 |
+
"grad_norm": 5.897773742675781,
|
512 |
+
"learning_rate": 1.6711339004778e-05,
|
513 |
+
"loss": 7.6809,
|
514 |
+
"step": 7100
|
515 |
+
},
|
516 |
+
{
|
517 |
+
"epoch": 0.5034260942525521,
|
518 |
+
"grad_norm": 5.115645408630371,
|
519 |
+
"learning_rate": 1.6633647981975685e-05,
|
520 |
+
"loss": 7.6977,
|
521 |
+
"step": 7200
|
522 |
+
},
|
523 |
+
{
|
524 |
+
"epoch": 0.5104181233393931,
|
525 |
+
"grad_norm": 7.200738430023193,
|
526 |
+
"learning_rate": 1.655595695917337e-05,
|
527 |
+
"loss": 7.6964,
|
528 |
+
"step": 7300
|
529 |
+
},
|
530 |
+
{
|
531 |
+
"epoch": 0.5174101524262341,
|
532 |
+
"grad_norm": 5.526965618133545,
|
533 |
+
"learning_rate": 1.6478265936371052e-05,
|
534 |
+
"loss": 7.6834,
|
535 |
+
"step": 7400
|
536 |
+
},
|
537 |
+
{
|
538 |
+
"epoch": 0.524402181513075,
|
539 |
+
"grad_norm": 8.350557327270508,
|
540 |
+
"learning_rate": 1.640057491356874e-05,
|
541 |
+
"loss": 7.6593,
|
542 |
+
"step": 7500
|
543 |
+
}
|
544 |
+
],
|
545 |
+
"logging_steps": 100,
|
546 |
+
"max_steps": 28604,
|
547 |
+
"num_input_tokens_seen": 0,
|
548 |
+
"num_train_epochs": 2,
|
549 |
+
"save_steps": 500,
|
550 |
+
"stateful_callbacks": {
|
551 |
+
"TrainerControl": {
|
552 |
+
"args": {
|
553 |
+
"should_epoch_stop": false,
|
554 |
+
"should_evaluate": false,
|
555 |
+
"should_log": false,
|
556 |
+
"should_save": true,
|
557 |
+
"should_training_stop": false
|
558 |
+
},
|
559 |
+
"attributes": {}
|
560 |
+
}
|
561 |
+
},
|
562 |
+
"total_flos": 0.0,
|
563 |
+
"train_batch_size": 128,
|
564 |
+
"trial_name": null,
|
565 |
+
"trial_params": null
|
566 |
+
}
|
checkpoint-7500/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e9840166868acd534aee7a5ee1624674259455adad75c43b4211cfe517613b9
|
3 |
+
size 5496
|
checkpoint-7500/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|