Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Run this model with HF Jobs
Run DW12345/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/DW12345/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/DW12345/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.
Instructions to use DW12345/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use DW12345/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="DW12345/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from DW12345/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/DW12345/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://DW12345/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/DW12345/ppo-Pyramids/resolve/main/run_logs/timers.json
18.7 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.07416321337223053, | |
| "min": 0.06601513922214508, | |
| "max": 1.431619644165039, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 2221.336669921875, | |
| "min": 1982.566650390625, | |
| "max": 43429.61328125, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 989928.0, | |
| "min": 29944.0, | |
| "max": 989928.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 989928.0, | |
| "min": 29944.0, | |
| "max": 989928.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": -0.09822501987218857, | |
| "min": -0.1041916012763977, | |
| "max": 0.1305352747440338, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": -23.574005126953125, | |
| "min": -25.11017608642578, | |
| "max": 30.936859130859375, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.4287395477294922, | |
| "min": 0.21768857538700104, | |
| "max": 0.43765074014663696, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 102.89749145507812, | |
| "min": 52.680633544921875, | |
| "max": 105.47383117675781, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06521264730774308, | |
| "min": 0.06272103676384287, | |
| "max": 0.07293959871409593, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.912977062308403, | |
| "min": 0.5688143954649805, | |
| "max": 1.0285191060170558, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.0008535082096914113, | |
| "min": 0.000530260757770128, | |
| "max": 0.009973208277644413, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.011949114935679758, | |
| "min": 0.007423650608781791, | |
| "max": 0.07978566622115531, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 7.64272602388572e-06, | |
| "min": 7.64272602388572e-06, | |
| "max": 0.0002948409017197, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.00010699816433440006, | |
| "min": 0.00010699816433440006, | |
| "max": 0.003757877547374199, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10254754285714286, | |
| "min": 0.10254754285714286, | |
| "max": 0.19828030000000002, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.4356656, | |
| "min": 1.4356656, | |
| "max": 2.652625800000001, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.00026449953142857163, | |
| "min": 0.00026449953142857163, | |
| "max": 0.00982820197, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.0037029934400000025, | |
| "min": 0.0037029934400000025, | |
| "max": 0.12527731741999998, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.43224358558654785, | |
| "min": 0.21351075172424316, | |
| "max": 0.49899592995643616, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 6.05141019821167, | |
| "min": 2.775639772415161, | |
| "max": 6.121521472930908, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 999.0, | |
| "min": 915.8529411764706, | |
| "max": 999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 30969.0, | |
| "min": 16359.0, | |
| "max": 32971.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": -0.9997484390774081, | |
| "min": -0.9997742459658654, | |
| "max": -0.6222941645366304, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": -30.99220161139965, | |
| "min": -31.99200166761875, | |
| "max": -14.375000923871994, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": -0.9997484390774081, | |
| "min": -0.9997742459658654, | |
| "max": -0.6222941645366304, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": -30.99220161139965, | |
| "min": -31.99200166761875, | |
| "max": -14.375000923871994, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 4.222751289726265, | |
| "min": 2.113559427554719, | |
| "max": 9.364800628493814, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 130.90528998151422, | |
| "min": 67.63390168175101, | |
| "max": 159.20161068439484, | |
| "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": "1795360184", | |
| "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]", | |
| "command_line_arguments": "/usr/local/miniconda/envs/mlagents/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics", | |
| "mlagents_version": "1.2.0.dev0", | |
| "mlagents_envs_version": "1.2.0.dev0", | |
| "communication_protocol_version": "1.5.0", | |
| "pytorch_version": "2.8.0+cu128", | |
| "numpy_version": "1.23.5", | |
| "end_time_seconds": "1795362536" | |
| }, | |
| "total": 2351.60944457, | |
| "count": 1, | |
| "self": 0.4819387940001434, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.020841085000029125, | |
| "count": 1, | |
| "self": 0.020841085000029125 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 2351.106664691, | |
| "count": 1, | |
| "self": 1.5300630199531042, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 2.416190486000005, | |
| "count": 1, | |
| "self": 2.416190486000005 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 2347.084979530047, | |
| "count": 63124, | |
| "self": 1.6137921990452924, | |
| "children": { | |
| "env_step": { | |
| "total": 1694.6362942180094, | |
| "count": 63124, | |
| "self": 1530.539179385904, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 163.205685018052, | |
| "count": 63124, | |
| "self": 4.895501212069348, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 158.31018380598266, | |
| "count": 62558, | |
| "self": 158.31018380598266 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.8914298140534811, | |
| "count": 63124, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 2345.2946839820015, | |
| "count": 63124, | |
| "is_parallel": true, | |
| "self": 937.5701532290743, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.002002418000074613, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0006624040004226117, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.001340013999652001, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.001340013999652001 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.10127466300014021, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0006433300000026065, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.000515644999950382, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.000515644999950382 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.09507239800018397, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.09507239800018397 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.005043290000003253, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0004283829998712463, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.004614907000132007, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.004614907000132007 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 1407.7245307529272, | |
| "count": 63123, | |
| "is_parallel": true, | |
| "self": 35.602367176976486, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 23.804098246961985, | |
| "count": 63123, | |
| "is_parallel": true, | |
| "self": 23.804098246961985 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1233.9561885749567, | |
| "count": 63123, | |
| "is_parallel": true, | |
| "self": 1233.9561885749567 | |
| }, | |
| "steps_from_proto": { | |
| "total": 114.36187675403198, | |
| "count": 63123, | |
| "is_parallel": true, | |
| "self": 24.025260223129862, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 90.33661653090212, | |
| "count": 504984, | |
| "is_parallel": true, | |
| "self": 90.33661653090212 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 650.834893112992, | |
| "count": 63124, | |
| "self": 2.8811711749692677, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 113.81119512702458, | |
| "count": 63124, | |
| "self": 113.61808869902438, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.19310642800019195, | |
| "count": 2, | |
| "self": 0.19310642800019195 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 534.1425268109981, | |
| "count": 456, | |
| "self": 291.922280412987, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 242.2202463980111, | |
| "count": 22764, | |
| "self": 242.2202463980111 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 9.66999778029276e-07, | |
| "count": 1, | |
| "self": 9.66999778029276e-07 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.07543068800032415, | |
| "count": 1, | |
| "self": 0.0010170190003009338, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.07441366900002322, | |
| "count": 1, | |
| "self": 0.07441366900002322 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |