NicholasCorrado commited on
Commit
5494a14
1 Parent(s): 1ab941b

Model save

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: alignment-handbook/zephyr-7b-sft-full
5
+ tags:
6
+ - trl
7
+ - dpo
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: zephyr-7b-uf-rc-small-dpo
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
+ # zephyr-7b-uf-rc-small-dpo
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 an unknown dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-07
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 8
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 256
46
+ - total_eval_batch_size: 64
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: cosine
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 1
51
+
52
+ ### Training results
53
+
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.44.2
59
+ - Pytorch 2.2.0a0+81ea7a4
60
+ - Datasets 2.21.0
61
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9874476987447699,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.47203683449050127,
5
+ "train_runtime": 1681.7427,
6
+ "train_samples": 15283,
7
+ "train_samples_per_second": 9.088,
8
+ "train_steps_per_second": 0.035
9
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.44.2"
6
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9874476987447699,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.47203683449050127,
5
+ "train_runtime": 1681.7427,
6
+ "train_samples": 15283,
7
+ "train_samples_per_second": 9.088,
8
+ "train_steps_per_second": 0.035
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9874476987447699,
5
+ "eval_steps": 100,
6
+ "global_step": 59,
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.016736401673640166,
13
+ "grad_norm": 7.482011580623352,
14
+ "learning_rate": 8.333333333333333e-08,
15
+ "logits/chosen": -2.6849496364593506,
16
+ "logits/rejected": -2.659409523010254,
17
+ "logps/chosen": -384.029541015625,
18
+ "logps/rejected": -397.6531982421875,
19
+ "loss": 0.6931,
20
+ "rewards/accuracies": 0.0,
21
+ "rewards/chosen": 0.0,
22
+ "rewards/margins": 0.0,
23
+ "rewards/rejected": 0.0,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.16736401673640167,
28
+ "grad_norm": 7.941364250628201,
29
+ "learning_rate": 4.930057285201027e-07,
30
+ "logits/chosen": -2.754725456237793,
31
+ "logits/rejected": -2.730708122253418,
32
+ "logps/chosen": -380.634521484375,
33
+ "logps/rejected": -407.98577880859375,
34
+ "loss": 0.6865,
35
+ "rewards/accuracies": 0.6527777910232544,
36
+ "rewards/chosen": 0.006238562986254692,
37
+ "rewards/margins": 0.013576013036072254,
38
+ "rewards/rejected": -0.0073374491184949875,
39
+ "step": 10
40
+ },
41
+ {
42
+ "epoch": 0.33472803347280333,
43
+ "grad_norm": 9.195790455018836,
44
+ "learning_rate": 4.187457503795526e-07,
45
+ "logits/chosen": -2.747068405151367,
46
+ "logits/rejected": -2.716444492340088,
47
+ "logps/chosen": -358.1653747558594,
48
+ "logps/rejected": -392.8216552734375,
49
+ "loss": 0.617,
50
+ "rewards/accuracies": 0.862500011920929,
51
+ "rewards/chosen": 0.05825890973210335,
52
+ "rewards/margins": 0.16466794908046722,
53
+ "rewards/rejected": -0.10640902817249298,
54
+ "step": 20
55
+ },
56
+ {
57
+ "epoch": 0.502092050209205,
58
+ "grad_norm": 10.217760497962127,
59
+ "learning_rate": 2.8691164100062034e-07,
60
+ "logits/chosen": -2.7601308822631836,
61
+ "logits/rejected": -2.7297308444976807,
62
+ "logps/chosen": -406.65985107421875,
63
+ "logps/rejected": -476.3982849121094,
64
+ "loss": 0.4796,
65
+ "rewards/accuracies": 0.871874988079071,
66
+ "rewards/chosen": -0.3961808979511261,
67
+ "rewards/margins": 0.547135591506958,
68
+ "rewards/rejected": -0.9433165788650513,
69
+ "step": 30
70
+ },
71
+ {
72
+ "epoch": 0.6694560669456067,
73
+ "grad_norm": 12.540869621611261,
74
+ "learning_rate": 1.4248369943086995e-07,
75
+ "logits/chosen": -2.7881760597229004,
76
+ "logits/rejected": -2.7458648681640625,
77
+ "logps/chosen": -481.26361083984375,
78
+ "logps/rejected": -644.3431396484375,
79
+ "loss": 0.3678,
80
+ "rewards/accuracies": 0.8812500238418579,
81
+ "rewards/chosen": -1.1410269737243652,
82
+ "rewards/margins": 1.3094160556793213,
83
+ "rewards/rejected": -2.4504427909851074,
84
+ "step": 40
85
+ },
86
+ {
87
+ "epoch": 0.8368200836820083,
88
+ "grad_norm": 13.132777473342623,
89
+ "learning_rate": 3.473909705816111e-08,
90
+ "logits/chosen": -2.7689878940582275,
91
+ "logits/rejected": -2.7408366203308105,
92
+ "logps/chosen": -522.9761962890625,
93
+ "logps/rejected": -689.8461303710938,
94
+ "loss": 0.3426,
95
+ "rewards/accuracies": 0.8843749761581421,
96
+ "rewards/chosen": -1.4519160985946655,
97
+ "rewards/margins": 1.475476622581482,
98
+ "rewards/rejected": -2.9273929595947266,
99
+ "step": 50
100
+ },
101
+ {
102
+ "epoch": 0.9874476987447699,
103
+ "step": 59,
104
+ "total_flos": 0.0,
105
+ "train_loss": 0.47203683449050127,
106
+ "train_runtime": 1681.7427,
107
+ "train_samples_per_second": 9.088,
108
+ "train_steps_per_second": 0.035
109
+ }
110
+ ],
111
+ "logging_steps": 10,
112
+ "max_steps": 59,
113
+ "num_input_tokens_seen": 0,
114
+ "num_train_epochs": 1,
115
+ "save_steps": 100,
116
+ "stateful_callbacks": {
117
+ "TrainerControl": {
118
+ "args": {
119
+ "should_epoch_stop": false,
120
+ "should_evaluate": false,
121
+ "should_log": false,
122
+ "should_save": true,
123
+ "should_training_stop": true
124
+ },
125
+ "attributes": {}
126
+ }
127
+ },
128
+ "total_flos": 0.0,
129
+ "train_batch_size": 8,
130
+ "trial_name": null,
131
+ "trial_params": null
132
+ }