Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
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.
Instructions to use Alvarome/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use Alvarome/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="Alvarome/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from Alvarome/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/Alvarome/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://Alvarome/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/Alvarome/ppo-Pyramids/resolve/main/run_logs/timers.json
18.7 kB
| { | |
| "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 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |