Model save
Browse files- README.md +75 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- all_results.json +8 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +43 -0
- train_results.json +8 -0
- trainer_state.json +326 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: alignment-handbook/zephyr-7b-sft-full
|
9 |
+
model-index:
|
10 |
+
- name: nash_dpo_merge_iter_4
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# nash_dpo_merge_iter_4
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.5503
|
22 |
+
- Rewards/chosen: -0.6370
|
23 |
+
- Rewards/rejected: -1.1963
|
24 |
+
- Rewards/accuracies: 0.7140
|
25 |
+
- Rewards/margins: 0.5593
|
26 |
+
- Logps/rejected: -391.2296
|
27 |
+
- Logps/chosen: -351.8179
|
28 |
+
- Logits/rejected: -0.0547
|
29 |
+
- Logits/chosen: -0.6312
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 5e-06
|
49 |
+
- train_batch_size: 2
|
50 |
+
- eval_batch_size: 2
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- num_devices: 4
|
54 |
+
- gradient_accumulation_steps: 16
|
55 |
+
- total_train_batch_size: 128
|
56 |
+
- total_eval_batch_size: 8
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: cosine
|
59 |
+
- lr_scheduler_warmup_ratio: 0.1
|
60 |
+
- num_epochs: 1
|
61 |
+
|
62 |
+
### Training results
|
63 |
+
|
64 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
65 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
66 |
+
| 0.5616 | 0.51 | 100 | 0.5503 | -0.6370 | -1.1963 | 0.7140 | 0.5593 | -391.2296 | -351.8179 | -0.0547 | -0.6312 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- PEFT 0.7.1
|
72 |
+
- Transformers 4.36.2
|
73 |
+
- Pytorch 2.1.2+cu121
|
74 |
+
- Datasets 2.14.6
|
75 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "alignment-handbook/zephyr-7b-sft-full",
|
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 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 128,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 64,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"up_proj",
|
23 |
+
"o_proj",
|
24 |
+
"down_proj",
|
25 |
+
"gate_proj",
|
26 |
+
"v_proj",
|
27 |
+
"q_proj",
|
28 |
+
"k_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM"
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc07c7a1b193270ba59224c5c30de76873b18cb8cc748677504ce7e390dd1511
|
3 |
+
size 335605144
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.5863106256876236,
|
4 |
+
"train_runtime": 9239.1596,
|
5 |
+
"train_samples": 25000,
|
6 |
+
"train_samples_per_second": 2.706,
|
7 |
+
"train_steps_per_second": 0.021
|
8 |
+
}
|
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_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"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 %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 2048,
|
37 |
+
"pad_token": "</s>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.5863106256876236,
|
4 |
+
"train_runtime": 9239.1596,
|
5 |
+
"train_samples": 25000,
|
6 |
+
"train_samples_per_second": 2.706,
|
7 |
+
"train_steps_per_second": 0.021
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,326 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9984,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 195,
|
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": 2.5000000000000004e-07,
|
14 |
+
"logits/chosen": -2.3828954696655273,
|
15 |
+
"logits/rejected": -2.2103500366210938,
|
16 |
+
"logps/chosen": -351.30865478515625,
|
17 |
+
"logps/rejected": -310.087646484375,
|
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.05,
|
27 |
+
"learning_rate": 2.5e-06,
|
28 |
+
"logits/chosen": -2.15350341796875,
|
29 |
+
"logits/rejected": -2.057192087173462,
|
30 |
+
"logps/chosen": -291.661865234375,
|
31 |
+
"logps/rejected": -299.000244140625,
|
32 |
+
"loss": 0.6901,
|
33 |
+
"rewards/accuracies": 0.5208333134651184,
|
34 |
+
"rewards/chosen": -0.00531815318390727,
|
35 |
+
"rewards/margins": 0.006059659644961357,
|
36 |
+
"rewards/rejected": -0.01137781422585249,
|
37 |
+
"step": 10
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.1,
|
41 |
+
"learning_rate": 5e-06,
|
42 |
+
"logits/chosen": -1.7294094562530518,
|
43 |
+
"logits/rejected": -1.6358362436294556,
|
44 |
+
"logps/chosen": -349.6874084472656,
|
45 |
+
"logps/rejected": -371.9268798828125,
|
46 |
+
"loss": 0.6485,
|
47 |
+
"rewards/accuracies": 0.609375,
|
48 |
+
"rewards/chosen": -0.4694043695926666,
|
49 |
+
"rewards/margins": 0.10101622343063354,
|
50 |
+
"rewards/rejected": -0.5704206228256226,
|
51 |
+
"step": 20
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.15,
|
55 |
+
"learning_rate": 4.959823971496575e-06,
|
56 |
+
"logits/chosen": -1.3581154346466064,
|
57 |
+
"logits/rejected": -1.2683781385421753,
|
58 |
+
"logps/chosen": -328.9931945800781,
|
59 |
+
"logps/rejected": -367.46417236328125,
|
60 |
+
"loss": 0.6227,
|
61 |
+
"rewards/accuracies": 0.653124988079071,
|
62 |
+
"rewards/chosen": -0.3038724958896637,
|
63 |
+
"rewards/margins": 0.21112871170043945,
|
64 |
+
"rewards/rejected": -0.5150011777877808,
|
65 |
+
"step": 30
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.2,
|
69 |
+
"learning_rate": 4.8405871765993435e-06,
|
70 |
+
"logits/chosen": -1.0669946670532227,
|
71 |
+
"logits/rejected": -0.6835187673568726,
|
72 |
+
"logps/chosen": -354.5089416503906,
|
73 |
+
"logps/rejected": -383.76422119140625,
|
74 |
+
"loss": 0.5903,
|
75 |
+
"rewards/accuracies": 0.6656249761581421,
|
76 |
+
"rewards/chosen": -0.4168413579463959,
|
77 |
+
"rewards/margins": 0.37733370065689087,
|
78 |
+
"rewards/rejected": -0.7941750884056091,
|
79 |
+
"step": 40
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.26,
|
83 |
+
"learning_rate": 4.646121984004666e-06,
|
84 |
+
"logits/chosen": -0.7538890838623047,
|
85 |
+
"logits/rejected": -0.34662288427352905,
|
86 |
+
"logps/chosen": -361.6393737792969,
|
87 |
+
"logps/rejected": -380.0272521972656,
|
88 |
+
"loss": 0.59,
|
89 |
+
"rewards/accuracies": 0.703125,
|
90 |
+
"rewards/chosen": -0.479973167181015,
|
91 |
+
"rewards/margins": 0.41160327196121216,
|
92 |
+
"rewards/rejected": -0.8915762901306152,
|
93 |
+
"step": 50
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.31,
|
97 |
+
"learning_rate": 4.382678665009028e-06,
|
98 |
+
"logits/chosen": -0.7476059198379517,
|
99 |
+
"logits/rejected": -0.4476490020751953,
|
100 |
+
"logps/chosen": -321.3587951660156,
|
101 |
+
"logps/rejected": -371.570556640625,
|
102 |
+
"loss": 0.5849,
|
103 |
+
"rewards/accuracies": 0.675000011920929,
|
104 |
+
"rewards/chosen": -0.3474940359592438,
|
105 |
+
"rewards/margins": 0.410334974527359,
|
106 |
+
"rewards/rejected": -0.7578290104866028,
|
107 |
+
"step": 60
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.36,
|
111 |
+
"learning_rate": 4.058724504646834e-06,
|
112 |
+
"logits/chosen": -0.5304551124572754,
|
113 |
+
"logits/rejected": 0.0068548740819096565,
|
114 |
+
"logps/chosen": -372.43316650390625,
|
115 |
+
"logps/rejected": -403.68011474609375,
|
116 |
+
"loss": 0.5931,
|
117 |
+
"rewards/accuracies": 0.668749988079071,
|
118 |
+
"rewards/chosen": -0.6598731875419617,
|
119 |
+
"rewards/margins": 0.44455790519714355,
|
120 |
+
"rewards/rejected": -1.10443115234375,
|
121 |
+
"step": 70
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.41,
|
125 |
+
"learning_rate": 3.684671656182497e-06,
|
126 |
+
"logits/chosen": -0.7597763538360596,
|
127 |
+
"logits/rejected": -0.30586355924606323,
|
128 |
+
"logps/chosen": -384.52679443359375,
|
129 |
+
"logps/rejected": -407.8342590332031,
|
130 |
+
"loss": 0.5901,
|
131 |
+
"rewards/accuracies": 0.6781250238418579,
|
132 |
+
"rewards/chosen": -0.5050551891326904,
|
133 |
+
"rewards/margins": 0.4280626177787781,
|
134 |
+
"rewards/rejected": -0.9331178665161133,
|
135 |
+
"step": 80
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.46,
|
139 |
+
"learning_rate": 3.272542485937369e-06,
|
140 |
+
"logits/chosen": -0.6929324865341187,
|
141 |
+
"logits/rejected": -0.2577061057090759,
|
142 |
+
"logps/chosen": -342.2850036621094,
|
143 |
+
"logps/rejected": -383.3541259765625,
|
144 |
+
"loss": 0.5777,
|
145 |
+
"rewards/accuracies": 0.6937500238418579,
|
146 |
+
"rewards/chosen": -0.5730774998664856,
|
147 |
+
"rewards/margins": 0.38491758704185486,
|
148 |
+
"rewards/rejected": -0.9579952359199524,
|
149 |
+
"step": 90
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.51,
|
153 |
+
"learning_rate": 2.835583164544139e-06,
|
154 |
+
"logits/chosen": -0.8866588473320007,
|
155 |
+
"logits/rejected": -0.39027491211891174,
|
156 |
+
"logps/chosen": -326.8385925292969,
|
157 |
+
"logps/rejected": -374.0113525390625,
|
158 |
+
"loss": 0.5616,
|
159 |
+
"rewards/accuracies": 0.6968749761581421,
|
160 |
+
"rewards/chosen": -0.4010140001773834,
|
161 |
+
"rewards/margins": 0.5182436108589172,
|
162 |
+
"rewards/rejected": -0.9192575216293335,
|
163 |
+
"step": 100
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.51,
|
167 |
+
"eval_logits/chosen": -0.6312460899353027,
|
168 |
+
"eval_logits/rejected": -0.05466047301888466,
|
169 |
+
"eval_logps/chosen": -351.8179016113281,
|
170 |
+
"eval_logps/rejected": -391.2296447753906,
|
171 |
+
"eval_loss": 0.5503215789794922,
|
172 |
+
"eval_rewards/accuracies": 0.7139999866485596,
|
173 |
+
"eval_rewards/chosen": -0.6370265483856201,
|
174 |
+
"eval_rewards/margins": 0.559273362159729,
|
175 |
+
"eval_rewards/rejected": -1.1962999105453491,
|
176 |
+
"eval_runtime": 396.9424,
|
177 |
+
"eval_samples_per_second": 5.039,
|
178 |
+
"eval_steps_per_second": 0.63,
|
179 |
+
"step": 100
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"epoch": 0.56,
|
183 |
+
"learning_rate": 2.3878379241237136e-06,
|
184 |
+
"logits/chosen": -0.5016804933547974,
|
185 |
+
"logits/rejected": -0.17540986835956573,
|
186 |
+
"logps/chosen": -381.13250732421875,
|
187 |
+
"logps/rejected": -445.72344970703125,
|
188 |
+
"loss": 0.568,
|
189 |
+
"rewards/accuracies": 0.6968749761581421,
|
190 |
+
"rewards/chosen": -0.8623906970024109,
|
191 |
+
"rewards/margins": 0.4544965624809265,
|
192 |
+
"rewards/rejected": -1.3168871402740479,
|
193 |
+
"step": 110
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"epoch": 0.61,
|
197 |
+
"learning_rate": 1.9436976651092143e-06,
|
198 |
+
"logits/chosen": -0.5300595164299011,
|
199 |
+
"logits/rejected": -0.16820363700389862,
|
200 |
+
"logps/chosen": -343.6223449707031,
|
201 |
+
"logps/rejected": -390.7423400878906,
|
202 |
+
"loss": 0.5643,
|
203 |
+
"rewards/accuracies": 0.671875,
|
204 |
+
"rewards/chosen": -0.5444029569625854,
|
205 |
+
"rewards/margins": 0.469682514667511,
|
206 |
+
"rewards/rejected": -1.0140855312347412,
|
207 |
+
"step": 120
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 0.67,
|
211 |
+
"learning_rate": 1.5174374208651913e-06,
|
212 |
+
"logits/chosen": -0.7855179309844971,
|
213 |
+
"logits/rejected": -0.3058822751045227,
|
214 |
+
"logps/chosen": -345.6529235839844,
|
215 |
+
"logps/rejected": -394.87310791015625,
|
216 |
+
"loss": 0.5708,
|
217 |
+
"rewards/accuracies": 0.7093750238418579,
|
218 |
+
"rewards/chosen": -0.4353795647621155,
|
219 |
+
"rewards/margins": 0.5461079478263855,
|
220 |
+
"rewards/rejected": -0.9814874529838562,
|
221 |
+
"step": 130
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 0.72,
|
225 |
+
"learning_rate": 1.122757546369744e-06,
|
226 |
+
"logits/chosen": -0.5981294512748718,
|
227 |
+
"logits/rejected": 0.1230069175362587,
|
228 |
+
"logps/chosen": -365.549560546875,
|
229 |
+
"logps/rejected": -422.6253356933594,
|
230 |
+
"loss": 0.553,
|
231 |
+
"rewards/accuracies": 0.762499988079071,
|
232 |
+
"rewards/chosen": -0.6209978461265564,
|
233 |
+
"rewards/margins": 0.6843111515045166,
|
234 |
+
"rewards/rejected": -1.3053090572357178,
|
235 |
+
"step": 140
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"epoch": 0.77,
|
239 |
+
"learning_rate": 7.723433775328385e-07,
|
240 |
+
"logits/chosen": -0.31050771474838257,
|
241 |
+
"logits/rejected": 0.17936445772647858,
|
242 |
+
"logps/chosen": -382.371826171875,
|
243 |
+
"logps/rejected": -423.1304626464844,
|
244 |
+
"loss": 0.567,
|
245 |
+
"rewards/accuracies": 0.6875,
|
246 |
+
"rewards/chosen": -0.7858445048332214,
|
247 |
+
"rewards/margins": 0.49087247252464294,
|
248 |
+
"rewards/rejected": -1.276716947555542,
|
249 |
+
"step": 150
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 0.82,
|
253 |
+
"learning_rate": 4.774575140626317e-07,
|
254 |
+
"logits/chosen": -0.3516121506690979,
|
255 |
+
"logits/rejected": 0.05455173924565315,
|
256 |
+
"logps/chosen": -383.17694091796875,
|
257 |
+
"logps/rejected": -414.36322021484375,
|
258 |
+
"loss": 0.5914,
|
259 |
+
"rewards/accuracies": 0.690625011920929,
|
260 |
+
"rewards/chosen": -0.7312983870506287,
|
261 |
+
"rewards/margins": 0.4293293058872223,
|
262 |
+
"rewards/rejected": -1.160627841949463,
|
263 |
+
"step": 160
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"epoch": 0.87,
|
267 |
+
"learning_rate": 2.4757783024395244e-07,
|
268 |
+
"logits/chosen": -0.3427812159061432,
|
269 |
+
"logits/rejected": 0.1810428947210312,
|
270 |
+
"logps/chosen": -328.9323425292969,
|
271 |
+
"logps/rejected": -408.287353515625,
|
272 |
+
"loss": 0.5436,
|
273 |
+
"rewards/accuracies": 0.765625,
|
274 |
+
"rewards/chosen": -0.5952991247177124,
|
275 |
+
"rewards/margins": 0.7224096059799194,
|
276 |
+
"rewards/rejected": -1.3177087306976318,
|
277 |
+
"step": 170
|
278 |
+
},
|
279 |
+
{
|
280 |
+
"epoch": 0.92,
|
281 |
+
"learning_rate": 9.00928482603669e-08,
|
282 |
+
"logits/chosen": -0.4558378756046295,
|
283 |
+
"logits/rejected": 0.023540988564491272,
|
284 |
+
"logps/chosen": -353.60015869140625,
|
285 |
+
"logps/rejected": -400.02459716796875,
|
286 |
+
"loss": 0.5798,
|
287 |
+
"rewards/accuracies": 0.703125,
|
288 |
+
"rewards/chosen": -0.6851487159729004,
|
289 |
+
"rewards/margins": 0.5590900778770447,
|
290 |
+
"rewards/rejected": -1.2442388534545898,
|
291 |
+
"step": 180
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 0.97,
|
295 |
+
"learning_rate": 1.006426501190233e-08,
|
296 |
+
"logits/chosen": -0.32187455892562866,
|
297 |
+
"logits/rejected": 0.002347037196159363,
|
298 |
+
"logps/chosen": -363.7867126464844,
|
299 |
+
"logps/rejected": -415.94952392578125,
|
300 |
+
"loss": 0.5752,
|
301 |
+
"rewards/accuracies": 0.684374988079071,
|
302 |
+
"rewards/chosen": -0.6913945078849792,
|
303 |
+
"rewards/margins": 0.4907089173793793,
|
304 |
+
"rewards/rejected": -1.1821033954620361,
|
305 |
+
"step": 190
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"epoch": 1.0,
|
309 |
+
"step": 195,
|
310 |
+
"total_flos": 0.0,
|
311 |
+
"train_loss": 0.5863106256876236,
|
312 |
+
"train_runtime": 9239.1596,
|
313 |
+
"train_samples_per_second": 2.706,
|
314 |
+
"train_steps_per_second": 0.021
|
315 |
+
}
|
316 |
+
],
|
317 |
+
"logging_steps": 10,
|
318 |
+
"max_steps": 195,
|
319 |
+
"num_input_tokens_seen": 0,
|
320 |
+
"num_train_epochs": 1,
|
321 |
+
"save_steps": 100,
|
322 |
+
"total_flos": 0.0,
|
323 |
+
"train_batch_size": 2,
|
324 |
+
"trial_name": null,
|
325 |
+
"trial_params": null
|
326 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bccc34ca6f3762adb8965b6124a007f08c89b26b3d52adc34c08aebfdda0eb6
|
3 |
+
size 4920
|