Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Run this model with HF Jobs
Run marinabluesea/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/marinabluesea/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/marinabluesea/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 marinabluesea/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use marinabluesea/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="marinabluesea/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from marinabluesea/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.8 kB
-
https://huggingface.co/marinabluesea/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://marinabluesea/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/marinabluesea/ppo-Pyramids/resolve/main/run_logs/timers.json
18.8 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.3027862012386322, | |
| "min": 0.30026957392692566, | |
| "max": 1.4843897819519043, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 9175.6328125, | |
| "min": 8984.0654296875, | |
| "max": 45030.44921875, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 989947.0, | |
| "min": 29880.0, | |
| "max": 989947.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 989947.0, | |
| "min": 29880.0, | |
| "max": 989947.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 0.6753856539726257, | |
| "min": -0.10377693176269531, | |
| "max": 0.6995308995246887, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 191.13414001464844, | |
| "min": -24.93323516845703, | |
| "max": 201.46490478515625, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.015461321920156479, | |
| "min": 0.00545034185051918, | |
| "max": 0.3978256583213806, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 4.375554084777832, | |
| "min": 1.4824929237365723, | |
| "max": 94.28468322753906, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.07267217526289947, | |
| "min": 0.0636294882670745, | |
| "max": 0.07534219128777878, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 1.0174104536805926, | |
| "min": 0.49405787563508097, | |
| "max": 1.062668113678228, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.017449630483280913, | |
| "min": 0.0009647934500187026, | |
| "max": 0.018294245901051904, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.24429482676593278, | |
| "min": 0.009839787813196403, | |
| "max": 0.2744136885157786, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 7.343711837842854e-06, | |
| "min": 7.343711837842854e-06, | |
| "max": 0.000295236001588, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.00010281196572979995, | |
| "min": 0.00010281196572979995, | |
| "max": 0.0035079224306925998, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.10244787142857141, | |
| "min": 0.10244787142857141, | |
| "max": 0.198412, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.4342701999999998, | |
| "min": 1.388884, | |
| "max": 2.5693074000000005, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.0002545423557142856, | |
| "min": 0.0002545423557142856, | |
| "max": 0.0098413588, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.003563592979999999, | |
| "min": 0.003563592979999999, | |
| "max": 0.11695380926000001, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.012728975154459476, | |
| "min": 0.012728975154459476, | |
| "max": 0.4050903916358948, | |
| "count": 33 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.17820565402507782, | |
| "min": 0.17820565402507782, | |
| "max": 2.835632801055908, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 280.85046728971963, | |
| "min": 280.85046728971963, | |
| "max": 999.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 30051.0, | |
| "min": 16679.0, | |
| "max": 33763.0, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": 1.681074752150295, | |
| "min": -1.0000000521540642, | |
| "max": 1.681074752150295, | |
| "count": 33 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": 179.87499848008156, | |
| "min": -32.000001668930054, | |
| "max": 179.87499848008156, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": 1.681074752150295, | |
| "min": -1.0000000521540642, | |
| "max": 1.681074752150295, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": 179.87499848008156, | |
| "min": -32.000001668930054, | |
| "max": 179.87499848008156, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.03692363663445984, | |
| "min": 0.03692363663445984, | |
| "max": 7.815683182548074, | |
| "count": 33 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 3.950829119887203, | |
| "min": 3.950829119887203, | |
| "max": 132.86661410331726, | |
| "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": "1796482732", | |
| "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]", | |
| "command_line_arguments": "/content/mlagents_env/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics --torch-device=cuda --results-dir=/content/drive/MyDrive/IA_II/Unit5/results", | |
| "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": "1796485728" | |
| }, | |
| "total": 2996.4342332620004, | |
| "count": 1, | |
| "self": 0.5485257550003553, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.12642996900012804, | |
| "count": 1, | |
| "self": 0.12642996900012804 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 2995.759277538, | |
| "count": 1, | |
| "self": 1.7709920690322178, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 2.1624854160002087, | |
| "count": 1, | |
| "self": 2.1624854160002087 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 2991.650978462968, | |
| "count": 64054, | |
| "self": 1.8139933829202164, | |
| "children": { | |
| "env_step": { | |
| "total": 2215.9713513260235, | |
| "count": 64054, | |
| "self": 2031.7499294811078, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 183.1225463619678, | |
| "count": 64054, | |
| "self": 5.6504937369836625, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 177.47205262498414, | |
| "count": 62554, | |
| "self": 177.47205262498414 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 1.0988754829479603, | |
| "count": 64054, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 2990.3601999950342, | |
| "count": 64054, | |
| "is_parallel": true, | |
| "self": 1097.343548365046, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0023938849999467493, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0007421889999932318, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0016516959999535175, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0016516959999535175 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.0925297189999128, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005635389998133178, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.0006764720001228852, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0006764720001228852 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.08655569100005778, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.08655569100005778 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.004734016999918822, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0003633470000750094, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0043706699998438125, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0043706699998438125 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 1893.0166516299882, | |
| "count": 64053, | |
| "is_parallel": true, | |
| "self": 38.68847231100358, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 25.893924776996073, | |
| "count": 64053, | |
| "is_parallel": true, | |
| "self": 25.893924776996073 | |
| }, | |
| "communicator.exchange": { | |
| "total": 1695.3529079640189, | |
| "count": 64053, | |
| "is_parallel": true, | |
| "self": 1695.3529079640189 | |
| }, | |
| "steps_from_proto": { | |
| "total": 133.08134657796973, | |
| "count": 64053, | |
| "is_parallel": true, | |
| "self": 30.031398849089555, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 103.04994772888017, | |
| "count": 512424, | |
| "is_parallel": true, | |
| "self": 103.04994772888017 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 773.8656337540242, | |
| "count": 64054, | |
| "self": 3.1188413039701572, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 153.54892902604956, | |
| "count": 64054, | |
| "self": 149.81966548704804, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 3.729263539001522, | |
| "count": 20, | |
| "self": 3.729263539001522 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 617.1978634240045, | |
| "count": 452, | |
| "self": 346.2723701320249, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 270.9254932919796, | |
| "count": 22833, | |
| "self": 270.9254932919796 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 9.859995770966634e-07, | |
| "count": 1, | |
| "self": 9.859995770966634e-07 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.17482060400016053, | |
| "count": 1, | |
| "self": 0.013244976000351016, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.1615756279998095, | |
| "count": 1, | |
| "self": 0.1615756279998095 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |