Mastane commited on
Commit
3bae7d1
1 Parent(s): ef15374

Model save

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: tiiuae/falcon-7b
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: falcon-7b-dpo-lora
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
+ # falcon-7b-dpo-lora
15
+
16
+ This model is a fine-tuned version of [tiiuae/falcon-7b](https://huggingface.co/tiiuae/falcon-7b) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.6909
19
+ - Rewards/chosen: 0.0159
20
+ - Rewards/rejected: 0.0096
21
+ - Rewards/accuracies: 0.3175
22
+ - Rewards/margins: 0.0063
23
+ - Logps/rejected: -88.4353
24
+ - Logps/chosen: -109.9771
25
+ - Logits/rejected: -14.9384
26
+ - Logits/chosen: -14.8499
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
+ - num_devices: 8
51
+ - gradient_accumulation_steps: 32
52
+ - total_train_batch_size: 512
53
+ - total_eval_batch_size: 32
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - lr_scheduler_warmup_ratio: 0.1
57
+ - num_epochs: 3
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
62
+ |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
63
+ | 0.6927 | 1.0 | 121 | 0.6929 | 0.0035 | 0.0015 | 0.2857 | 0.0020 | -88.5168 | -110.1007 | -14.9346 | -14.8473 |
64
+ | 0.6915 | 2.0 | 242 | 0.6917 | 0.0116 | 0.0071 | 0.3056 | 0.0045 | -88.4605 | -110.0199 | -14.9351 | -14.8469 |
65
+ | 0.6913 | 3.0 | 363 | 0.6909 | 0.0159 | 0.0096 | 0.3175 | 0.0063 | -88.4353 | -109.9771 | -14.9384 | -14.8499 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.35.0
71
+ - Pytorch 2.1.2+cu121
72
+ - Datasets 2.14.6
73
+ - 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": "tiiuae/falcon-7b",
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
+ "dense",
20
+ "query_key_value",
21
+ "dense_h_to_4h",
22
+ "dense_4h_to_h"
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:16fda22ae48812ffcb9872506da16398e686133d835f80ef6baf8abc8a97f07b
3
+ size 522227376
all_results.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_logits/chosen": -14.8499116897583,
4
+ "eval_logits/rejected": -14.938364028930664,
5
+ "eval_logps/chosen": -109.97705078125,
6
+ "eval_logps/rejected": -88.43526458740234,
7
+ "eval_loss": 0.6909456849098206,
8
+ "eval_rewards/accuracies": 0.3174603283405304,
9
+ "eval_rewards/chosen": 0.015893306583166122,
10
+ "eval_rewards/margins": 0.006259124726057053,
11
+ "eval_rewards/rejected": 0.00963417999446392,
12
+ "eval_runtime": 227.6793,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 8.784,
15
+ "eval_steps_per_second": 0.277,
16
+ "train_loss": 0.692123620142293,
17
+ "train_runtime": 31275.9572,
18
+ "train_samples": 61966,
19
+ "train_samples_per_second": 5.944,
20
+ "train_steps_per_second": 0.012
21
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_logits/chosen": -14.8499116897583,
4
+ "eval_logits/rejected": -14.938364028930664,
5
+ "eval_logps/chosen": -109.97705078125,
6
+ "eval_logps/rejected": -88.43526458740234,
7
+ "eval_loss": 0.6909456849098206,
8
+ "eval_rewards/accuracies": 0.3174603283405304,
9
+ "eval_rewards/chosen": 0.015893306583166122,
10
+ "eval_rewards/margins": 0.006259124726057053,
11
+ "eval_rewards/rejected": 0.00963417999446392,
12
+ "eval_runtime": 227.6793,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 8.784,
15
+ "eval_steps_per_second": 0.277
16
+ }
runs/Dec19_01-00-45_ip-172-16-14-202.ec2.internal/events.out.tfevents.1702947856.ip-172-16-14-202.ec2.internal.114331.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1e5cc2365c3f367566a6b386369ff2aa8794ca42ee26834f4750c276db23757
3
+ size 5045
runs/Dec19_01-09-14_ip-172-16-14-202.ec2.internal/events.out.tfevents.1702948337.ip-172-16-14-202.ec2.internal.122402.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af402a7627f5995dde748e15d6bfa41f9897a532bd42aef2a518d5a06c73fca5
3
+ size 30920
runs/Dec19_01-09-14_ip-172-16-14-202.ec2.internal/events.out.tfevents.1702979838.ip-172-16-14-202.ec2.internal.122402.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6574ffedb1b41cda2d6015be5bc8900b52e7a389f5abed37f19204dcfdd7564
3
+ size 828
special_tokens_map.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ ">>TITLE<<",
4
+ ">>ABSTRACT<<",
5
+ ">>INTRODUCTION<<",
6
+ ">>SUMMARY<<",
7
+ ">>COMMENT<<",
8
+ ">>ANSWER<<",
9
+ ">>QUESTION<<",
10
+ ">>DOMAIN<<",
11
+ ">>PREFIX<<",
12
+ ">>SUFFIX<<",
13
+ ">>MIDDLE<<"
14
+ ],
15
+ "eos_token": {
16
+ "content": "<|endoftext|>",
17
+ "lstrip": false,
18
+ "normalized": false,
19
+ "rstrip": false,
20
+ "single_word": false
21
+ },
22
+ "pad_token": {
23
+ "content": "<|endoftext|>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ }
29
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": ">>TITLE<<",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": ">>ABSTRACT<<",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": ">>INTRODUCTION<<",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": ">>SUMMARY<<",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": ">>COMMENT<<",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": ">>ANSWER<<",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": ">>QUESTION<<",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": ">>DOMAIN<<",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": ">>PREFIX<<",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": ">>SUFFIX<<",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": ">>MIDDLE<<",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "11": {
93
+ "content": "<|endoftext|>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ }
100
+ },
101
+ "additional_special_tokens": [
102
+ ">>TITLE<<",
103
+ ">>ABSTRACT<<",
104
+ ">>INTRODUCTION<<",
105
+ ">>SUMMARY<<",
106
+ ">>COMMENT<<",
107
+ ">>ANSWER<<",
108
+ ">>QUESTION<<",
109
+ ">>DOMAIN<<",
110
+ ">>PREFIX<<",
111
+ ">>SUFFIX<<",
112
+ ">>MIDDLE<<"
113
+ ],
114
+ "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 %}",
115
+ "clean_up_tokenization_spaces": true,
116
+ "eos_token": "<|endoftext|>",
117
+ "model_input_names": [
118
+ "input_ids",
119
+ "attention_mask"
120
+ ],
121
+ "model_max_length": 2048,
122
+ "pad_token": "<|endoftext|>",
123
+ "tokenizer_class": "PreTrainedTokenizerFast"
124
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 0.692123620142293,
4
+ "train_runtime": 31275.9572,
5
+ "train_samples": 61966,
6
+ "train_samples_per_second": 5.944,
7
+ "train_steps_per_second": 0.012
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,594 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.9992254066615027,
5
+ "eval_steps": 100,
6
+ "global_step": 363,
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.3513513513513514e-08,
14
+ "logits/chosen": -15.172547340393066,
15
+ "logits/rejected": -15.251230239868164,
16
+ "logps/chosen": -103.97029113769531,
17
+ "logps/rejected": -79.94886016845703,
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.08,
27
+ "learning_rate": 1.3513513513513515e-07,
28
+ "logits/chosen": -15.22812557220459,
29
+ "logits/rejected": -15.30654525756836,
30
+ "logps/chosen": -123.74452209472656,
31
+ "logps/rejected": -93.8215560913086,
32
+ "loss": 0.6931,
33
+ "rewards/accuracies": 0.2309027761220932,
34
+ "rewards/chosen": 0.0003177134203724563,
35
+ "rewards/margins": 0.00015111881657503545,
36
+ "rewards/rejected": 0.000166594676556997,
37
+ "step": 10
38
+ },
39
+ {
40
+ "epoch": 0.17,
41
+ "learning_rate": 2.702702702702703e-07,
42
+ "logits/chosen": -15.262018203735352,
43
+ "logits/rejected": -15.291465759277344,
44
+ "logps/chosen": -123.9498291015625,
45
+ "logps/rejected": -96.19405364990234,
46
+ "loss": 0.6931,
47
+ "rewards/accuracies": 0.29374998807907104,
48
+ "rewards/chosen": 0.0009166754898615181,
49
+ "rewards/margins": 0.0013821485918015242,
50
+ "rewards/rejected": -0.00046547286910936236,
51
+ "step": 20
52
+ },
53
+ {
54
+ "epoch": 0.25,
55
+ "learning_rate": 4.054054054054054e-07,
56
+ "logits/chosen": -15.272542953491211,
57
+ "logits/rejected": -15.305673599243164,
58
+ "logps/chosen": -127.54842376708984,
59
+ "logps/rejected": -105.3931884765625,
60
+ "loss": 0.6933,
61
+ "rewards/accuracies": 0.2796874940395355,
62
+ "rewards/chosen": 0.00042984067113138735,
63
+ "rewards/margins": -0.00048730484559200704,
64
+ "rewards/rejected": 0.0009171456913463771,
65
+ "step": 30
66
+ },
67
+ {
68
+ "epoch": 0.33,
69
+ "learning_rate": 4.95398773006135e-07,
70
+ "logits/chosen": -15.2285737991333,
71
+ "logits/rejected": -15.296609878540039,
72
+ "logps/chosen": -124.9699935913086,
73
+ "logps/rejected": -97.49568176269531,
74
+ "loss": 0.6931,
75
+ "rewards/accuracies": 0.26249998807907104,
76
+ "rewards/chosen": 0.0005645907949656248,
77
+ "rewards/margins": 0.00030518617131747305,
78
+ "rewards/rejected": 0.00025940462364815176,
79
+ "step": 40
80
+ },
81
+ {
82
+ "epoch": 0.41,
83
+ "learning_rate": 4.800613496932515e-07,
84
+ "logits/chosen": -15.285560607910156,
85
+ "logits/rejected": -15.345190048217773,
86
+ "logps/chosen": -129.31256103515625,
87
+ "logps/rejected": -99.52166748046875,
88
+ "loss": 0.6931,
89
+ "rewards/accuracies": 0.2796874940395355,
90
+ "rewards/chosen": 0.00027664678054861724,
91
+ "rewards/margins": 5.752297511207871e-05,
92
+ "rewards/rejected": 0.00021912386000622064,
93
+ "step": 50
94
+ },
95
+ {
96
+ "epoch": 0.5,
97
+ "learning_rate": 4.647239263803681e-07,
98
+ "logits/chosen": -15.253962516784668,
99
+ "logits/rejected": -15.33386516571045,
100
+ "logps/chosen": -119.763427734375,
101
+ "logps/rejected": -102.88087463378906,
102
+ "loss": 0.6932,
103
+ "rewards/accuracies": 0.2796874940395355,
104
+ "rewards/chosen": 0.000503324088640511,
105
+ "rewards/margins": 8.147591142915189e-05,
106
+ "rewards/rejected": 0.0004218483227305114,
107
+ "step": 60
108
+ },
109
+ {
110
+ "epoch": 0.58,
111
+ "learning_rate": 4.4938650306748465e-07,
112
+ "logits/chosen": -15.288751602172852,
113
+ "logits/rejected": -15.326438903808594,
114
+ "logps/chosen": -127.03987121582031,
115
+ "logps/rejected": -96.76243591308594,
116
+ "loss": 0.6932,
117
+ "rewards/accuracies": 0.2890625,
118
+ "rewards/chosen": 0.0017284611240029335,
119
+ "rewards/margins": 0.0012586858356371522,
120
+ "rewards/rejected": 0.0004697750264313072,
121
+ "step": 70
122
+ },
123
+ {
124
+ "epoch": 0.66,
125
+ "learning_rate": 4.340490797546012e-07,
126
+ "logits/chosen": -15.288309097290039,
127
+ "logits/rejected": -15.354669570922852,
128
+ "logps/chosen": -129.9634552001953,
129
+ "logps/rejected": -101.72119140625,
130
+ "loss": 0.693,
131
+ "rewards/accuracies": 0.28125,
132
+ "rewards/chosen": 0.0008187053608708084,
133
+ "rewards/margins": 0.0004409000393934548,
134
+ "rewards/rejected": 0.0003778053796850145,
135
+ "step": 80
136
+ },
137
+ {
138
+ "epoch": 0.74,
139
+ "learning_rate": 4.187116564417178e-07,
140
+ "logits/chosen": -15.274989128112793,
141
+ "logits/rejected": -15.232473373413086,
142
+ "logps/chosen": -121.2137451171875,
143
+ "logps/rejected": -113.5948486328125,
144
+ "loss": 0.6931,
145
+ "rewards/accuracies": 0.296875,
146
+ "rewards/chosen": 0.001987897325307131,
147
+ "rewards/margins": 0.0013456062879413366,
148
+ "rewards/rejected": 0.0006422909209504724,
149
+ "step": 90
150
+ },
151
+ {
152
+ "epoch": 0.83,
153
+ "learning_rate": 4.0337423312883434e-07,
154
+ "logits/chosen": -15.281481742858887,
155
+ "logits/rejected": -15.288961410522461,
156
+ "logps/chosen": -113.20597839355469,
157
+ "logps/rejected": -97.28117370605469,
158
+ "loss": 0.693,
159
+ "rewards/accuracies": 0.2874999940395355,
160
+ "rewards/chosen": 0.0011146818287670612,
161
+ "rewards/margins": 0.00026254478143528104,
162
+ "rewards/rejected": 0.000852137163747102,
163
+ "step": 100
164
+ },
165
+ {
166
+ "epoch": 0.91,
167
+ "learning_rate": 3.880368098159509e-07,
168
+ "logits/chosen": -15.232090950012207,
169
+ "logits/rejected": -15.308767318725586,
170
+ "logps/chosen": -131.0157012939453,
171
+ "logps/rejected": -104.84590911865234,
172
+ "loss": 0.6929,
173
+ "rewards/accuracies": 0.28125,
174
+ "rewards/chosen": 0.0027348899748176336,
175
+ "rewards/margins": 0.0014507302548736334,
176
+ "rewards/rejected": 0.0012841597199440002,
177
+ "step": 110
178
+ },
179
+ {
180
+ "epoch": 0.99,
181
+ "learning_rate": 3.7269938650306747e-07,
182
+ "logits/chosen": -15.231793403625488,
183
+ "logits/rejected": -15.243997573852539,
184
+ "logps/chosen": -120.3092269897461,
185
+ "logps/rejected": -101.40711975097656,
186
+ "loss": 0.6927,
187
+ "rewards/accuracies": 0.26875001192092896,
188
+ "rewards/chosen": 0.0026273976545780897,
189
+ "rewards/margins": 0.0005600537406280637,
190
+ "rewards/rejected": 0.002067344030365348,
191
+ "step": 120
192
+ },
193
+ {
194
+ "epoch": 1.0,
195
+ "eval_logits/chosen": -14.84730052947998,
196
+ "eval_logits/rejected": -14.93464183807373,
197
+ "eval_logps/chosen": -110.10073852539062,
198
+ "eval_logps/rejected": -88.51683044433594,
199
+ "eval_loss": 0.6929101943969727,
200
+ "eval_rewards/accuracies": 0.2857142984867096,
201
+ "eval_rewards/chosen": 0.0035249004140496254,
202
+ "eval_rewards/margins": 0.0020474623888731003,
203
+ "eval_rewards/rejected": 0.001477438141591847,
204
+ "eval_runtime": 230.1482,
205
+ "eval_samples_per_second": 8.69,
206
+ "eval_steps_per_second": 0.274,
207
+ "step": 121
208
+ },
209
+ {
210
+ "epoch": 1.07,
211
+ "learning_rate": 3.5736196319018404e-07,
212
+ "logits/chosen": -15.243385314941406,
213
+ "logits/rejected": -15.28660774230957,
214
+ "logps/chosen": -117.83067321777344,
215
+ "logps/rejected": -105.49190521240234,
216
+ "loss": 0.6927,
217
+ "rewards/accuracies": 0.3031249940395355,
218
+ "rewards/chosen": 0.0028103243093937635,
219
+ "rewards/margins": 0.0009912283858284354,
220
+ "rewards/rejected": 0.0018190961563959718,
221
+ "step": 130
222
+ },
223
+ {
224
+ "epoch": 1.16,
225
+ "learning_rate": 3.420245398773006e-07,
226
+ "logits/chosen": -15.298578262329102,
227
+ "logits/rejected": -15.308378219604492,
228
+ "logps/chosen": -117.3888168334961,
229
+ "logps/rejected": -95.77253723144531,
230
+ "loss": 0.6928,
231
+ "rewards/accuracies": 0.28125,
232
+ "rewards/chosen": 0.003832989139482379,
233
+ "rewards/margins": 0.0002880497486330569,
234
+ "rewards/rejected": 0.0035449396818876266,
235
+ "step": 140
236
+ },
237
+ {
238
+ "epoch": 1.24,
239
+ "learning_rate": 3.2668711656441716e-07,
240
+ "logits/chosen": -15.269906997680664,
241
+ "logits/rejected": -15.330175399780273,
242
+ "logps/chosen": -121.6659927368164,
243
+ "logps/rejected": -98.5518569946289,
244
+ "loss": 0.6927,
245
+ "rewards/accuracies": 0.28593748807907104,
246
+ "rewards/chosen": 0.004216608125716448,
247
+ "rewards/margins": 0.0014314096188172698,
248
+ "rewards/rejected": 0.0027851988561451435,
249
+ "step": 150
250
+ },
251
+ {
252
+ "epoch": 1.32,
253
+ "learning_rate": 3.1134969325153373e-07,
254
+ "logits/chosen": -15.28375244140625,
255
+ "logits/rejected": -15.307037353515625,
256
+ "logps/chosen": -117.98995208740234,
257
+ "logps/rejected": -101.3696517944336,
258
+ "loss": 0.6925,
259
+ "rewards/accuracies": 0.2874999940395355,
260
+ "rewards/chosen": 0.004791011102497578,
261
+ "rewards/margins": 0.0008280017646029592,
262
+ "rewards/rejected": 0.00396300945430994,
263
+ "step": 160
264
+ },
265
+ {
266
+ "epoch": 1.4,
267
+ "learning_rate": 2.960122699386503e-07,
268
+ "logits/chosen": -15.264017105102539,
269
+ "logits/rejected": -15.2572603225708,
270
+ "logps/chosen": -125.29273986816406,
271
+ "logps/rejected": -112.38765716552734,
272
+ "loss": 0.6923,
273
+ "rewards/accuracies": 0.3499999940395355,
274
+ "rewards/chosen": 0.006073893513530493,
275
+ "rewards/margins": 0.0020425966940820217,
276
+ "rewards/rejected": 0.004031297750771046,
277
+ "step": 170
278
+ },
279
+ {
280
+ "epoch": 1.49,
281
+ "learning_rate": 2.8067484662576686e-07,
282
+ "logits/chosen": -15.275349617004395,
283
+ "logits/rejected": -15.314315795898438,
284
+ "logps/chosen": -120.6910400390625,
285
+ "logps/rejected": -92.7549057006836,
286
+ "loss": 0.6921,
287
+ "rewards/accuracies": 0.3343749940395355,
288
+ "rewards/chosen": 0.006351888179779053,
289
+ "rewards/margins": 0.002958633005619049,
290
+ "rewards/rejected": 0.0033932551741600037,
291
+ "step": 180
292
+ },
293
+ {
294
+ "epoch": 1.57,
295
+ "learning_rate": 2.653374233128834e-07,
296
+ "logits/chosen": -15.27843189239502,
297
+ "logits/rejected": -15.3081693649292,
298
+ "logps/chosen": -115.19669342041016,
299
+ "logps/rejected": -92.90242004394531,
300
+ "loss": 0.6921,
301
+ "rewards/accuracies": 0.3218750059604645,
302
+ "rewards/chosen": 0.0064470237120985985,
303
+ "rewards/margins": 0.0023960156831890345,
304
+ "rewards/rejected": 0.004051008261740208,
305
+ "step": 190
306
+ },
307
+ {
308
+ "epoch": 1.65,
309
+ "learning_rate": 2.5e-07,
310
+ "logits/chosen": -15.239352226257324,
311
+ "logits/rejected": -15.272363662719727,
312
+ "logps/chosen": -121.6275634765625,
313
+ "logps/rejected": -93.08324432373047,
314
+ "loss": 0.6919,
315
+ "rewards/accuracies": 0.2734375,
316
+ "rewards/chosen": 0.0069998181425035,
317
+ "rewards/margins": 0.0022552732843905687,
318
+ "rewards/rejected": 0.004744545556604862,
319
+ "step": 200
320
+ },
321
+ {
322
+ "epoch": 1.74,
323
+ "learning_rate": 2.3466257668711655e-07,
324
+ "logits/chosen": -15.199145317077637,
325
+ "logits/rejected": -15.267333984375,
326
+ "logps/chosen": -124.52889251708984,
327
+ "logps/rejected": -97.74082946777344,
328
+ "loss": 0.6921,
329
+ "rewards/accuracies": 0.2593750059604645,
330
+ "rewards/chosen": 0.0072901747189462185,
331
+ "rewards/margins": 0.0013283558655530214,
332
+ "rewards/rejected": 0.005961819086223841,
333
+ "step": 210
334
+ },
335
+ {
336
+ "epoch": 1.82,
337
+ "learning_rate": 2.1932515337423312e-07,
338
+ "logits/chosen": -15.27015495300293,
339
+ "logits/rejected": -15.279447555541992,
340
+ "logps/chosen": -118.91484069824219,
341
+ "logps/rejected": -90.32121276855469,
342
+ "loss": 0.6918,
343
+ "rewards/accuracies": 0.30156248807907104,
344
+ "rewards/chosen": 0.00907520018517971,
345
+ "rewards/margins": 0.0032898869831115007,
346
+ "rewards/rejected": 0.005785313434898853,
347
+ "step": 220
348
+ },
349
+ {
350
+ "epoch": 1.9,
351
+ "learning_rate": 2.0398773006134968e-07,
352
+ "logits/chosen": -15.252248764038086,
353
+ "logits/rejected": -15.287099838256836,
354
+ "logps/chosen": -117.89067077636719,
355
+ "logps/rejected": -100.09212493896484,
356
+ "loss": 0.6918,
357
+ "rewards/accuracies": 0.3187499940395355,
358
+ "rewards/chosen": 0.00985044240951538,
359
+ "rewards/margins": 0.004119374789297581,
360
+ "rewards/rejected": 0.0057310680858790874,
361
+ "step": 230
362
+ },
363
+ {
364
+ "epoch": 1.98,
365
+ "learning_rate": 1.8865030674846625e-07,
366
+ "logits/chosen": -15.214279174804688,
367
+ "logits/rejected": -15.315710067749023,
368
+ "logps/chosen": -121.98006439208984,
369
+ "logps/rejected": -98.08609008789062,
370
+ "loss": 0.6915,
371
+ "rewards/accuracies": 0.3125,
372
+ "rewards/chosen": 0.010013025254011154,
373
+ "rewards/margins": 0.0034062224440276623,
374
+ "rewards/rejected": 0.00660680141299963,
375
+ "step": 240
376
+ },
377
+ {
378
+ "epoch": 2.0,
379
+ "eval_logits/chosen": -14.846867561340332,
380
+ "eval_logits/rejected": -14.935086250305176,
381
+ "eval_logps/chosen": -110.01992797851562,
382
+ "eval_logps/rejected": -88.46048736572266,
383
+ "eval_loss": 0.6916756629943848,
384
+ "eval_rewards/accuracies": 0.3055555522441864,
385
+ "eval_rewards/chosen": 0.011606148444116116,
386
+ "eval_rewards/margins": 0.00449267216026783,
387
+ "eval_rewards/rejected": 0.007113476749509573,
388
+ "eval_runtime": 229.7499,
389
+ "eval_samples_per_second": 8.705,
390
+ "eval_steps_per_second": 0.274,
391
+ "step": 242
392
+ },
393
+ {
394
+ "epoch": 2.07,
395
+ "learning_rate": 1.733128834355828e-07,
396
+ "logits/chosen": -15.271708488464355,
397
+ "logits/rejected": -15.325927734375,
398
+ "logps/chosen": -120.98309326171875,
399
+ "logps/rejected": -108.2812728881836,
400
+ "loss": 0.6916,
401
+ "rewards/accuracies": 0.296875,
402
+ "rewards/chosen": 0.009962974116206169,
403
+ "rewards/margins": 0.0022991253063082695,
404
+ "rewards/rejected": 0.007663849741220474,
405
+ "step": 250
406
+ },
407
+ {
408
+ "epoch": 2.15,
409
+ "learning_rate": 1.5797546012269938e-07,
410
+ "logits/chosen": -15.266347885131836,
411
+ "logits/rejected": -15.258427619934082,
412
+ "logps/chosen": -123.05375671386719,
413
+ "logps/rejected": -98.55216979980469,
414
+ "loss": 0.6914,
415
+ "rewards/accuracies": 0.2984375059604645,
416
+ "rewards/chosen": 0.011418156325817108,
417
+ "rewards/margins": 0.0035811502020806074,
418
+ "rewards/rejected": 0.007837006822228432,
419
+ "step": 260
420
+ },
421
+ {
422
+ "epoch": 2.23,
423
+ "learning_rate": 1.4263803680981594e-07,
424
+ "logits/chosen": -15.247785568237305,
425
+ "logits/rejected": -15.258626937866211,
426
+ "logps/chosen": -115.1404037475586,
427
+ "logps/rejected": -93.46723175048828,
428
+ "loss": 0.6912,
429
+ "rewards/accuracies": 0.3375000059604645,
430
+ "rewards/chosen": 0.011196712031960487,
431
+ "rewards/margins": 0.004130281042307615,
432
+ "rewards/rejected": 0.007066431455314159,
433
+ "step": 270
434
+ },
435
+ {
436
+ "epoch": 2.31,
437
+ "learning_rate": 1.273006134969325e-07,
438
+ "logits/chosen": -15.278572082519531,
439
+ "logits/rejected": -15.311563491821289,
440
+ "logps/chosen": -128.5188446044922,
441
+ "logps/rejected": -100.33396911621094,
442
+ "loss": 0.6911,
443
+ "rewards/accuracies": 0.3046875,
444
+ "rewards/chosen": 0.012510362081229687,
445
+ "rewards/margins": 0.004159414209425449,
446
+ "rewards/rejected": 0.008350946940481663,
447
+ "step": 280
448
+ },
449
+ {
450
+ "epoch": 2.4,
451
+ "learning_rate": 1.1196319018404908e-07,
452
+ "logits/chosen": -15.250155448913574,
453
+ "logits/rejected": -15.272921562194824,
454
+ "logps/chosen": -119.62606048583984,
455
+ "logps/rejected": -103.21083068847656,
456
+ "loss": 0.6911,
457
+ "rewards/accuracies": 0.296875,
458
+ "rewards/chosen": 0.013957071118056774,
459
+ "rewards/margins": 0.004067812114953995,
460
+ "rewards/rejected": 0.00988925900310278,
461
+ "step": 290
462
+ },
463
+ {
464
+ "epoch": 2.48,
465
+ "learning_rate": 9.662576687116564e-08,
466
+ "logits/chosen": -15.27168083190918,
467
+ "logits/rejected": -15.364572525024414,
468
+ "logps/chosen": -119.32635498046875,
469
+ "logps/rejected": -98.04741668701172,
470
+ "loss": 0.691,
471
+ "rewards/accuracies": 0.29218751192092896,
472
+ "rewards/chosen": 0.012033398263156414,
473
+ "rewards/margins": 0.0029196850955486298,
474
+ "rewards/rejected": 0.009113713167607784,
475
+ "step": 300
476
+ },
477
+ {
478
+ "epoch": 2.56,
479
+ "learning_rate": 8.12883435582822e-08,
480
+ "logits/chosen": -15.267038345336914,
481
+ "logits/rejected": -15.33867359161377,
482
+ "logps/chosen": -125.45201110839844,
483
+ "logps/rejected": -98.39042663574219,
484
+ "loss": 0.6911,
485
+ "rewards/accuracies": 0.32499998807907104,
486
+ "rewards/chosen": 0.013260738924145699,
487
+ "rewards/margins": 0.004113315604627132,
488
+ "rewards/rejected": 0.00914742425084114,
489
+ "step": 310
490
+ },
491
+ {
492
+ "epoch": 2.64,
493
+ "learning_rate": 6.595092024539877e-08,
494
+ "logits/chosen": -15.279388427734375,
495
+ "logits/rejected": -15.33612060546875,
496
+ "logps/chosen": -123.69743347167969,
497
+ "logps/rejected": -101.3545150756836,
498
+ "loss": 0.6911,
499
+ "rewards/accuracies": 0.32343751192092896,
500
+ "rewards/chosen": 0.013454603031277657,
501
+ "rewards/margins": 0.00448086392134428,
502
+ "rewards/rejected": 0.008973738178610802,
503
+ "step": 320
504
+ },
505
+ {
506
+ "epoch": 2.73,
507
+ "learning_rate": 5.061349693251534e-08,
508
+ "logits/chosen": -15.248504638671875,
509
+ "logits/rejected": -15.330392837524414,
510
+ "logps/chosen": -123.80655670166016,
511
+ "logps/rejected": -98.1585922241211,
512
+ "loss": 0.691,
513
+ "rewards/accuracies": 0.3187499940395355,
514
+ "rewards/chosen": 0.014067019335925579,
515
+ "rewards/margins": 0.005277669057250023,
516
+ "rewards/rejected": 0.008789352141320705,
517
+ "step": 330
518
+ },
519
+ {
520
+ "epoch": 2.81,
521
+ "learning_rate": 3.5276073619631896e-08,
522
+ "logits/chosen": -15.255121231079102,
523
+ "logits/rejected": -15.33825397491455,
524
+ "logps/chosen": -123.04536437988281,
525
+ "logps/rejected": -98.64664459228516,
526
+ "loss": 0.6908,
527
+ "rewards/accuracies": 0.34375,
528
+ "rewards/chosen": 0.014080156572163105,
529
+ "rewards/margins": 0.005763668101280928,
530
+ "rewards/rejected": 0.008316488936543465,
531
+ "step": 340
532
+ },
533
+ {
534
+ "epoch": 2.89,
535
+ "learning_rate": 1.9938650306748464e-08,
536
+ "logits/chosen": -15.204339981079102,
537
+ "logits/rejected": -15.2611722946167,
538
+ "logps/chosen": -127.34835052490234,
539
+ "logps/rejected": -111.3030014038086,
540
+ "loss": 0.6911,
541
+ "rewards/accuracies": 0.33281248807907104,
542
+ "rewards/chosen": 0.015759991481900215,
543
+ "rewards/margins": 0.0036518643610179424,
544
+ "rewards/rejected": 0.012108126655220985,
545
+ "step": 350
546
+ },
547
+ {
548
+ "epoch": 2.97,
549
+ "learning_rate": 4.601226993865031e-09,
550
+ "logits/chosen": -15.213580131530762,
551
+ "logits/rejected": -15.218714714050293,
552
+ "logps/chosen": -105.95635986328125,
553
+ "logps/rejected": -87.81764221191406,
554
+ "loss": 0.6913,
555
+ "rewards/accuracies": 0.2828125059604645,
556
+ "rewards/chosen": 0.012317867949604988,
557
+ "rewards/margins": 0.002315809251740575,
558
+ "rewards/rejected": 0.010002057068049908,
559
+ "step": 360
560
+ },
561
+ {
562
+ "epoch": 3.0,
563
+ "eval_logits/chosen": -14.8499116897583,
564
+ "eval_logits/rejected": -14.938364028930664,
565
+ "eval_logps/chosen": -109.97705078125,
566
+ "eval_logps/rejected": -88.43526458740234,
567
+ "eval_loss": 0.6909456849098206,
568
+ "eval_rewards/accuracies": 0.3174603283405304,
569
+ "eval_rewards/chosen": 0.015893306583166122,
570
+ "eval_rewards/margins": 0.006259124726057053,
571
+ "eval_rewards/rejected": 0.00963417999446392,
572
+ "eval_runtime": 227.7514,
573
+ "eval_samples_per_second": 8.782,
574
+ "eval_steps_per_second": 0.277,
575
+ "step": 363
576
+ },
577
+ {
578
+ "epoch": 3.0,
579
+ "step": 363,
580
+ "total_flos": 0.0,
581
+ "train_loss": 0.692123620142293,
582
+ "train_runtime": 31275.9572,
583
+ "train_samples_per_second": 5.944,
584
+ "train_steps_per_second": 0.012
585
+ }
586
+ ],
587
+ "logging_steps": 10,
588
+ "max_steps": 363,
589
+ "num_train_epochs": 3,
590
+ "save_steps": 500,
591
+ "total_flos": 0.0,
592
+ "trial_name": null,
593
+ "trial_params": null
594
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9d6abdf1534129e22e0e5ec0f15163fe17cfd28a5efc40ad9681b68547d064e
3
+ size 4728