Run this model with HF Jobs

Run Alvarome/ppo-Pyramids on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Alvarome/ppo-Pyramids. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Alvarome/ppo-Pyramids on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
File size: 18,727 Bytes
d7ed443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.2816969156265259,
            "min": 0.2816969156265259,
            "max": 1.4246594905853271,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 8446.400390625,
            "min": 8446.400390625,
            "max": 43218.46875,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989915.0,
            "min": 29952.0,
            "max": 989915.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989915.0,
            "min": 29952.0,
            "max": 989915.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.3709099590778351,
            "min": -0.08444615453481674,
            "max": 0.4651355445384979,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 97.54931640625,
            "min": -20.35152244567871,
            "max": 124.65632629394531,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.026960255578160286,
            "min": -0.038204748183488846,
            "max": 0.3972168564796448,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 7.09054708480835,
            "min": -10.277077674865723,
            "max": 94.14039611816406,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.0684244522763904,
            "min": 0.06582443959905183,
            "max": 0.07451588815941027,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9579423318694654,
            "min": 0.5135540535794598,
            "max": 1.070532442491693,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.014895542469319137,
            "min": 0.0007044200298760178,
            "max": 0.01588661684804928,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.20853759457046792,
            "min": 0.007748620328636195,
            "max": 0.2382992527207392,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.656826019185715e-06,
            "min": 7.656826019185715e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010719556426860002,
            "min": 0.00010719556426860002,
            "max": 0.0036321730892756995,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10255224285714286,
            "min": 0.10255224285714286,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4357314,
            "min": 1.3886848,
            "max": 2.6107242999999998,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0002649690614285714,
            "min": 0.0002649690614285714,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.00370956686,
            "min": 0.00370956686,
            "max": 0.12109135757,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.013892501592636108,
            "min": 0.013336880132555962,
            "max": 0.5058667063713074,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.19449502229690552,
            "min": 0.18671631813049316,
            "max": 3.541066884994507,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 445.203125,
            "min": 381.93333333333334,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 28493.0,
            "min": 15984.0,
            "max": 32739.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.3672437203349546,
            "min": -1.0000000521540642,
            "max": 1.5087072207875873,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 87.50359810143709,
            "min": -32.000001668930054,
            "max": 107.06139790266752,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.3672437203349546,
            "min": -1.0000000521540642,
            "max": 1.5087072207875873,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 87.50359810143709,
            "min": -32.000001668930054,
            "max": 107.06139790266752,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.06394081461621681,
            "min": 0.058297352611940974,
            "max": 10.303310614079237,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 4.092212135437876,
            "min": 4.092212135437876,
            "max": 164.8529698252678,
            "count": 33
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1796209852",
        "python_version": "3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]",
        "command_line_arguments": "/content/mlagents-unit5-env/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
        "mlagents_version": "1.1.0",
        "mlagents_envs_version": "1.1.0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.2.2+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1796212487"
    },
    "total": 2635.451647159,
    "count": 1,
    "self": 0.48155679699993925,
    "children": {
        "run_training.setup": {
            "total": 0.020980282999971678,
            "count": 1,
            "self": 0.020980282999971678
        },
        "TrainerController.start_learning": {
            "total": 2634.949110079,
            "count": 1,
            "self": 1.4218005669490594,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.7677370409999185,
                    "count": 1,
                    "self": 1.7677370409999185
                },
                "TrainerController.advance": {
                    "total": 2631.6746272540513,
                    "count": 63709,
                    "self": 1.6197954670460604,
                    "children": {
                        "env_step": {
                            "total": 1922.12168297302,
                            "count": 63709,
                            "self": 1756.1412924670572,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 165.0763563179903,
                                    "count": 63709,
                                    "self": 5.007142003962372,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 160.06921431402793,
                                            "count": 62566,
                                            "self": 160.06921431402793
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9040341879724565,
                                    "count": 63709,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2630.699635055029,
                                            "count": 63709,
                                            "is_parallel": true,
                                            "self": 999.4128759830262,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.002372902999923099,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000782694999998057,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0015902079999250418,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0015902079999250418
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05684610100001919,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006126000000676868,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00046711899994988926,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00046711899994988926
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.05364723200000299,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.05364723200000299
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0021191499999986263,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005658079996919696,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015533420003066567,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015533420003066567
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1631.2867590720027,
                                                    "count": 63708,
                                                    "is_parallel": true,
                                                    "self": 34.87866962294879,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 24.103363006044674,
                                                            "count": 63708,
                                                            "is_parallel": true,
                                                            "self": 24.103363006044674
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1452.3529093200623,
                                                            "count": 63708,
                                                            "is_parallel": true,
                                                            "self": 1452.3529093200623
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 119.95181712294698,
                                                            "count": 63708,
                                                            "is_parallel": true,
                                                            "self": 25.992526636006687,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 93.95929048694029,
                                                                    "count": 509664,
                                                                    "is_parallel": true,
                                                                    "self": 93.95929048694029
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 707.9331488139851,
                            "count": 63709,
                            "self": 2.9603169810445706,
                            "children": {
                                "process_trajectory": {
                                    "total": 135.39223642894285,
                                    "count": 63709,
                                    "self": 135.17281329494244,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.21942313400040803,
                                            "count": 2,
                                            "self": 0.21942313400040803
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 569.5805954039977,
                                    "count": 451,
                                    "self": 311.0546142580447,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 258.525981145953,
                                            "count": 22821,
                                            "self": 258.525981145953
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 9.420000424142927e-07,
                    "count": 1,
                    "self": 9.420000424142927e-07
                },
                "TrainerController._save_models": {
                    "total": 0.08494427499954327,
                    "count": 1,
                    "self": 0.0010231009991912288,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08392117400035204,
                            "count": 1,
                            "self": 0.08392117400035204
                        }
                    }
                }
            }
        }
    }
}