Model save
Browse files- README.md +71 -0
- adapter_config.json +25 -0
- adapter_model.safetensors +3 -0
- all_results.json +21 -0
- eval_results.json +16 -0
- runs/Dec05_17-22-49_ip-172-16-178-34.ec2.internal/events.out.tfevents.1701797264.ip-172-16-178-34.ec2.internal.11747.0 +3 -0
- runs/Dec05_17-22-49_ip-172-16-178-34.ec2.internal/events.out.tfevents.1701842409.ip-172-16-178-34.ec2.internal.11747.1 +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +41 -0
- train_results.json +8 -0
- trainer_state.json +482 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: mistralai/Mistral-7B-v0.1
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: zephyr-7b-dpo-lora-1
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# zephyr-7b-dpo-lora-1
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.6542
|
19 |
+
- Rewards/chosen: 0.0641
|
20 |
+
- Rewards/rejected: -0.0250
|
21 |
+
- Rewards/accuracies: 0.6765
|
22 |
+
- Rewards/margins: 0.0891
|
23 |
+
- Logps/rejected: -222.6298
|
24 |
+
- Logps/chosen: -264.3456
|
25 |
+
- Logits/rejected: -2.1600
|
26 |
+
- Logits/chosen: -2.2261
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 5e-07
|
46 |
+
- train_batch_size: 2
|
47 |
+
- eval_batch_size: 4
|
48 |
+
- seed: 42
|
49 |
+
- distributed_type: multi-GPU
|
50 |
+
- gradient_accumulation_steps: 32
|
51 |
+
- total_train_batch_size: 64
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- lr_scheduler_warmup_ratio: 0.1
|
55 |
+
- num_epochs: 3
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
60 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
61 |
+
| 0.6768 | 0.99 | 96 | 0.6764 | 0.0306 | -0.0056 | 0.6380 | 0.0363 | -222.4367 | -264.6802 | -2.1612 | -2.2277 |
|
62 |
+
| 0.6591 | 1.99 | 193 | 0.6596 | 0.0553 | -0.0203 | 0.6775 | 0.0756 | -222.5832 | -264.4333 | -2.1606 | -2.2268 |
|
63 |
+
| 0.6511 | 2.97 | 288 | 0.6542 | 0.0641 | -0.0250 | 0.6765 | 0.0891 | -222.6298 | -264.3456 | -2.1600 | -2.2261 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.35.0
|
69 |
+
- Pytorch 2.1.0+cu121
|
70 |
+
- Datasets 2.14.6
|
71 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 16,
|
12 |
+
"lora_dropout": 0.1,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 64,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"q_proj",
|
20 |
+
"k_proj",
|
21 |
+
"v_proj",
|
22 |
+
"o_proj"
|
23 |
+
],
|
24 |
+
"task_type": "CAUSAL_LM"
|
25 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7bc1f3dc7123700e878fb74d0ce96eb551b9c1682005c82f3eb4473b743383cd
|
3 |
+
size 218138576
|
all_results.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.97,
|
3 |
+
"eval_logits/chosen": -2.226133108139038,
|
4 |
+
"eval_logits/rejected": -2.1600077152252197,
|
5 |
+
"eval_logps/chosen": -264.3455505371094,
|
6 |
+
"eval_logps/rejected": -222.62977600097656,
|
7 |
+
"eval_loss": 0.6542457342147827,
|
8 |
+
"eval_rewards/accuracies": 0.6765000224113464,
|
9 |
+
"eval_rewards/chosen": 0.06409955769777298,
|
10 |
+
"eval_rewards/margins": 0.08906211704015732,
|
11 |
+
"eval_rewards/rejected": -0.024962568655610085,
|
12 |
+
"eval_runtime": 2320.838,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 0.862,
|
15 |
+
"eval_steps_per_second": 0.215,
|
16 |
+
"train_loss": 0.6692726473427482,
|
17 |
+
"train_runtime": 42824.2925,
|
18 |
+
"train_samples": 6196,
|
19 |
+
"train_samples_per_second": 0.434,
|
20 |
+
"train_steps_per_second": 0.007
|
21 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.97,
|
3 |
+
"eval_logits/chosen": -2.226133108139038,
|
4 |
+
"eval_logits/rejected": -2.1600077152252197,
|
5 |
+
"eval_logps/chosen": -264.3455505371094,
|
6 |
+
"eval_logps/rejected": -222.62977600097656,
|
7 |
+
"eval_loss": 0.6542457342147827,
|
8 |
+
"eval_rewards/accuracies": 0.6765000224113464,
|
9 |
+
"eval_rewards/chosen": 0.06409955769777298,
|
10 |
+
"eval_rewards/margins": 0.08906211704015732,
|
11 |
+
"eval_rewards/rejected": -0.024962568655610085,
|
12 |
+
"eval_runtime": 2320.838,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 0.862,
|
15 |
+
"eval_steps_per_second": 0.215
|
16 |
+
}
|
runs/Dec05_17-22-49_ip-172-16-178-34.ec2.internal/events.out.tfevents.1701797264.ip-172-16-178-34.ec2.internal.11747.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0352a3e2a5aeb2fbbfcee16b644fad02af6ed56bace29171f8c0f38f1b3f82f5
|
3 |
+
size 25164
|
runs/Dec05_17-22-49_ip-172-16-178-34.ec2.internal/events.out.tfevents.1701842409.ip-172-16-178-34.ec2.internal.11747.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f68a8d05292f2c11b53cbd2e4ff4e2be4410cba3b5cf106fecb7a42f372702ce
|
3 |
+
size 828
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"additional_special_tokens": [],
|
29 |
+
"bos_token": "<s>",
|
30 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": true,
|
34 |
+
"model_max_length": 2048,
|
35 |
+
"pad_token": "</s>",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"spaces_between_special_tokens": false,
|
38 |
+
"tokenizer_class": "LlamaTokenizer",
|
39 |
+
"unk_token": "<unk>",
|
40 |
+
"use_default_system_prompt": true
|
41 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.97,
|
3 |
+
"train_loss": 0.6692726473427482,
|
4 |
+
"train_runtime": 42824.2925,
|
5 |
+
"train_samples": 6196,
|
6 |
+
"train_samples_per_second": 0.434,
|
7 |
+
"train_steps_per_second": 0.007
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,482 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.974822466107166,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 288,
|
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.01,
|
13 |
+
"learning_rate": 1.7241379310344825e-08,
|
14 |
+
"logits/chosen": -2.5584306716918945,
|
15 |
+
"logits/rejected": -2.4569621086120605,
|
16 |
+
"logps/chosen": -206.14129638671875,
|
17 |
+
"logps/rejected": -183.71591186523438,
|
18 |
+
"loss": 0.6931,
|
19 |
+
"rewards/accuracies": 0.0,
|
20 |
+
"rewards/chosen": 0.0,
|
21 |
+
"rewards/margins": 0.0,
|
22 |
+
"rewards/rejected": 0.0,
|
23 |
+
"step": 1
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.1,
|
27 |
+
"learning_rate": 1.7241379310344828e-07,
|
28 |
+
"logits/chosen": -2.489280939102173,
|
29 |
+
"logits/rejected": -2.4284753799438477,
|
30 |
+
"logps/chosen": -280.86859130859375,
|
31 |
+
"logps/rejected": -227.53990173339844,
|
32 |
+
"loss": 0.6915,
|
33 |
+
"rewards/accuracies": 0.4791666567325592,
|
34 |
+
"rewards/chosen": 0.0040930104441940784,
|
35 |
+
"rewards/margins": 0.0039877030067145824,
|
36 |
+
"rewards/rejected": 0.000105307022749912,
|
37 |
+
"step": 10
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.21,
|
41 |
+
"learning_rate": 3.4482758620689656e-07,
|
42 |
+
"logits/chosen": -2.539264440536499,
|
43 |
+
"logits/rejected": -2.4608712196350098,
|
44 |
+
"logps/chosen": -269.39410400390625,
|
45 |
+
"logps/rejected": -224.4403533935547,
|
46 |
+
"loss": 0.6938,
|
47 |
+
"rewards/accuracies": 0.47343748807907104,
|
48 |
+
"rewards/chosen": -0.0009769044118002057,
|
49 |
+
"rewards/margins": -0.000444817531388253,
|
50 |
+
"rewards/rejected": -0.0005320868222042918,
|
51 |
+
"step": 20
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.31,
|
55 |
+
"learning_rate": 4.98069498069498e-07,
|
56 |
+
"logits/chosen": -2.5617613792419434,
|
57 |
+
"logits/rejected": -2.4910457134246826,
|
58 |
+
"logps/chosen": -276.52783203125,
|
59 |
+
"logps/rejected": -244.70361328125,
|
60 |
+
"loss": 0.6899,
|
61 |
+
"rewards/accuracies": 0.5453125238418579,
|
62 |
+
"rewards/chosen": 0.003957667388021946,
|
63 |
+
"rewards/margins": 0.0072895376943051815,
|
64 |
+
"rewards/rejected": -0.003331870539113879,
|
65 |
+
"step": 30
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.41,
|
69 |
+
"learning_rate": 4.787644787644788e-07,
|
70 |
+
"logits/chosen": -2.5235114097595215,
|
71 |
+
"logits/rejected": -2.470004081726074,
|
72 |
+
"logps/chosen": -273.86065673828125,
|
73 |
+
"logps/rejected": -238.51052856445312,
|
74 |
+
"loss": 0.6927,
|
75 |
+
"rewards/accuracies": 0.5062500238418579,
|
76 |
+
"rewards/chosen": 0.0006143165519461036,
|
77 |
+
"rewards/margins": 0.0018405301962047815,
|
78 |
+
"rewards/rejected": -0.0012262131785973907,
|
79 |
+
"step": 40
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.52,
|
83 |
+
"learning_rate": 4.594594594594595e-07,
|
84 |
+
"logits/chosen": -2.520514965057373,
|
85 |
+
"logits/rejected": -2.4670748710632324,
|
86 |
+
"logps/chosen": -264.4063415527344,
|
87 |
+
"logps/rejected": -223.18936157226562,
|
88 |
+
"loss": 0.6866,
|
89 |
+
"rewards/accuracies": 0.596875011920929,
|
90 |
+
"rewards/chosen": 0.011737896129488945,
|
91 |
+
"rewards/margins": 0.014031621627509594,
|
92 |
+
"rewards/rejected": -0.00229372619651258,
|
93 |
+
"step": 50
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.62,
|
97 |
+
"learning_rate": 4.4015444015444015e-07,
|
98 |
+
"logits/chosen": -2.5391576290130615,
|
99 |
+
"logits/rejected": -2.5070621967315674,
|
100 |
+
"logps/chosen": -264.4425354003906,
|
101 |
+
"logps/rejected": -213.7183837890625,
|
102 |
+
"loss": 0.6864,
|
103 |
+
"rewards/accuracies": 0.5953124761581421,
|
104 |
+
"rewards/chosen": 0.014557396993041039,
|
105 |
+
"rewards/margins": 0.014714914374053478,
|
106 |
+
"rewards/rejected": -0.0001575160276843235,
|
107 |
+
"step": 60
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.72,
|
111 |
+
"learning_rate": 4.208494208494208e-07,
|
112 |
+
"logits/chosen": -2.4986374378204346,
|
113 |
+
"logits/rejected": -2.46673583984375,
|
114 |
+
"logps/chosen": -268.71917724609375,
|
115 |
+
"logps/rejected": -217.59912109375,
|
116 |
+
"loss": 0.6838,
|
117 |
+
"rewards/accuracies": 0.6109374761581421,
|
118 |
+
"rewards/chosen": 0.01515167485922575,
|
119 |
+
"rewards/margins": 0.020194347947835922,
|
120 |
+
"rewards/rejected": -0.005042673088610172,
|
121 |
+
"step": 70
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.83,
|
125 |
+
"learning_rate": 4.015444015444015e-07,
|
126 |
+
"logits/chosen": -2.522416591644287,
|
127 |
+
"logits/rejected": -2.472027540206909,
|
128 |
+
"logps/chosen": -251.3960723876953,
|
129 |
+
"logps/rejected": -211.45138549804688,
|
130 |
+
"loss": 0.6815,
|
131 |
+
"rewards/accuracies": 0.6156250238418579,
|
132 |
+
"rewards/chosen": 0.02532876469194889,
|
133 |
+
"rewards/margins": 0.02509908750653267,
|
134 |
+
"rewards/rejected": 0.000229675744776614,
|
135 |
+
"step": 80
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.93,
|
139 |
+
"learning_rate": 3.8223938223938225e-07,
|
140 |
+
"logits/chosen": -2.4934628009796143,
|
141 |
+
"logits/rejected": -2.4291629791259766,
|
142 |
+
"logps/chosen": -255.72384643554688,
|
143 |
+
"logps/rejected": -220.0627899169922,
|
144 |
+
"loss": 0.6768,
|
145 |
+
"rewards/accuracies": 0.6578124761581421,
|
146 |
+
"rewards/chosen": 0.0247894749045372,
|
147 |
+
"rewards/margins": 0.03499498590826988,
|
148 |
+
"rewards/rejected": -0.010205509141087532,
|
149 |
+
"step": 90
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.99,
|
153 |
+
"eval_logits/chosen": -2.227679491043091,
|
154 |
+
"eval_logits/rejected": -2.1611783504486084,
|
155 |
+
"eval_logps/chosen": -264.68023681640625,
|
156 |
+
"eval_logps/rejected": -222.43667602539062,
|
157 |
+
"eval_loss": 0.6764230728149414,
|
158 |
+
"eval_rewards/accuracies": 0.6380000114440918,
|
159 |
+
"eval_rewards/chosen": 0.03063117153942585,
|
160 |
+
"eval_rewards/margins": 0.036278609186410904,
|
161 |
+
"eval_rewards/rejected": -0.005647439509630203,
|
162 |
+
"eval_runtime": 2325.01,
|
163 |
+
"eval_samples_per_second": 0.86,
|
164 |
+
"eval_steps_per_second": 0.215,
|
165 |
+
"step": 96
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 1.03,
|
169 |
+
"learning_rate": 3.629343629343629e-07,
|
170 |
+
"logits/chosen": -2.5082602500915527,
|
171 |
+
"logits/rejected": -2.435072422027588,
|
172 |
+
"logps/chosen": -275.8153991699219,
|
173 |
+
"logps/rejected": -227.73828125,
|
174 |
+
"loss": 0.6755,
|
175 |
+
"rewards/accuracies": 0.6468750238418579,
|
176 |
+
"rewards/chosen": 0.02948899194598198,
|
177 |
+
"rewards/margins": 0.03778881952166557,
|
178 |
+
"rewards/rejected": -0.008299829438328743,
|
179 |
+
"step": 100
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"epoch": 1.14,
|
183 |
+
"learning_rate": 3.436293436293436e-07,
|
184 |
+
"logits/chosen": -2.5289313793182373,
|
185 |
+
"logits/rejected": -2.4763355255126953,
|
186 |
+
"logps/chosen": -274.30853271484375,
|
187 |
+
"logps/rejected": -218.49853515625,
|
188 |
+
"loss": 0.6704,
|
189 |
+
"rewards/accuracies": 0.6796875,
|
190 |
+
"rewards/chosen": 0.03949684649705887,
|
191 |
+
"rewards/margins": 0.04895726591348648,
|
192 |
+
"rewards/rejected": -0.009460421279072762,
|
193 |
+
"step": 110
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"epoch": 1.24,
|
197 |
+
"learning_rate": 3.243243243243243e-07,
|
198 |
+
"logits/chosen": -2.5224318504333496,
|
199 |
+
"logits/rejected": -2.447321653366089,
|
200 |
+
"logps/chosen": -271.16827392578125,
|
201 |
+
"logps/rejected": -229.1170654296875,
|
202 |
+
"loss": 0.6706,
|
203 |
+
"rewards/accuracies": 0.6625000238418579,
|
204 |
+
"rewards/chosen": 0.03896590322256088,
|
205 |
+
"rewards/margins": 0.048555582761764526,
|
206 |
+
"rewards/rejected": -0.009589677676558495,
|
207 |
+
"step": 120
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 1.34,
|
211 |
+
"learning_rate": 3.0501930501930503e-07,
|
212 |
+
"logits/chosen": -2.5046470165252686,
|
213 |
+
"logits/rejected": -2.4693236351013184,
|
214 |
+
"logps/chosen": -255.78515625,
|
215 |
+
"logps/rejected": -213.4404754638672,
|
216 |
+
"loss": 0.667,
|
217 |
+
"rewards/accuracies": 0.684374988079071,
|
218 |
+
"rewards/chosen": 0.04456660896539688,
|
219 |
+
"rewards/margins": 0.056311529129743576,
|
220 |
+
"rewards/rejected": -0.011744923889636993,
|
221 |
+
"step": 130
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 1.45,
|
225 |
+
"learning_rate": 2.857142857142857e-07,
|
226 |
+
"logits/chosen": -2.5624308586120605,
|
227 |
+
"logits/rejected": -2.487908363342285,
|
228 |
+
"logps/chosen": -272.53729248046875,
|
229 |
+
"logps/rejected": -217.79345703125,
|
230 |
+
"loss": 0.6681,
|
231 |
+
"rewards/accuracies": 0.667187511920929,
|
232 |
+
"rewards/chosen": 0.04305075854063034,
|
233 |
+
"rewards/margins": 0.05537617206573486,
|
234 |
+
"rewards/rejected": -0.012325407937169075,
|
235 |
+
"step": 140
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"epoch": 1.55,
|
239 |
+
"learning_rate": 2.664092664092664e-07,
|
240 |
+
"logits/chosen": -2.5151801109313965,
|
241 |
+
"logits/rejected": -2.459423065185547,
|
242 |
+
"logps/chosen": -268.97735595703125,
|
243 |
+
"logps/rejected": -231.13119506835938,
|
244 |
+
"loss": 0.663,
|
245 |
+
"rewards/accuracies": 0.6890624761581421,
|
246 |
+
"rewards/chosen": 0.051591645926237106,
|
247 |
+
"rewards/margins": 0.06633338332176208,
|
248 |
+
"rewards/rejected": -0.01474173553287983,
|
249 |
+
"step": 150
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 1.65,
|
253 |
+
"learning_rate": 2.471042471042471e-07,
|
254 |
+
"logits/chosen": -2.5403904914855957,
|
255 |
+
"logits/rejected": -2.4852936267852783,
|
256 |
+
"logps/chosen": -255.5146484375,
|
257 |
+
"logps/rejected": -223.44631958007812,
|
258 |
+
"loss": 0.6668,
|
259 |
+
"rewards/accuracies": 0.65625,
|
260 |
+
"rewards/chosen": 0.047541543841362,
|
261 |
+
"rewards/margins": 0.058655254542827606,
|
262 |
+
"rewards/rejected": -0.01111371349543333,
|
263 |
+
"step": 160
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"epoch": 1.76,
|
267 |
+
"learning_rate": 2.2779922779922777e-07,
|
268 |
+
"logits/chosen": -2.511491298675537,
|
269 |
+
"logits/rejected": -2.454376220703125,
|
270 |
+
"logps/chosen": -260.7484436035156,
|
271 |
+
"logps/rejected": -226.0450439453125,
|
272 |
+
"loss": 0.6666,
|
273 |
+
"rewards/accuracies": 0.645312488079071,
|
274 |
+
"rewards/chosen": 0.04495326429605484,
|
275 |
+
"rewards/margins": 0.06048337370157242,
|
276 |
+
"rewards/rejected": -0.015530114993453026,
|
277 |
+
"step": 170
|
278 |
+
},
|
279 |
+
{
|
280 |
+
"epoch": 1.86,
|
281 |
+
"learning_rate": 2.084942084942085e-07,
|
282 |
+
"logits/chosen": -2.5392658710479736,
|
283 |
+
"logits/rejected": -2.471736431121826,
|
284 |
+
"logps/chosen": -273.15655517578125,
|
285 |
+
"logps/rejected": -242.5560760498047,
|
286 |
+
"loss": 0.664,
|
287 |
+
"rewards/accuracies": 0.6578124761581421,
|
288 |
+
"rewards/chosen": 0.05149110406637192,
|
289 |
+
"rewards/margins": 0.06509838253259659,
|
290 |
+
"rewards/rejected": -0.01360728032886982,
|
291 |
+
"step": 180
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 1.96,
|
295 |
+
"learning_rate": 1.891891891891892e-07,
|
296 |
+
"logits/chosen": -2.512092113494873,
|
297 |
+
"logits/rejected": -2.460084915161133,
|
298 |
+
"logps/chosen": -270.2705993652344,
|
299 |
+
"logps/rejected": -220.6813507080078,
|
300 |
+
"loss": 0.6591,
|
301 |
+
"rewards/accuracies": 0.690625011920929,
|
302 |
+
"rewards/chosen": 0.05787338688969612,
|
303 |
+
"rewards/margins": 0.07586757838726044,
|
304 |
+
"rewards/rejected": -0.017994191497564316,
|
305 |
+
"step": 190
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"epoch": 1.99,
|
309 |
+
"eval_logits/chosen": -2.226806879043579,
|
310 |
+
"eval_logits/rejected": -2.160585641860962,
|
311 |
+
"eval_logps/chosen": -264.43328857421875,
|
312 |
+
"eval_logps/rejected": -222.5832061767578,
|
313 |
+
"eval_loss": 0.6596261858940125,
|
314 |
+
"eval_rewards/accuracies": 0.6775000095367432,
|
315 |
+
"eval_rewards/chosen": 0.0553288571536541,
|
316 |
+
"eval_rewards/margins": 0.07563061267137527,
|
317 |
+
"eval_rewards/rejected": -0.020301757380366325,
|
318 |
+
"eval_runtime": 2319.8213,
|
319 |
+
"eval_samples_per_second": 0.862,
|
320 |
+
"eval_steps_per_second": 0.216,
|
321 |
+
"step": 193
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"epoch": 2.07,
|
325 |
+
"learning_rate": 1.6988416988416988e-07,
|
326 |
+
"logits/chosen": -2.5378737449645996,
|
327 |
+
"logits/rejected": -2.4820332527160645,
|
328 |
+
"logps/chosen": -282.517822265625,
|
329 |
+
"logps/rejected": -232.89395141601562,
|
330 |
+
"loss": 0.6578,
|
331 |
+
"rewards/accuracies": 0.6812499761581421,
|
332 |
+
"rewards/chosen": 0.05665069818496704,
|
333 |
+
"rewards/margins": 0.07951916754245758,
|
334 |
+
"rewards/rejected": -0.022868463769555092,
|
335 |
+
"step": 200
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"epoch": 2.17,
|
339 |
+
"learning_rate": 1.5057915057915057e-07,
|
340 |
+
"logits/chosen": -2.5581231117248535,
|
341 |
+
"logits/rejected": -2.4872212409973145,
|
342 |
+
"logps/chosen": -266.2125244140625,
|
343 |
+
"logps/rejected": -215.0002899169922,
|
344 |
+
"loss": 0.6547,
|
345 |
+
"rewards/accuracies": 0.6937500238418579,
|
346 |
+
"rewards/chosen": 0.059196583926677704,
|
347 |
+
"rewards/margins": 0.08533494174480438,
|
348 |
+
"rewards/rejected": -0.026138361543416977,
|
349 |
+
"step": 210
|
350 |
+
},
|
351 |
+
{
|
352 |
+
"epoch": 2.27,
|
353 |
+
"learning_rate": 1.3127413127413127e-07,
|
354 |
+
"logits/chosen": -2.505333185195923,
|
355 |
+
"logits/rejected": -2.419924020767212,
|
356 |
+
"logps/chosen": -257.5528259277344,
|
357 |
+
"logps/rejected": -226.89492797851562,
|
358 |
+
"loss": 0.655,
|
359 |
+
"rewards/accuracies": 0.706250011920929,
|
360 |
+
"rewards/chosen": 0.053452588617801666,
|
361 |
+
"rewards/margins": 0.08509759604930878,
|
362 |
+
"rewards/rejected": -0.03164501488208771,
|
363 |
+
"step": 220
|
364 |
+
},
|
365 |
+
{
|
366 |
+
"epoch": 2.38,
|
367 |
+
"learning_rate": 1.1196911196911196e-07,
|
368 |
+
"logits/chosen": -2.5441360473632812,
|
369 |
+
"logits/rejected": -2.4835963249206543,
|
370 |
+
"logps/chosen": -270.8502502441406,
|
371 |
+
"logps/rejected": -222.893310546875,
|
372 |
+
"loss": 0.6558,
|
373 |
+
"rewards/accuracies": 0.684374988079071,
|
374 |
+
"rewards/chosen": 0.06665085256099701,
|
375 |
+
"rewards/margins": 0.08379445225000381,
|
376 |
+
"rewards/rejected": -0.017143595963716507,
|
377 |
+
"step": 230
|
378 |
+
},
|
379 |
+
{
|
380 |
+
"epoch": 2.48,
|
381 |
+
"learning_rate": 9.266409266409266e-08,
|
382 |
+
"logits/chosen": -2.562384843826294,
|
383 |
+
"logits/rejected": -2.5112578868865967,
|
384 |
+
"logps/chosen": -266.3863220214844,
|
385 |
+
"logps/rejected": -231.86294555664062,
|
386 |
+
"loss": 0.6565,
|
387 |
+
"rewards/accuracies": 0.6953125,
|
388 |
+
"rewards/chosen": 0.0619996078312397,
|
389 |
+
"rewards/margins": 0.0826488584280014,
|
390 |
+
"rewards/rejected": -0.020649263635277748,
|
391 |
+
"step": 240
|
392 |
+
},
|
393 |
+
{
|
394 |
+
"epoch": 2.58,
|
395 |
+
"learning_rate": 7.335907335907336e-08,
|
396 |
+
"logits/chosen": -2.462939739227295,
|
397 |
+
"logits/rejected": -2.4160337448120117,
|
398 |
+
"logps/chosen": -248.96240234375,
|
399 |
+
"logps/rejected": -223.98739624023438,
|
400 |
+
"loss": 0.6648,
|
401 |
+
"rewards/accuracies": 0.640625,
|
402 |
+
"rewards/chosen": 0.05460253357887268,
|
403 |
+
"rewards/margins": 0.06585252285003662,
|
404 |
+
"rewards/rejected": -0.01124998927116394,
|
405 |
+
"step": 250
|
406 |
+
},
|
407 |
+
{
|
408 |
+
"epoch": 2.69,
|
409 |
+
"learning_rate": 5.4054054054054056e-08,
|
410 |
+
"logits/chosen": -2.508650541305542,
|
411 |
+
"logits/rejected": -2.4627132415771484,
|
412 |
+
"logps/chosen": -274.69873046875,
|
413 |
+
"logps/rejected": -226.0441131591797,
|
414 |
+
"loss": 0.6499,
|
415 |
+
"rewards/accuracies": 0.6875,
|
416 |
+
"rewards/chosen": 0.06910406053066254,
|
417 |
+
"rewards/margins": 0.09896949678659439,
|
418 |
+
"rewards/rejected": -0.02986542508006096,
|
419 |
+
"step": 260
|
420 |
+
},
|
421 |
+
{
|
422 |
+
"epoch": 2.79,
|
423 |
+
"learning_rate": 3.474903474903475e-08,
|
424 |
+
"logits/chosen": -2.5484378337860107,
|
425 |
+
"logits/rejected": -2.4623117446899414,
|
426 |
+
"logps/chosen": -273.59967041015625,
|
427 |
+
"logps/rejected": -225.9320831298828,
|
428 |
+
"loss": 0.6555,
|
429 |
+
"rewards/accuracies": 0.675000011920929,
|
430 |
+
"rewards/chosen": 0.061413638293743134,
|
431 |
+
"rewards/margins": 0.08604761958122253,
|
432 |
+
"rewards/rejected": -0.02463398687541485,
|
433 |
+
"step": 270
|
434 |
+
},
|
435 |
+
{
|
436 |
+
"epoch": 2.89,
|
437 |
+
"learning_rate": 1.5444015444015443e-08,
|
438 |
+
"logits/chosen": -2.484541416168213,
|
439 |
+
"logits/rejected": -2.43548321723938,
|
440 |
+
"logps/chosen": -265.0757141113281,
|
441 |
+
"logps/rejected": -211.746337890625,
|
442 |
+
"loss": 0.6511,
|
443 |
+
"rewards/accuracies": 0.6968749761581421,
|
444 |
+
"rewards/chosen": 0.07040460407733917,
|
445 |
+
"rewards/margins": 0.09466332197189331,
|
446 |
+
"rewards/rejected": -0.024258721619844437,
|
447 |
+
"step": 280
|
448 |
+
},
|
449 |
+
{
|
450 |
+
"epoch": 2.97,
|
451 |
+
"eval_logits/chosen": -2.226133108139038,
|
452 |
+
"eval_logits/rejected": -2.1600077152252197,
|
453 |
+
"eval_logps/chosen": -264.3455505371094,
|
454 |
+
"eval_logps/rejected": -222.62977600097656,
|
455 |
+
"eval_loss": 0.6542457342147827,
|
456 |
+
"eval_rewards/accuracies": 0.6765000224113464,
|
457 |
+
"eval_rewards/chosen": 0.06409955769777298,
|
458 |
+
"eval_rewards/margins": 0.08906211704015732,
|
459 |
+
"eval_rewards/rejected": -0.024962568655610085,
|
460 |
+
"eval_runtime": 2321.5859,
|
461 |
+
"eval_samples_per_second": 0.861,
|
462 |
+
"eval_steps_per_second": 0.215,
|
463 |
+
"step": 288
|
464 |
+
},
|
465 |
+
{
|
466 |
+
"epoch": 2.97,
|
467 |
+
"step": 288,
|
468 |
+
"total_flos": 0.0,
|
469 |
+
"train_loss": 0.6692726473427482,
|
470 |
+
"train_runtime": 42824.2925,
|
471 |
+
"train_samples_per_second": 0.434,
|
472 |
+
"train_steps_per_second": 0.007
|
473 |
+
}
|
474 |
+
],
|
475 |
+
"logging_steps": 10,
|
476 |
+
"max_steps": 288,
|
477 |
+
"num_train_epochs": 3,
|
478 |
+
"save_steps": 500,
|
479 |
+
"total_flos": 0.0,
|
480 |
+
"trial_name": null,
|
481 |
+
"trial_params": null
|
482 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3354b8d072bb11b4ce7c3f5899a66772ca4ac53e9cd5d50b46721cce1ee8137
|
3 |
+
size 4728
|