Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Run this model with HF Jobs
Run DoyleHu/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/DoyleHu/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/DoyleHu/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 DoyleHu/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use DoyleHu/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="DoyleHu/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from DoyleHu/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/DoyleHu/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://DoyleHu/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/DoyleHu/ppo-Pyramids/resolve/main/run_logs/timers.json
18.7 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.1450454145669937, | |
| "min": 0.14236412942409515, | |
| "max": 1.4611347913742065, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 4297.98583984375, | |
| "min": 4289.146484375, | |
| "max": 44324.984375, | |
| "count": 85 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 2549901.0, | |
| "min": 29952.0, | |
| "max": 2549901.0, | |
| "count": 85 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 2549901.0, | |
| "min": 29952.0, | |
| "max": 2549901.0, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.8388871550559998, | |
| "min": -0.1170235127210617, | |
| "max": 0.881872832775116, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 255.86058044433594, | |
| "min": -27.734573364257812, | |
| "max": 275.1443176269531, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": -0.0008494937792420387, | |
| "min": -0.016685442999005318, | |
| "max": 0.45066988468170166, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": -0.25909560918807983, | |
| "min": -4.488384246826172, | |
| "max": 106.80876159667969, | |
| "count": 85 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06912557055971667, | |
| "min": 0.06312305026580724, | |
| "max": 0.07807353545240021, | |
| "count": 85 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.9677579878360334, | |
| "min": 0.48385139177008074, | |
| "max": 1.1007969585868218, | |
| "count": 85 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.015226287480940357, | |
| "min": 0.0005837392920540779, | |
| "max": 0.02814635401758623, | |
| "count": 85 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.21316802473316498, | |
| "min": 0.007308056836209463, | |
| "max": 0.23771131125007136, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 4.654698448436666e-05, | |
| "min": 4.654698448436666e-05, | |
| "max": 0.00029838354339596195, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.0006516577827811332, | |
| "min": 0.0006516577827811332, | |
| "max": 0.004072583642472167, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.11551563333333333, | |
| "min": 0.11551563333333333, | |
| "max": 0.19946118095238097, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.6172188666666665, | |
| "min": 1.3962282666666668, | |
| "max": 2.8575278333333336, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.00156001177, | |
| "min": 0.00156001177, | |
| "max": 0.009946171977142856, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.02184016478, | |
| "min": 0.02184016478, | |
| "max": 0.13576703055, | |
| "count": 85 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.008303637616336346, | |
| "min": 0.007676353212445974, | |
| "max": 0.5078893899917603, | |
| "count": 85 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.11625093221664429, | |
| "min": 0.10746894776821136, | |
| "max": 3.5552256107330322, | |
| "count": 85 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 222.44776119402985, | |
| "min": 200.56164383561645, | |
| "max": 999.0, | |
| "count": 85 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 29808.0, | |
| "min": 15984.0, | |
| "max": 33374.0, | |
| "count": 85 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 1.7616162838759246, | |
| "min": -1.0000000521540642, | |
| "max": 1.7866625805087641, | |
| "count": 85 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 237.81819832324982, | |
| "min": -29.955201655626297, | |
| "max": 262.6393993347883, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 1.7616162838759246, | |
| "min": -1.0000000521540642, | |
| "max": 1.7866625805087641, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 237.81819832324982, | |
| "min": -29.955201655626297, | |
| "max": 262.6393993347883, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.019123788171176177, | |
| "min": 0.017166384771291236, | |
| "max": 10.881783111952245, | |
| "count": 85 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 2.581711403108784, | |
| "min": 2.2990323727135547, | |
| "max": 174.10852979123592, | |
| "count": 85 | |
| }, | |
| "Pyramids.IsTraining.mean": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 85 | |
| }, | |
| "Pyramids.IsTraining.sum": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 85 | |
| } | |
| }, | |
| "metadata": { | |
| "timer_format_version": "0.1.0", | |
| "start_time_seconds": "1794319922", | |
| "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]", | |
| "command_line_arguments": "/usr/local/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": "1794326574" | |
| }, | |
| "total": 6652.014082349001, | |
| "count": 1, | |
| "self": 0.5301819440010149, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.025509077999913643, | |
| "count": 1, | |
| "self": 0.025509077999913643 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 6651.458391327, | |
| "count": 1, | |
| "self": 3.5407051291449534, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 2.152829444999952, | |
| "count": 1, | |
| "self": 2.152829444999952 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 6645.762019643854, | |
| "count": 165747, | |
| "self": 3.695896278770306, | |
| "children": { | |
| "env_step": { | |
| "total": 5000.960596466977, | |
| "count": 165747, | |
| "self": 4611.214631034225, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 387.57017972597873, | |
| "count": 165747, | |
| "self": 12.073018376180471, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 375.49716134979826, | |
| "count": 159882, | |
| "self": 375.49716134979826 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 2.175785706773695, | |
| "count": 165746, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 6636.800532689055, | |
| "count": 165746, | |
| "is_parallel": true, | |
| "self": 2330.602970744919, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0020803319998776715, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0007206129998849065, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.001359718999992765, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.001359718999992765 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.0547358470000745, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005292240000471793, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.0004930659999899945, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0004930659999899945 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.05028486800006249, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.05028486800006249 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.0034286889999748382, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00039612700038560433, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.003032561999589234, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.003032561999589234 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 4306.197561944136, | |
| "count": 165745, | |
| "is_parallel": true, | |
| "self": 88.49314115975449, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 59.01815990622981, | |
| "count": 165745, | |
| "is_parallel": true, | |
| "self": 59.01815990622981 | |
| }, | |
| "communicator.exchange": { | |
| "total": 3874.1324315961083, | |
| "count": 165745, | |
| "is_parallel": true, | |
| "self": 3874.1324315961083 | |
| }, | |
| "steps_from_proto": { | |
| "total": 284.5538292820438, | |
| "count": 165745, | |
| "is_parallel": true, | |
| "self": 59.92866245901064, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 224.62516682303317, | |
| "count": 1325960, | |
| "is_parallel": true, | |
| "self": 224.62516682303317 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 1641.1055268981063, | |
| "count": 165746, | |
| "self": 7.195948408231516, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 301.0931488448548, | |
| "count": 165746, | |
| "self": 300.63008618885556, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.4630626559992379, | |
| "count": 5, | |
| "self": 0.4630626559992379 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 1332.81642964502, | |
| "count": 1191, | |
| "self": 731.186381480986, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 601.630048164034, | |
| "count": 58329, | |
| "self": 601.630048164034 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.196000084746629e-06, | |
| "count": 1, | |
| "self": 1.196000084746629e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.002835913001035806, | |
| "count": 1, | |
| "self": 2.1795000066049397e-05, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.0028141180009697564, | |
| "count": 1, | |
| "self": 0.0028141180009697564 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |