Upload folder using huggingface_hub
Browse files- checkpoint-7500/1_Pooling/config.json +10 -0
- checkpoint-7500/README.md +407 -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 +558 -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,407 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:2400000
|
14 |
+
- loss:CoSENTLoss
|
15 |
+
widget:
|
16 |
+
- source_sentence: poolside pants
|
17 |
+
sentences:
|
18 |
+
- safe materials toy
|
19 |
+
- plated necklace
|
20 |
+
- washed cargo pants
|
21 |
+
- source_sentence: breathable pants
|
22 |
+
sentences:
|
23 |
+
- extra definition mascara
|
24 |
+
- christmas trees hair clip
|
25 |
+
- milton shorts
|
26 |
+
- source_sentence: mozzarella cheese burger
|
27 |
+
sentences:
|
28 |
+
- ankle length leggings
|
29 |
+
- nail polish
|
30 |
+
- olive shacket
|
31 |
+
- source_sentence: cookie brownie
|
32 |
+
sentences:
|
33 |
+
- lime top
|
34 |
+
- mdf coffee corner stand
|
35 |
+
- learning flashcards
|
36 |
+
- source_sentence: no artificial flavouring food
|
37 |
+
sentences:
|
38 |
+
- eye pencil
|
39 |
+
- tourmaline ceramic brush
|
40 |
+
- rubber dog toy
|
41 |
+
---
|
42 |
+
|
43 |
+
# all-MiniLM-L6-v9-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 c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
|
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 |
+
'no artificial flavouring food',
|
94 |
+
'rubber dog toy',
|
95 |
+
'tourmaline ceramic brush',
|
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`: 1
|
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`: 1
|
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 |
|
276 |
+
|:------:|:----:|:-------------:|
|
277 |
+
| 0.0053 | 100 | 13.2077 |
|
278 |
+
| 0.0107 | 200 | 12.3835 |
|
279 |
+
| 0.016 | 300 | 10.7699 |
|
280 |
+
| 0.0213 | 400 | 9.2679 |
|
281 |
+
| 0.0267 | 500 | 8.2638 |
|
282 |
+
| 0.032 | 600 | 7.69 |
|
283 |
+
| 0.0373 | 700 | 7.2751 |
|
284 |
+
| 0.0427 | 800 | 6.8786 |
|
285 |
+
| 0.048 | 900 | 6.7811 |
|
286 |
+
| 0.0533 | 1000 | 6.5834 |
|
287 |
+
| 0.0587 | 1100 | 6.3517 |
|
288 |
+
| 0.064 | 1200 | 6.2272 |
|
289 |
+
| 0.0693 | 1300 | 6.1943 |
|
290 |
+
| 0.0747 | 1400 | 6.1038 |
|
291 |
+
| 0.08 | 1500 | 6.1216 |
|
292 |
+
| 0.0853 | 1600 | 6.1429 |
|
293 |
+
| 0.0907 | 1700 | 5.8876 |
|
294 |
+
| 0.096 | 1800 | 5.8074 |
|
295 |
+
| 0.1013 | 1900 | 5.6261 |
|
296 |
+
| 0.1067 | 2000 | 5.838 |
|
297 |
+
| 0.112 | 2100 | 5.7161 |
|
298 |
+
| 0.1173 | 2200 | 5.5388 |
|
299 |
+
| 0.1227 | 2300 | 5.5654 |
|
300 |
+
| 0.128 | 2400 | 5.5196 |
|
301 |
+
| 0.1333 | 2500 | 5.3665 |
|
302 |
+
| 0.1387 | 2600 | 5.2952 |
|
303 |
+
| 0.144 | 2700 | 5.4131 |
|
304 |
+
| 0.1493 | 2800 | 5.2104 |
|
305 |
+
| 0.1547 | 2900 | 5.2176 |
|
306 |
+
| 0.16 | 3000 | 4.9406 |
|
307 |
+
| 0.1653 | 3100 | 4.8781 |
|
308 |
+
| 0.1707 | 3200 | 5.08 |
|
309 |
+
| 0.176 | 3300 | 5.1495 |
|
310 |
+
| 0.1813 | 3400 | 4.8717 |
|
311 |
+
| 0.1867 | 3500 | 4.8196 |
|
312 |
+
| 0.192 | 3600 | 4.8065 |
|
313 |
+
| 0.1973 | 3700 | 4.718 |
|
314 |
+
| 0.2027 | 3800 | 4.7111 |
|
315 |
+
| 0.208 | 3900 | 4.6759 |
|
316 |
+
| 0.2133 | 4000 | 4.7733 |
|
317 |
+
| 0.2187 | 4100 | 4.7041 |
|
318 |
+
| 0.224 | 4200 | 4.7898 |
|
319 |
+
| 0.2293 | 4300 | 4.8974 |
|
320 |
+
| 0.2347 | 4400 | 4.4939 |
|
321 |
+
| 0.24 | 4500 | 4.4107 |
|
322 |
+
| 0.2453 | 4600 | 4.4831 |
|
323 |
+
| 0.2507 | 4700 | 4.4571 |
|
324 |
+
| 0.256 | 4800 | 4.1461 |
|
325 |
+
| 0.2613 | 4900 | 4.5198 |
|
326 |
+
| 0.2667 | 5000 | 4.4998 |
|
327 |
+
| 0.272 | 5100 | 4.2135 |
|
328 |
+
| 0.2773 | 5200 | 4.441 |
|
329 |
+
| 0.2827 | 5300 | 4.2669 |
|
330 |
+
| 0.288 | 5400 | 4.0964 |
|
331 |
+
| 0.2933 | 5500 | 4.2048 |
|
332 |
+
| 0.2987 | 5600 | 4.2123 |
|
333 |
+
| 0.304 | 5700 | 4.3391 |
|
334 |
+
| 0.3093 | 5800 | 4.3366 |
|
335 |
+
| 0.3147 | 5900 | 4.1775 |
|
336 |
+
| 0.32 | 6000 | 3.9954 |
|
337 |
+
| 0.3253 | 6100 | 4.141 |
|
338 |
+
| 0.3307 | 6200 | 4.09 |
|
339 |
+
| 0.336 | 6300 | 3.9517 |
|
340 |
+
| 0.3413 | 6400 | 3.9844 |
|
341 |
+
| 0.3467 | 6500 | 3.8902 |
|
342 |
+
| 0.352 | 6600 | 3.571 |
|
343 |
+
| 0.3573 | 6700 | 3.7686 |
|
344 |
+
| 0.3627 | 6800 | 3.7766 |
|
345 |
+
| 0.368 | 6900 | 4.0305 |
|
346 |
+
| 0.3733 | 7000 | 4.2835 |
|
347 |
+
| 0.3787 | 7100 | 3.8102 |
|
348 |
+
| 0.384 | 7200 | 3.5178 |
|
349 |
+
| 0.3893 | 7300 | 3.8828 |
|
350 |
+
| 0.3947 | 7400 | 3.9125 |
|
351 |
+
| 0.4 | 7500 | 3.8578 |
|
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 |
+
#### CoSENTLoss
|
381 |
+
```bibtex
|
382 |
+
@online{kexuefm-8847,
|
383 |
+
title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
|
384 |
+
author={Su Jianlin},
|
385 |
+
year={2022},
|
386 |
+
month={Jan},
|
387 |
+
url={https://kexue.fm/archives/8847},
|
388 |
+
}
|
389 |
+
```
|
390 |
+
|
391 |
+
<!--
|
392 |
+
## Glossary
|
393 |
+
|
394 |
+
*Clearly define terms in order to be accessible across audiences.*
|
395 |
+
-->
|
396 |
+
|
397 |
+
<!--
|
398 |
+
## Model Card Authors
|
399 |
+
|
400 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
401 |
+
-->
|
402 |
+
|
403 |
+
<!--
|
404 |
+
## Model Card Contact
|
405 |
+
|
406 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
407 |
+
-->
|
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:0efce3755d656d5e800e38d14eb024a56a6ea0c825712695946edf101425b73c
|
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:56d98f95baecf0b6d49f4dec1e286beb8fb323f99da8bbc0e9e2d7fb9e754ae1
|
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:6abe707bdb762d0494cb302076059165a3d785051e7f90b554a91930e5a96613
|
3 |
+
size 14244
|
checkpoint-7500/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8072d7e5656a47eb7c6a6ba191b4467030037358ed926b72bd8ac3c74a5ca459
|
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,558 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.4,
|
5 |
+
"eval_steps": 200000,
|
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.005333333333333333,
|
13 |
+
"grad_norm": 87.1787109375,
|
14 |
+
"learning_rate": 1.0346666666666668e-06,
|
15 |
+
"loss": 13.2077,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.010666666666666666,
|
20 |
+
"grad_norm": 93.43941497802734,
|
21 |
+
"learning_rate": 2.1013333333333335e-06,
|
22 |
+
"loss": 12.3835,
|
23 |
+
"step": 200
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.016,
|
27 |
+
"grad_norm": 48.778316497802734,
|
28 |
+
"learning_rate": 3.1680000000000004e-06,
|
29 |
+
"loss": 10.7699,
|
30 |
+
"step": 300
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.021333333333333333,
|
34 |
+
"grad_norm": 58.05220413208008,
|
35 |
+
"learning_rate": 4.234666666666667e-06,
|
36 |
+
"loss": 9.2679,
|
37 |
+
"step": 400
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.02666666666666667,
|
41 |
+
"grad_norm": 23.75503158569336,
|
42 |
+
"learning_rate": 5.301333333333334e-06,
|
43 |
+
"loss": 8.2638,
|
44 |
+
"step": 500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.032,
|
48 |
+
"grad_norm": 15.003210067749023,
|
49 |
+
"learning_rate": 6.368000000000001e-06,
|
50 |
+
"loss": 7.69,
|
51 |
+
"step": 600
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.037333333333333336,
|
55 |
+
"grad_norm": 17.561220169067383,
|
56 |
+
"learning_rate": 7.434666666666668e-06,
|
57 |
+
"loss": 7.2751,
|
58 |
+
"step": 700
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.042666666666666665,
|
62 |
+
"grad_norm": 18.077470779418945,
|
63 |
+
"learning_rate": 8.501333333333334e-06,
|
64 |
+
"loss": 6.8786,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.048,
|
69 |
+
"grad_norm": 23.71312141418457,
|
70 |
+
"learning_rate": 9.568e-06,
|
71 |
+
"loss": 6.7811,
|
72 |
+
"step": 900
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.05333333333333334,
|
76 |
+
"grad_norm": 23.78058624267578,
|
77 |
+
"learning_rate": 1.0634666666666667e-05,
|
78 |
+
"loss": 6.5834,
|
79 |
+
"step": 1000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.058666666666666666,
|
83 |
+
"grad_norm": 21.788728713989258,
|
84 |
+
"learning_rate": 1.1701333333333333e-05,
|
85 |
+
"loss": 6.3517,
|
86 |
+
"step": 1100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.064,
|
90 |
+
"grad_norm": 31.29090690612793,
|
91 |
+
"learning_rate": 1.2768e-05,
|
92 |
+
"loss": 6.2272,
|
93 |
+
"step": 1200
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.06933333333333333,
|
97 |
+
"grad_norm": 40.10956573486328,
|
98 |
+
"learning_rate": 1.3834666666666668e-05,
|
99 |
+
"loss": 6.1943,
|
100 |
+
"step": 1300
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.07466666666666667,
|
104 |
+
"grad_norm": 64.6901626586914,
|
105 |
+
"learning_rate": 1.4901333333333334e-05,
|
106 |
+
"loss": 6.1038,
|
107 |
+
"step": 1400
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.08,
|
111 |
+
"grad_norm": 37.49641036987305,
|
112 |
+
"learning_rate": 1.5968e-05,
|
113 |
+
"loss": 6.1216,
|
114 |
+
"step": 1500
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.08533333333333333,
|
118 |
+
"grad_norm": 104.68683624267578,
|
119 |
+
"learning_rate": 1.7034666666666668e-05,
|
120 |
+
"loss": 6.1429,
|
121 |
+
"step": 1600
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.09066666666666667,
|
125 |
+
"grad_norm": 26.25409698486328,
|
126 |
+
"learning_rate": 1.8101333333333336e-05,
|
127 |
+
"loss": 5.8876,
|
128 |
+
"step": 1700
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.096,
|
132 |
+
"grad_norm": 46.158363342285156,
|
133 |
+
"learning_rate": 1.9168000000000004e-05,
|
134 |
+
"loss": 5.8074,
|
135 |
+
"step": 1800
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.10133333333333333,
|
139 |
+
"grad_norm": 148.9814910888672,
|
140 |
+
"learning_rate": 1.997511111111111e-05,
|
141 |
+
"loss": 5.6261,
|
142 |
+
"step": 1900
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.10666666666666667,
|
146 |
+
"grad_norm": 32.8914909362793,
|
147 |
+
"learning_rate": 1.9856592592592595e-05,
|
148 |
+
"loss": 5.838,
|
149 |
+
"step": 2000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.112,
|
153 |
+
"grad_norm": 38.54491424560547,
|
154 |
+
"learning_rate": 1.9738074074074077e-05,
|
155 |
+
"loss": 5.7161,
|
156 |
+
"step": 2100
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.11733333333333333,
|
160 |
+
"grad_norm": 38.57450485229492,
|
161 |
+
"learning_rate": 1.9619555555555555e-05,
|
162 |
+
"loss": 5.5388,
|
163 |
+
"step": 2200
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.12266666666666666,
|
167 |
+
"grad_norm": 48.14970779418945,
|
168 |
+
"learning_rate": 1.9501037037037037e-05,
|
169 |
+
"loss": 5.5654,
|
170 |
+
"step": 2300
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.128,
|
174 |
+
"grad_norm": 51.39189147949219,
|
175 |
+
"learning_rate": 1.9382518518518522e-05,
|
176 |
+
"loss": 5.5196,
|
177 |
+
"step": 2400
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.13333333333333333,
|
181 |
+
"grad_norm": 29.93403434753418,
|
182 |
+
"learning_rate": 1.9264e-05,
|
183 |
+
"loss": 5.3665,
|
184 |
+
"step": 2500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.13866666666666666,
|
188 |
+
"grad_norm": 29.333316802978516,
|
189 |
+
"learning_rate": 1.9145481481481482e-05,
|
190 |
+
"loss": 5.2952,
|
191 |
+
"step": 2600
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.144,
|
195 |
+
"grad_norm": 119.10240936279297,
|
196 |
+
"learning_rate": 1.9026962962962964e-05,
|
197 |
+
"loss": 5.4131,
|
198 |
+
"step": 2700
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.14933333333333335,
|
202 |
+
"grad_norm": 60.21550750732422,
|
203 |
+
"learning_rate": 1.8908444444444446e-05,
|
204 |
+
"loss": 5.2104,
|
205 |
+
"step": 2800
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.15466666666666667,
|
209 |
+
"grad_norm": 49.59823989868164,
|
210 |
+
"learning_rate": 1.8789925925925928e-05,
|
211 |
+
"loss": 5.2176,
|
212 |
+
"step": 2900
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.16,
|
216 |
+
"grad_norm": 79.62650299072266,
|
217 |
+
"learning_rate": 1.867140740740741e-05,
|
218 |
+
"loss": 4.9406,
|
219 |
+
"step": 3000
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.16533333333333333,
|
223 |
+
"grad_norm": 124.49871063232422,
|
224 |
+
"learning_rate": 1.855288888888889e-05,
|
225 |
+
"loss": 4.8781,
|
226 |
+
"step": 3100
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.17066666666666666,
|
230 |
+
"grad_norm": 52.037776947021484,
|
231 |
+
"learning_rate": 1.8435555555555558e-05,
|
232 |
+
"loss": 5.08,
|
233 |
+
"step": 3200
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.176,
|
237 |
+
"grad_norm": 69.88233184814453,
|
238 |
+
"learning_rate": 1.8317037037037036e-05,
|
239 |
+
"loss": 5.1495,
|
240 |
+
"step": 3300
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 0.18133333333333335,
|
244 |
+
"grad_norm": 71.26051330566406,
|
245 |
+
"learning_rate": 1.819851851851852e-05,
|
246 |
+
"loss": 4.8717,
|
247 |
+
"step": 3400
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 0.18666666666666668,
|
251 |
+
"grad_norm": 41.996055603027344,
|
252 |
+
"learning_rate": 1.8080000000000003e-05,
|
253 |
+
"loss": 4.8196,
|
254 |
+
"step": 3500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.192,
|
258 |
+
"grad_norm": 39.33742141723633,
|
259 |
+
"learning_rate": 1.796148148148148e-05,
|
260 |
+
"loss": 4.8065,
|
261 |
+
"step": 3600
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 0.19733333333333333,
|
265 |
+
"grad_norm": 63.21049118041992,
|
266 |
+
"learning_rate": 1.7842962962962963e-05,
|
267 |
+
"loss": 4.718,
|
268 |
+
"step": 3700
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 0.20266666666666666,
|
272 |
+
"grad_norm": 54.66056823730469,
|
273 |
+
"learning_rate": 1.7724444444444445e-05,
|
274 |
+
"loss": 4.7111,
|
275 |
+
"step": 3800
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 0.208,
|
279 |
+
"grad_norm": 55.63251495361328,
|
280 |
+
"learning_rate": 1.7607111111111112e-05,
|
281 |
+
"loss": 4.6759,
|
282 |
+
"step": 3900
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 0.21333333333333335,
|
286 |
+
"grad_norm": 78.46200561523438,
|
287 |
+
"learning_rate": 1.7488592592592594e-05,
|
288 |
+
"loss": 4.7733,
|
289 |
+
"step": 4000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 0.21866666666666668,
|
293 |
+
"grad_norm": 67.47509765625,
|
294 |
+
"learning_rate": 1.7370074074074075e-05,
|
295 |
+
"loss": 4.7041,
|
296 |
+
"step": 4100
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 0.224,
|
300 |
+
"grad_norm": 69.53897094726562,
|
301 |
+
"learning_rate": 1.7251555555555557e-05,
|
302 |
+
"loss": 4.7898,
|
303 |
+
"step": 4200
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 0.22933333333333333,
|
307 |
+
"grad_norm": 103.5851821899414,
|
308 |
+
"learning_rate": 1.713303703703704e-05,
|
309 |
+
"loss": 4.8974,
|
310 |
+
"step": 4300
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 0.23466666666666666,
|
314 |
+
"grad_norm": 214.16416931152344,
|
315 |
+
"learning_rate": 1.701451851851852e-05,
|
316 |
+
"loss": 4.4939,
|
317 |
+
"step": 4400
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 0.24,
|
321 |
+
"grad_norm": 53.11494445800781,
|
322 |
+
"learning_rate": 1.6896000000000002e-05,
|
323 |
+
"loss": 4.4107,
|
324 |
+
"step": 4500
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 0.24533333333333332,
|
328 |
+
"grad_norm": 69.9258041381836,
|
329 |
+
"learning_rate": 1.6777481481481484e-05,
|
330 |
+
"loss": 4.4831,
|
331 |
+
"step": 4600
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 0.25066666666666665,
|
335 |
+
"grad_norm": 98.29943084716797,
|
336 |
+
"learning_rate": 1.6658962962962962e-05,
|
337 |
+
"loss": 4.4571,
|
338 |
+
"step": 4700
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 0.256,
|
342 |
+
"grad_norm": 141.04574584960938,
|
343 |
+
"learning_rate": 1.6540444444444444e-05,
|
344 |
+
"loss": 4.1461,
|
345 |
+
"step": 4800
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 0.2613333333333333,
|
349 |
+
"grad_norm": 81.44438171386719,
|
350 |
+
"learning_rate": 1.642192592592593e-05,
|
351 |
+
"loss": 4.5198,
|
352 |
+
"step": 4900
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 0.26666666666666666,
|
356 |
+
"grad_norm": 64.71192169189453,
|
357 |
+
"learning_rate": 1.6303407407407408e-05,
|
358 |
+
"loss": 4.4998,
|
359 |
+
"step": 5000
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 0.272,
|
363 |
+
"grad_norm": 56.899715423583984,
|
364 |
+
"learning_rate": 1.618488888888889e-05,
|
365 |
+
"loss": 4.2135,
|
366 |
+
"step": 5100
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 0.2773333333333333,
|
370 |
+
"grad_norm": 62.43917465209961,
|
371 |
+
"learning_rate": 1.606637037037037e-05,
|
372 |
+
"loss": 4.441,
|
373 |
+
"step": 5200
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 0.2826666666666667,
|
377 |
+
"grad_norm": 66.38310241699219,
|
378 |
+
"learning_rate": 1.5947851851851853e-05,
|
379 |
+
"loss": 4.2669,
|
380 |
+
"step": 5300
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 0.288,
|
384 |
+
"grad_norm": 269.8346252441406,
|
385 |
+
"learning_rate": 1.5829333333333334e-05,
|
386 |
+
"loss": 4.0964,
|
387 |
+
"step": 5400
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"epoch": 0.29333333333333333,
|
391 |
+
"grad_norm": 65.3775405883789,
|
392 |
+
"learning_rate": 1.5710814814814816e-05,
|
393 |
+
"loss": 4.2048,
|
394 |
+
"step": 5500
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 0.2986666666666667,
|
398 |
+
"grad_norm": 72.42823791503906,
|
399 |
+
"learning_rate": 1.5592296296296298e-05,
|
400 |
+
"loss": 4.2123,
|
401 |
+
"step": 5600
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 0.304,
|
405 |
+
"grad_norm": 110.38677215576172,
|
406 |
+
"learning_rate": 1.547377777777778e-05,
|
407 |
+
"loss": 4.3391,
|
408 |
+
"step": 5700
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 0.30933333333333335,
|
412 |
+
"grad_norm": 74.9642105102539,
|
413 |
+
"learning_rate": 1.535525925925926e-05,
|
414 |
+
"loss": 4.3366,
|
415 |
+
"step": 5800
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 0.31466666666666665,
|
419 |
+
"grad_norm": 157.83856201171875,
|
420 |
+
"learning_rate": 1.5236740740740743e-05,
|
421 |
+
"loss": 4.1775,
|
422 |
+
"step": 5900
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"epoch": 0.32,
|
426 |
+
"grad_norm": 86.05279541015625,
|
427 |
+
"learning_rate": 1.5118222222222223e-05,
|
428 |
+
"loss": 3.9954,
|
429 |
+
"step": 6000
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"epoch": 0.3253333333333333,
|
433 |
+
"grad_norm": 191.12464904785156,
|
434 |
+
"learning_rate": 1.4999703703703705e-05,
|
435 |
+
"loss": 4.141,
|
436 |
+
"step": 6100
|
437 |
+
},
|
438 |
+
{
|
439 |
+
"epoch": 0.33066666666666666,
|
440 |
+
"grad_norm": 77.75936889648438,
|
441 |
+
"learning_rate": 1.4881185185185187e-05,
|
442 |
+
"loss": 4.09,
|
443 |
+
"step": 6200
|
444 |
+
},
|
445 |
+
{
|
446 |
+
"epoch": 0.336,
|
447 |
+
"grad_norm": 78.64347839355469,
|
448 |
+
"learning_rate": 1.4762666666666667e-05,
|
449 |
+
"loss": 3.9517,
|
450 |
+
"step": 6300
|
451 |
+
},
|
452 |
+
{
|
453 |
+
"epoch": 0.3413333333333333,
|
454 |
+
"grad_norm": 90.5103988647461,
|
455 |
+
"learning_rate": 1.4645333333333334e-05,
|
456 |
+
"loss": 3.9844,
|
457 |
+
"step": 6400
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"epoch": 0.3466666666666667,
|
461 |
+
"grad_norm": 79.83901977539062,
|
462 |
+
"learning_rate": 1.4526814814814815e-05,
|
463 |
+
"loss": 3.8902,
|
464 |
+
"step": 6500
|
465 |
+
},
|
466 |
+
{
|
467 |
+
"epoch": 0.352,
|
468 |
+
"grad_norm": 87.23860931396484,
|
469 |
+
"learning_rate": 1.4408296296296299e-05,
|
470 |
+
"loss": 3.571,
|
471 |
+
"step": 6600
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"epoch": 0.35733333333333334,
|
475 |
+
"grad_norm": 64.76517486572266,
|
476 |
+
"learning_rate": 1.4289777777777777e-05,
|
477 |
+
"loss": 3.7686,
|
478 |
+
"step": 6700
|
479 |
+
},
|
480 |
+
{
|
481 |
+
"epoch": 0.3626666666666667,
|
482 |
+
"grad_norm": 86.63563537597656,
|
483 |
+
"learning_rate": 1.417125925925926e-05,
|
484 |
+
"loss": 3.7766,
|
485 |
+
"step": 6800
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"epoch": 0.368,
|
489 |
+
"grad_norm": 147.21160888671875,
|
490 |
+
"learning_rate": 1.4052740740740742e-05,
|
491 |
+
"loss": 4.0305,
|
492 |
+
"step": 6900
|
493 |
+
},
|
494 |
+
{
|
495 |
+
"epoch": 0.37333333333333335,
|
496 |
+
"grad_norm": 86.2465591430664,
|
497 |
+
"learning_rate": 1.3934222222222222e-05,
|
498 |
+
"loss": 4.2835,
|
499 |
+
"step": 7000
|
500 |
+
},
|
501 |
+
{
|
502 |
+
"epoch": 0.37866666666666665,
|
503 |
+
"grad_norm": 112.91142272949219,
|
504 |
+
"learning_rate": 1.3815703703703704e-05,
|
505 |
+
"loss": 3.8102,
|
506 |
+
"step": 7100
|
507 |
+
},
|
508 |
+
{
|
509 |
+
"epoch": 0.384,
|
510 |
+
"grad_norm": 193.4211883544922,
|
511 |
+
"learning_rate": 1.3698370370370371e-05,
|
512 |
+
"loss": 3.5178,
|
513 |
+
"step": 7200
|
514 |
+
},
|
515 |
+
{
|
516 |
+
"epoch": 0.3893333333333333,
|
517 |
+
"grad_norm": 87.25949096679688,
|
518 |
+
"learning_rate": 1.3579851851851853e-05,
|
519 |
+
"loss": 3.8828,
|
520 |
+
"step": 7300
|
521 |
+
},
|
522 |
+
{
|
523 |
+
"epoch": 0.39466666666666667,
|
524 |
+
"grad_norm": 95.35265350341797,
|
525 |
+
"learning_rate": 1.3461333333333334e-05,
|
526 |
+
"loss": 3.9125,
|
527 |
+
"step": 7400
|
528 |
+
},
|
529 |
+
{
|
530 |
+
"epoch": 0.4,
|
531 |
+
"grad_norm": 92.84791564941406,
|
532 |
+
"learning_rate": 1.3342814814814814e-05,
|
533 |
+
"loss": 3.8578,
|
534 |
+
"step": 7500
|
535 |
+
}
|
536 |
+
],
|
537 |
+
"logging_steps": 100,
|
538 |
+
"max_steps": 18750,
|
539 |
+
"num_input_tokens_seen": 0,
|
540 |
+
"num_train_epochs": 1,
|
541 |
+
"save_steps": 500,
|
542 |
+
"stateful_callbacks": {
|
543 |
+
"TrainerControl": {
|
544 |
+
"args": {
|
545 |
+
"should_epoch_stop": false,
|
546 |
+
"should_evaluate": false,
|
547 |
+
"should_log": false,
|
548 |
+
"should_save": true,
|
549 |
+
"should_training_stop": false
|
550 |
+
},
|
551 |
+
"attributes": {}
|
552 |
+
}
|
553 |
+
},
|
554 |
+
"total_flos": 0.0,
|
555 |
+
"train_batch_size": 128,
|
556 |
+
"trial_name": null,
|
557 |
+
"trial_params": null
|
558 |
+
}
|
checkpoint-7500/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:559c2e10ae7e3eb92c5fe0ec0855e1823bed2527232b2a6421c1e7e5dcf4dd39
|
3 |
+
size 5496
|
checkpoint-7500/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|