Reinforcement Learning
ml-agents
TensorBoard
ONNX
SnowballTarget
deep-reinforcement-learning
ML-Agents-SnowballTarget
Run this model with HF Jobs
Run razdiamond/ppo-SnowballTarget 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/razdiamond/ppo-SnowballTarget. 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/razdiamond/ppo-SnowballTarget 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 razdiamond/ppo-SnowballTarget with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use razdiamond/ppo-SnowballTarget with ml-agents:
mlagents-load-from-hf --repo-id="razdiamond/ppo-SnowballTarget" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from razdiamond/ppo-SnowballTarget: direct link, hf CLI and curl.
- Browser
- Download file 17.5 kB
-
https://huggingface.co/razdiamond/ppo-SnowballTarget/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://razdiamond/ppo-SnowballTarget/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/razdiamond/ppo-SnowballTarget/resolve/main/run_logs/timers.json
17.5 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "SnowballTarget.Policy.Entropy.mean": { | |
| "value": 0.9450157284736633, | |
| "min": 0.9450157284736633, | |
| "max": 2.862935781478882, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.Entropy.sum": { | |
| "value": 8981.4296875, | |
| "min": 8981.4296875, | |
| "max": 29224.84765625, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Step.mean": { | |
| "value": 199984.0, | |
| "min": 9952.0, | |
| "max": 199984.0, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Step.sum": { | |
| "value": 199984.0, | |
| "min": 9952.0, | |
| "max": 199984.0, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": { | |
| "value": 12.66357135772705, | |
| "min": 0.2815200686454773, | |
| "max": 12.66357135772705, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 2469.396484375, | |
| "min": 54.61489486694336, | |
| "max": 2551.3203125, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Losses.PolicyLoss.mean": { | |
| "value": 0.06844882630941677, | |
| "min": 0.06101759584282762, | |
| "max": 0.07766751948699546, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Losses.PolicyLoss.sum": { | |
| "value": 0.2737953052376671, | |
| "min": 0.24938146158591754, | |
| "max": 0.37138409469038125, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Losses.ValueLoss.mean": { | |
| "value": 0.2102382021645705, | |
| "min": 0.12751590336134255, | |
| "max": 0.4312336364505338, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Losses.ValueLoss.sum": { | |
| "value": 0.840952808658282, | |
| "min": 0.5100636134453702, | |
| "max": 2.0944868483964134, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.LearningRate.mean": { | |
| "value": 8.082097306000005e-06, | |
| "min": 8.082097306000005e-06, | |
| "max": 0.000291882002706, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.LearningRate.sum": { | |
| "value": 3.232838922400002e-05, | |
| "min": 3.232838922400002e-05, | |
| "max": 0.00138516003828, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.Epsilon.mean": { | |
| "value": 0.10269400000000001, | |
| "min": 0.10269400000000001, | |
| "max": 0.19729400000000002, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.Epsilon.sum": { | |
| "value": 0.41077600000000003, | |
| "min": 0.41077600000000003, | |
| "max": 0.96172, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.Beta.mean": { | |
| "value": 0.0001444306000000001, | |
| "min": 0.0001444306000000001, | |
| "max": 0.0048649706, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.Beta.sum": { | |
| "value": 0.0005777224000000004, | |
| "min": 0.0005777224000000004, | |
| "max": 0.023089828, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Environment.EpisodeLength.mean": { | |
| "value": 199.0, | |
| "min": 199.0, | |
| "max": 199.0, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Environment.EpisodeLength.sum": { | |
| "value": 8756.0, | |
| "min": 8756.0, | |
| "max": 10945.0, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Environment.CumulativeReward.mean": { | |
| "value": 25.931818181818183, | |
| "min": 3.6363636363636362, | |
| "max": 25.931818181818183, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Environment.CumulativeReward.sum": { | |
| "value": 1141.0, | |
| "min": 160.0, | |
| "max": 1373.0, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.ExtrinsicReward.mean": { | |
| "value": 25.931818181818183, | |
| "min": 3.6363636363636362, | |
| "max": 25.931818181818183, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.ExtrinsicReward.sum": { | |
| "value": 1141.0, | |
| "min": 160.0, | |
| "max": 1373.0, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.IsTraining.mean": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.IsTraining.sum": { | |
| "value": 1.0, | |
| "min": 1.0, | |
| "max": 1.0, | |
| "count": 20 | |
| } | |
| }, | |
| "metadata": { | |
| "timer_format_version": "0.1.0", | |
| "start_time_seconds": "1794666597", | |
| "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/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --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": "1794667074" | |
| }, | |
| "total": 477.5391274550001, | |
| "count": 1, | |
| "self": 0.9021305250000751, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.029018995999990693, | |
| "count": 1, | |
| "self": 0.029018995999990693 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 476.607977934, | |
| "count": 1, | |
| "self": 0.38976416898492516, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 3.421043024000028, | |
| "count": 1, | |
| "self": 3.421043024000028 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 472.6728422790151, | |
| "count": 18192, | |
| "self": 0.4195401930295475, | |
| "children": { | |
| "env_step": { | |
| "total": 348.9491069189959, | |
| "count": 18192, | |
| "self": 273.54940547197964, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 75.16918333699562, | |
| "count": 18192, | |
| "self": 1.3521169829837163, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 73.8170663540119, | |
| "count": 18192, | |
| "self": 73.8170663540119 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.2305181100206255, | |
| "count": 18192, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 474.6830018640152, | |
| "count": 18192, | |
| "is_parallel": true, | |
| "self": 234.271846518016, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.004985721000025478, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0033259919998727128, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.0016597290001527654, | |
| "count": 10, | |
| "is_parallel": true, | |
| "self": 0.0016597290001527654 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.07205748999990647, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0006490859998393717, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.00042648500004816015, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00042648500004816015 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.06711929599998712, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.06711929599998712 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.0038626230000318174, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00046267899995200423, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.003399944000079813, | |
| "count": 10, | |
| "is_parallel": true, | |
| "self": 0.003399944000079813 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 240.4111553459992, | |
| "count": 18191, | |
| "is_parallel": true, | |
| "self": 10.917868241006545, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 5.68049014700307, | |
| "count": 18191, | |
| "is_parallel": true, | |
| "self": 5.68049014700307 | |
| }, | |
| "communicator.exchange": { | |
| "total": 183.44651199598854, | |
| "count": 18191, | |
| "is_parallel": true, | |
| "self": 183.44651199598854 | |
| }, | |
| "steps_from_proto": { | |
| "total": 40.36628496200103, | |
| "count": 18191, | |
| "is_parallel": true, | |
| "self": 7.158213505018239, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 33.20807145698279, | |
| "count": 181910, | |
| "is_parallel": true, | |
| "self": 33.20807145698279 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 123.30419516698964, | |
| "count": 18192, | |
| "self": 0.5028771579925433, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 25.58850772299718, | |
| "count": 18192, | |
| "self": 25.12697554299723, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.4615321799999492, | |
| "count": 4, | |
| "self": 0.4615321799999492 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 97.21281028599992, | |
| "count": 90, | |
| "self": 41.062007833994926, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 56.150802452004996, | |
| "count": 4587, | |
| "self": 56.150802452004996 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.2880000213044696e-06, | |
| "count": 1, | |
| "self": 1.2880000213044696e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.12432717399997273, | |
| "count": 1, | |
| "self": 0.0009679669999513862, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.12335920700002134, | |
| "count": 1, | |
| "self": 0.12335920700002134 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |