edbeeching HF staff commited on
Commit
83e2e55
1 Parent(s): f9856a7

Add vwxyzjn/online_dpo_tldr-main checkpoint

Browse files
Files changed (22) hide show
  1. README.md +52 -0
  2. config.json +30 -0
  3. generation_config.json +5 -0
  4. model.safetensors +3 -0
  5. runs/Jul05_14-01-15_ip-26-0-160-216/events.out.tfevents.1720188078.ip-26-0-160-216.147005.0 +3 -0
  6. runs/Jul05_14-01-53_ip-26-0-160-216/events.out.tfevents.1720188116.ip-26-0-160-216.147405.0 +3 -0
  7. runs/Jul09_19-00-51_ip-26-0-160-225/events.out.tfevents.1720551729.ip-26-0-160-225.435507.0 +3 -0
  8. runs/Jul09_19-14-53_ip-26-0-160-225/events.out.tfevents.1720552568.ip-26-0-160-225.441432.0 +3 -0
  9. runs/Jul09_19-43-16_ip-26-0-160-225/events.out.tfevents.1720554273.ip-26-0-160-225.446603.0 +3 -0
  10. runs/Jul10_18-23-01_ip-26-0-172-116/events.out.tfevents.1720635858.ip-26-0-172-116.4048655.0 +3 -0
  11. runs/Jul10_18-23-01_ip-26-0-172-142/events.out.tfevents.1720635854.ip-26-0-172-142.494572.0 +3 -0
  12. runs/Jul10_18-23-02_ip-26-0-166-15/events.out.tfevents.1720635863.ip-26-0-166-15.599851.0 +3 -0
  13. runs/Jul11_05-19-26_ip-26-0-161-103/events.out.tfevents.1720675243.ip-26-0-161-103.64573.0 +3 -0
  14. runs/Jul11_05-19-26_ip-26-0-161-123/events.out.tfevents.1720675240.ip-26-0-161-123.229597.0 +3 -0
  15. runs/Jul11_16-38-36_ip-26-0-173-7/events.out.tfevents.1720715998.ip-26-0-173-7.788586.0 +3 -0
  16. runs/Jul13_01-57-35_ip-26-0-161-103/events.out.tfevents.1720835931.ip-26-0-161-103.585295.0 +3 -0
  17. runs/Jul15_15-27-16_ip-26-0-167-9/events.out.tfevents.1721057315.ip-26-0-167-9.235582.0 +3 -0
  18. runs/Jul15_15-47-35_ip-26-0-172-142/events.out.tfevents.1721058536.ip-26-0-172-142.1767221.0 +3 -0
  19. special_tokens_map.json +30 -0
  20. tokenizer.json +0 -0
  21. tokenizer_config.json +224 -0
  22. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: online_dpo
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/costa-huang/huggingface/runs/and6d28l)
13
+ # online_dpo
14
+
15
+ This model was trained from scratch on an unknown dataset.
16
+
17
+ ## Model description
18
+
19
+ More information needed
20
+
21
+ ## Intended uses & limitations
22
+
23
+ More information needed
24
+
25
+ ## Training and evaluation data
26
+
27
+ More information needed
28
+
29
+ ## Training procedure
30
+
31
+ ### Training hyperparameters
32
+
33
+ The following hyperparameters were used during training:
34
+ - learning_rate: 3e-06
35
+ - train_batch_size: 16
36
+ - eval_batch_size: 8
37
+ - seed: 42
38
+ - distributed_type: multi-GPU
39
+ - num_devices: 8
40
+ - gradient_accumulation_steps: 4
41
+ - total_train_batch_size: 512
42
+ - total_eval_batch_size: 64
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 3.0
46
+
47
+ ### Framework versions
48
+
49
+ - Transformers 4.42.3
50
+ - Pytorch 2.3.0+cu121
51
+ - Datasets 2.19.1
52
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cleanrl/EleutherAI_pythia-1b-deduped__sft__tldr",
3
+ "architectures": [
4
+ "GPTNeoXForCausalLM"
5
+ ],
6
+ "attention_bias": true,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": 0.1,
10
+ "eos_token_id": 0,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout": 0.0,
13
+ "hidden_size": 2048,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 8192,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 2048,
18
+ "model_type": "gpt_neox",
19
+ "num_attention_heads": 8,
20
+ "num_hidden_layers": 16,
21
+ "rope_scaling": null,
22
+ "rotary_emb_base": 10000,
23
+ "rotary_pct": 0.25,
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.42.3",
27
+ "use_cache": true,
28
+ "use_parallel_residual": true,
29
+ "vocab_size": 50304
30
+ }
generation_config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "transformers_version": "4.42.3"
5
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b770bbd2b157e494cea03db919d0e7280ec55966212ff28ca9c563d6e5b5217
3
+ size 2023586384
runs/Jul05_14-01-15_ip-26-0-160-216/events.out.tfevents.1720188078.ip-26-0-160-216.147005.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0ebc77ff18f30703e5fc8e3c1593ae9266d975f1c2049f592492317f91f66f8
3
+ size 6457
runs/Jul05_14-01-53_ip-26-0-160-216/events.out.tfevents.1720188116.ip-26-0-160-216.147405.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ac1d38e48bcc075e8ed527709920f138c08c30985561d1fc549b9e89cc514c2
3
+ size 6457
runs/Jul09_19-00-51_ip-26-0-160-225/events.out.tfevents.1720551729.ip-26-0-160-225.435507.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5ff1aec0dca3e48f3f0f9f79f59ac24c20c276cab93ca7a9f646a917f93feaf
3
+ size 6358
runs/Jul09_19-14-53_ip-26-0-160-225/events.out.tfevents.1720552568.ip-26-0-160-225.441432.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc75ca88f2eb7af59fa51183f812acca1d1bf4d6fcc213d88caa1fbe47bdb158
3
+ size 75802
runs/Jul09_19-43-16_ip-26-0-160-225/events.out.tfevents.1720554273.ip-26-0-160-225.446603.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60f6f57435deefe7fa64a68cf111afc94118347e13805de4720cd097b041ac93
3
+ size 195395
runs/Jul10_18-23-01_ip-26-0-172-116/events.out.tfevents.1720635858.ip-26-0-172-116.4048655.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83bb5d0c72f352ebd69d88989229e5611f8a1e4e48f5f7272fefb87d30a52531
3
+ size 1369571
runs/Jul10_18-23-01_ip-26-0-172-142/events.out.tfevents.1720635854.ip-26-0-172-142.494572.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72e8bc87fc48b4b865bc61a8ac5b8d0bc3105355150194370fe2c53120df52a6
3
+ size 1376818
runs/Jul10_18-23-02_ip-26-0-166-15/events.out.tfevents.1720635863.ip-26-0-166-15.599851.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65f35e2752f1282131beb696f415509bfe4d6f43d0245cb2709c3b62f5b18f6b
3
+ size 75801
runs/Jul11_05-19-26_ip-26-0-161-103/events.out.tfevents.1720675243.ip-26-0-161-103.64573.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d806fe60f2bcda35a6cafbb08880411e69f0b9a9712283f848afac2a436e860c
3
+ size 2364963
runs/Jul11_05-19-26_ip-26-0-161-123/events.out.tfevents.1720675240.ip-26-0-161-123.229597.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:960c0317118bb5a3b2e061b60cc3094747119f1475b2b7e548e41f2224c94be5
3
+ size 2364962
runs/Jul11_16-38-36_ip-26-0-173-7/events.out.tfevents.1720715998.ip-26-0-173-7.788586.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a2b68d79e0a17da4bc7ea351edaaff93e9be29dfe925ed3696c3f9d3dfaff5c
3
+ size 1635327
runs/Jul13_01-57-35_ip-26-0-161-103/events.out.tfevents.1720835931.ip-26-0-161-103.585295.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2915fc8efa678732815b91183d1e85c9d3f70bb980f0a372f666bf3812042a2e
3
+ size 239375
runs/Jul15_15-27-16_ip-26-0-167-9/events.out.tfevents.1721057315.ip-26-0-167-9.235582.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2317027bac46328f29f0ce3fd88750a0af691d4a62437db19b05a547fb77482
3
+ size 519631
runs/Jul15_15-47-35_ip-26-0-172-142/events.out.tfevents.1721058536.ip-26-0-172-142.1767221.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc0610b68f38cc12109a8c93ae91746144c1360ef579d4212bc454711444b073
3
+ size 2363065
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
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,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": false,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<|endoftext|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<|padding|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "50254": {
23
+ "content": " ",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "50255": {
31
+ "content": " ",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "50256": {
39
+ "content": " ",
40
+ "lstrip": false,
41
+ "normalized": true,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "50257": {
47
+ "content": " ",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "50258": {
55
+ "content": " ",
56
+ "lstrip": false,
57
+ "normalized": true,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "50259": {
63
+ "content": " ",
64
+ "lstrip": false,
65
+ "normalized": true,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "50260": {
71
+ "content": " ",
72
+ "lstrip": false,
73
+ "normalized": true,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": false
77
+ },
78
+ "50261": {
79
+ "content": " ",
80
+ "lstrip": false,
81
+ "normalized": true,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "50262": {
87
+ "content": " ",
88
+ "lstrip": false,
89
+ "normalized": true,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "50263": {
95
+ "content": " ",
96
+ "lstrip": false,
97
+ "normalized": true,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "50264": {
103
+ "content": " ",
104
+ "lstrip": false,
105
+ "normalized": true,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "50265": {
111
+ "content": " ",
112
+ "lstrip": false,
113
+ "normalized": true,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "50266": {
119
+ "content": " ",
120
+ "lstrip": false,
121
+ "normalized": true,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "50267": {
127
+ "content": " ",
128
+ "lstrip": false,
129
+ "normalized": true,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "50268": {
135
+ "content": " ",
136
+ "lstrip": false,
137
+ "normalized": true,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "50269": {
143
+ "content": " ",
144
+ "lstrip": false,
145
+ "normalized": true,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "50270": {
151
+ "content": " ",
152
+ "lstrip": false,
153
+ "normalized": true,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "50271": {
159
+ "content": " ",
160
+ "lstrip": false,
161
+ "normalized": true,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "50272": {
167
+ "content": " ",
168
+ "lstrip": false,
169
+ "normalized": true,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "50273": {
175
+ "content": " ",
176
+ "lstrip": false,
177
+ "normalized": true,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "50274": {
183
+ "content": " ",
184
+ "lstrip": false,
185
+ "normalized": true,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ },
190
+ "50275": {
191
+ "content": " ",
192
+ "lstrip": false,
193
+ "normalized": true,
194
+ "rstrip": false,
195
+ "single_word": false,
196
+ "special": false
197
+ },
198
+ "50276": {
199
+ "content": " ",
200
+ "lstrip": false,
201
+ "normalized": true,
202
+ "rstrip": false,
203
+ "single_word": false,
204
+ "special": false
205
+ },
206
+ "50277": {
207
+ "content": "[PAD]",
208
+ "lstrip": false,
209
+ "normalized": false,
210
+ "rstrip": false,
211
+ "single_word": false,
212
+ "special": true
213
+ }
214
+ },
215
+ "bos_token": "<|endoftext|>",
216
+ "chat_template": "{% for message in messages %}{{' ' + message['content']}}{% endfor %}",
217
+ "clean_up_tokenization_spaces": true,
218
+ "eos_token": "<|endoftext|>",
219
+ "model_max_length": 1000000000000000019884624838656,
220
+ "pad_token": "[PAD]",
221
+ "padding_side": "left",
222
+ "tokenizer_class": "GPTNeoXTokenizer",
223
+ "unk_token": "<|endoftext|>"
224
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9d3fb9e61f587b370fda85d130b0cde7417ea258acc9dcda1f31a24bc3b935b
3
+ size 7480