Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Run this model with HF Jobs
Run ameraizam31/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/ameraizam31/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/ameraizam31/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 ameraizam31/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use ameraizam31/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="ameraizam31/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from ameraizam31/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.3 kB
-
https://huggingface.co/ameraizam31/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://ameraizam31/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/ameraizam31/ppo-Pyramids/resolve/main/run_logs/timers.json
18.3 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.7425699830055237, | |
| "min": 0.7425699830055237, | |
| "max": 1.4740997552871704, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 22205.8125, | |
| "min": 22205.8125, | |
| "max": 44718.2890625, | |
| "count": 10 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 299984.0, | |
| "min": 29952.0, | |
| "max": 299984.0, | |
| "count": 10 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 299984.0, | |
| "min": 29952.0, | |
| "max": 299984.0, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": -0.0574297159910202, | |
| "min": -0.09785943478345871, | |
| "max": -0.05031168460845947, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": -13.840561866760254, | |
| "min": -23.192686080932617, | |
| "max": -12.074804306030273, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.03861953690648079, | |
| "min": 0.03861953690648079, | |
| "max": 0.2643796503543854, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 9.307308197021484, | |
| "min": 9.307308197021484, | |
| "max": 63.451114654541016, | |
| "count": 10 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.07194562593648555, | |
| "min": 0.06386493007002707, | |
| "max": 0.07453952337634213, | |
| "count": 10 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 1.0072387631107977, | |
| "min": 0.5217766636343949, | |
| "max": 1.0072387631107977, | |
| "count": 10 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.0019899593936688145, | |
| "min": 0.000244906828710994, | |
| "max": 0.006130739154001612, | |
| "count": 10 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.027859431511363403, | |
| "min": 0.0026939751158209344, | |
| "max": 0.042915174078011285, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 1.4649380831190478e-05, | |
| "min": 1.4649380831190478e-05, | |
| "max": 0.0002838354339596191, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.0002050913316366667, | |
| "min": 0.0002050913316366667, | |
| "max": 0.002346058417980667, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10488309523809525, | |
| "min": 0.10488309523809525, | |
| "max": 0.19461180952380958, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.4683633333333335, | |
| "min": 1.362282666666667, | |
| "max": 1.9820193333333331, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.0004978212142857145, | |
| "min": 0.0004978212142857145, | |
| "max": 0.00946171977142857, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.0069694970000000024, | |
| "min": 0.0069694970000000024, | |
| "max": 0.07824373139999999, | |
| "count": 10 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.03393792361021042, | |
| "min": 0.03393792361021042, | |
| "max": 0.4275645315647125, | |
| "count": 10 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.47513094544410706, | |
| "min": 0.47513094544410706, | |
| "max": 2.9929516315460205, | |
| "count": 10 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 945.9354838709677, | |
| "min": 945.9354838709677, | |
| "max": 999.0, | |
| "count": 10 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 29324.0, | |
| "min": 15984.0, | |
| "max": 31968.0, | |
| "count": 10 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": -0.7529032778355383, | |
| "min": -1.0000000521540642, | |
| "max": -0.6532308187049168, | |
| "count": 10 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": -23.340001612901688, | |
| "min": -31.998801663517952, | |
| "max": -16.000000834465027, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": -0.7529032778355383, | |
| "min": -1.0000000521540642, | |
| "max": -0.6532308187049168, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": -23.340001612901688, | |
| "min": -31.998801663517952, | |
| "max": -16.000000834465027, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.3353264948893939, | |
| "min": 0.3353264948893939, | |
| "max": 8.662454172037542, | |
| "count": 10 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 10.395121341571212, | |
| "min": 9.761175639927387, | |
| "max": 138.59926675260067, | |
| "count": 10 | |
| }, | |
| "Pyramids.IsTraining.mean": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 10 | |
| }, | |
| "Pyramids.IsTraining.sum": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 10 | |
| } | |
| }, | |
| "metadata": { | |
| "timer_format_version": "0.1.0", | |
| "start_time_seconds": "1795160502", | |
| "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]", | |
| "command_line_arguments": "/content/mla/bin/mlagents-learn /content/mla_work/PyramidsRND.yaml --env=/content/mla_envs/Pyramids/Pyramids --run-id=Pyramids1 --no-graphics --force --torch-device cpu", | |
| "mlagents_version": "1.1.0", | |
| "mlagents_envs_version": "1.1.0", | |
| "communication_protocol_version": "1.5.0", | |
| "pytorch_version": "2.3.1+cpu", | |
| "numpy_version": "1.23.5", | |
| "end_time_seconds": "1795161588" | |
| }, | |
| "total": 1086.8477798019994, | |
| "count": 1, | |
| "self": 0.6534817349984223, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.024044322000918328, | |
| "count": 1, | |
| "self": 0.024044322000918328 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 1086.170253745, | |
| "count": 1, | |
| "self": 0.6614051929118432, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 2.4169616180006415, | |
| "count": 1, | |
| "self": 2.4169616180006415 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 1082.9250802280876, | |
| "count": 18888, | |
| "self": 0.6774911539887398, | |
| "children": { | |
| "env_step": { | |
| "total": 754.0935905940187, | |
| "count": 18888, | |
| "self": 708.4210760233727, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 45.1986065297333, | |
| "count": 18888, | |
| "self": 1.941225171842234, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 43.25738135789106, | |
| "count": 18822, | |
| "self": 43.25738135789106 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.47390804091264727, | |
| "count": 18888, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 1083.9949988848166, | |
| "count": 18888, | |
| "is_parallel": true, | |
| "self": 430.0845363868393, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0022654700005659834, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0007355500001722248, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0015299200003937585, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0015299200003937585 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.08641777400043793, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0032655459999659797, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.000573834999158862, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.000573834999158862 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.07477021000158857, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.07477021000158857 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.007808182999724522, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0004852189995290246, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.007322964000195498, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.007322964000195498 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 653.9104624979773, | |
| "count": 18887, | |
| "is_parallel": true, | |
| "self": 16.29828514109977, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 10.598024243743566, | |
| "count": 18887, | |
| "is_parallel": true, | |
| "self": 10.598024243743566 | |
| }, | |
| "communicator.exchange": { | |
| "total": 577.377190515017, | |
| "count": 18887, | |
| "is_parallel": true, | |
| "self": 577.377190515017 | |
| }, | |
| "steps_from_proto": { | |
| "total": 49.63696259811695, | |
| "count": 18887, | |
| "is_parallel": true, | |
| "self": 10.454621418550232, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 39.18234117956672, | |
| "count": 151096, | |
| "is_parallel": true, | |
| "self": 39.18234117956672 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 328.1539984800802, | |
| "count": 18888, | |
| "self": 1.0352609800938808, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 46.08728130999043, | |
| "count": 18888, | |
| "self": 46.08728130999043 | |
| }, | |
| "_update_policy": { | |
| "total": 281.0314561899959, | |
| "count": 116, | |
| "self": 119.91390717198374, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 161.11754901801214, | |
| "count": 6885, | |
| "self": 161.11754901801214 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.3970002328278497e-06, | |
| "count": 1, | |
| "self": 1.3970002328278497e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.16680530899975565, | |
| "count": 1, | |
| "self": 0.001518041999588604, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.16528726700016705, | |
| "count": 1, | |
| "self": 0.16528726700016705 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |