Reinforcement Learning
ml-agents
TensorBoard
ONNX
Pyramids
deep-reinforcement-learning
ML-Agents-Pyramids
Run this model with HF Jobs
Run javadian/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/javadian/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/javadian/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 javadian/ppo-Pyramids with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use javadian/ppo-Pyramids with ml-agents:
mlagents-load-from-hf --repo-id="javadian/ppo-Pyramids" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from javadian/ppo-Pyramids: direct link, hf CLI and curl.
- Browser
- Download file 18.3 kB
-
https://huggingface.co/javadian/ppo-Pyramids/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://javadian/ppo-Pyramids/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/javadian/ppo-Pyramids/resolve/main/run_logs/timers.json
18.3 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "Pyramids.Policy.Entropy.mean": { | |
| "value": 0.5917755961418152, | |
| "min": 0.5917755961418152, | |
| "max": 1.434083104133606, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.Entropy.sum": { | |
| "value": 18188.814453125, | |
| "min": 18188.814453125, | |
| "max": 43504.34375, | |
| "count": 6 | |
| }, | |
| "Pyramids.Step.mean": { | |
| "value": 179967.0, | |
| "min": 29952.0, | |
| "max": 179967.0, | |
| "count": 6 | |
| }, | |
| "Pyramids.Step.sum": { | |
| "value": 179967.0, | |
| "min": 29952.0, | |
| "max": 179967.0, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": -0.06785547733306885, | |
| "min": -0.12404526025056839, | |
| "max": -0.0559094101190567, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": -16.35317039489746, | |
| "min": -29.894906997680664, | |
| "max": -13.53007698059082, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.mean": { | |
| "value": 0.06754188984632492, | |
| "min": 0.06754188984632492, | |
| "max": 0.29672038555145264, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.RndValueEstimate.sum": { | |
| "value": 16.27759552001953, | |
| "min": 16.27759552001953, | |
| "max": 71.50961303710938, | |
| "count": 6 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.mean": { | |
| "value": 0.06785054874650971, | |
| "min": 0.06745422278268383, | |
| "max": 0.0706664395350252, | |
| "count": 6 | |
| }, | |
| "Pyramids.Losses.PolicyLoss.sum": { | |
| "value": 0.8820571337046262, | |
| "min": 0.4893640632954916, | |
| "max": 0.8872115380914766, | |
| "count": 6 | |
| }, | |
| "Pyramids.Losses.ValueLoss.mean": { | |
| "value": 0.001379933417792753, | |
| "min": 0.0011534125540485398, | |
| "max": 0.0075537153861226945, | |
| "count": 6 | |
| }, | |
| "Pyramids.Losses.ValueLoss.sum": { | |
| "value": 0.01793913443130579, | |
| "min": 0.013840950648582477, | |
| "max": 0.052876007702858864, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.LearningRate.mean": { | |
| "value": 5.117327524996153e-05, | |
| "min": 5.117327524996153e-05, | |
| "max": 0.00027575315093942855, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.LearningRate.sum": { | |
| "value": 0.0006652525782494999, | |
| "min": 0.0006652525782494999, | |
| "max": 0.002082969205677, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.Epsilon.mean": { | |
| "value": 0.11705773076923078, | |
| "min": 0.11705773076923078, | |
| "max": 0.19191771428571427, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.Epsilon.sum": { | |
| "value": 1.5217505, | |
| "min": 1.343424, | |
| "max": 1.7926335000000004, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.Beta.mean": { | |
| "value": 0.0017140673038461543, | |
| "min": 0.0017140673038461543, | |
| "max": 0.009192579657142857, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.Beta.sum": { | |
| "value": 0.022282874950000007, | |
| "min": 0.022282874950000007, | |
| "max": 0.06945286770000002, | |
| "count": 6 | |
| }, | |
| "Pyramids.Losses.RNDLoss.mean": { | |
| "value": 0.05337265878915787, | |
| "min": 0.05337265878915787, | |
| "max": 0.5042997598648071, | |
| "count": 6 | |
| }, | |
| "Pyramids.Losses.RNDLoss.sum": { | |
| "value": 0.6938445568084717, | |
| "min": 0.6938445568084717, | |
| "max": 3.5300984382629395, | |
| "count": 6 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.mean": { | |
| "value": 963.9375, | |
| "min": 963.9090909090909, | |
| "max": 999.0, | |
| "count": 6 | |
| }, | |
| "Pyramids.Environment.EpisodeLength.sum": { | |
| "value": 30846.0, | |
| "min": 15984.0, | |
| "max": 33021.0, | |
| "count": 6 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.mean": { | |
| "value": -0.8397625510115176, | |
| "min": -1.0000000521540642, | |
| "max": -0.7829212602792364, | |
| "count": 6 | |
| }, | |
| "Pyramids.Environment.CumulativeReward.sum": { | |
| "value": -26.872401632368565, | |
| "min": -30.99880161881447, | |
| "max": -16.000000834465027, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.mean": { | |
| "value": -0.8397625510115176, | |
| "min": -1.0000000521540642, | |
| "max": -0.7829212602792364, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.ExtrinsicReward.sum": { | |
| "value": -26.872401632368565, | |
| "min": -30.99880161881447, | |
| "max": -16.000000834465027, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.RndReward.mean": { | |
| "value": 0.5527584084775299, | |
| "min": 0.5527584084775299, | |
| "max": 10.569290391169488, | |
| "count": 6 | |
| }, | |
| "Pyramids.Policy.RndReward.sum": { | |
| "value": 17.688269071280956, | |
| "min": 17.688269071280956, | |
| "max": 169.10864625871181, | |
| "count": 6 | |
| }, | |
| "Pyramids.IsTraining.mean": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 6 | |
| }, | |
| "Pyramids.IsTraining.sum": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 6 | |
| } | |
| }, | |
| "metadata": { | |
| "timer_format_version": "0.1.0", | |
| "start_time_seconds": "1796273034", | |
| "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]", | |
| "command_line_arguments": "/content/mlenv/bin/mlagents-learn ./config/ppo/PyramidsRND_200k.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids1 --no-graphics", | |
| "mlagents_version": "1.1.0", | |
| "mlagents_envs_version": "1.1.0", | |
| "communication_protocol_version": "1.5.0", | |
| "pytorch_version": "2.2.2+cpu", | |
| "numpy_version": "1.23.5", | |
| "end_time_seconds": "1796273542" | |
| }, | |
| "total": 507.7786859920002, | |
| "count": 1, | |
| "self": 0.743212905999826, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.015719919000275695, | |
| "count": 1, | |
| "self": 0.015719919000275695 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 507.0197531670001, | |
| "count": 1, | |
| "self": 0.296163690954927, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 1.647666615000162, | |
| "count": 1, | |
| "self": 1.647666615000162 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 504.997561056045, | |
| "count": 12601, | |
| "self": 0.3261407261798013, | |
| "children": { | |
| "env_step": { | |
| "total": 331.47596651092, | |
| "count": 12601, | |
| "self": 308.75802356990744, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 22.530339031997755, | |
| "count": 12601, | |
| "self": 1.0686695739859715, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 21.461669458011784, | |
| "count": 12566, | |
| "self": 21.461669458011784 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.18760390901479695, | |
| "count": 12601, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 506.0917321969514, | |
| "count": 12601, | |
| "is_parallel": true, | |
| "self": 224.00719093504904, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0023314009999921836, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0007492630006709078, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0015821379993212759, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0015821379993212759 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.04954232999989472, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005986870000924682, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.0005449799996313232, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0005449799996313232 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.0465951370001676, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0465951370001676 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.0018035260000033304, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0003704080004354182, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0014331179995679122, | |
| "count": 8, | |
| "is_parallel": true, | |
| "self": 0.0014331179995679122 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 282.08454126190236, | |
| "count": 12600, | |
| "is_parallel": true, | |
| "self": 7.314409464957407, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 4.890409737988193, | |
| "count": 12600, | |
| "is_parallel": true, | |
| "self": 4.890409737988193 | |
| }, | |
| "communicator.exchange": { | |
| "total": 244.45095222203645, | |
| "count": 12600, | |
| "is_parallel": true, | |
| "self": 244.45095222203645 | |
| }, | |
| "steps_from_proto": { | |
| "total": 25.42876983692031, | |
| "count": 12600, | |
| "is_parallel": true, | |
| "self": 5.533632164058417, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 19.895137672861892, | |
| "count": 100800, | |
| "is_parallel": true, | |
| "self": 19.895137672861892 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 173.19545381894523, | |
| "count": 12601, | |
| "self": 0.4221374489225127, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 25.976227299018774, | |
| "count": 12601, | |
| "self": 25.976227299018774 | |
| }, | |
| "_update_policy": { | |
| "total": 146.79708907100394, | |
| "count": 73, | |
| "self": 67.30449971401913, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 79.49258935698481, | |
| "count": 4563, | |
| "self": 79.49258935698481 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 9.840005077421665e-07, | |
| "count": 1, | |
| "self": 9.840005077421665e-07 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.07836082099947816, | |
| "count": 1, | |
| "self": 0.001174502999674587, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.07718631799980358, | |
| "count": 1, | |
| "self": 0.07718631799980358 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |