Reinforcement Learning
ml-agents
TensorBoard
ONNX
SnowballTarget
deep-reinforcement-learning
ML-Agents-SnowballTarget
Run this model with HF Jobs
Run Alvarome/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/Alvarome/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/Alvarome/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 Alvarome/ppo-SnowballTarget with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use Alvarome/ppo-SnowballTarget with ml-agents:
mlagents-load-from-hf --repo-id="Alvarome/ppo-SnowballTarget" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Download run_logs/timers.json from Alvarome/ppo-SnowballTarget: direct link, hf CLI and curl.
- Browser
- Download file 17.6 kB
-
https://huggingface.co/Alvarome/ppo-SnowballTarget/resolve/main/run_logs/timers.json
- Command line
-
hf download hf://Alvarome/ppo-SnowballTarget/run_logs/timers.json
-
curl -L -o timers.json https://huggingface.co/Alvarome/ppo-SnowballTarget/resolve/main/run_logs/timers.json
17.6 kB
| { | |
| "name": "root", | |
| "gauges": { | |
| "SnowballTarget.Policy.Entropy.mean": { | |
| "value": 0.8019917607307434, | |
| "min": 0.8019917607307434, | |
| "max": 2.8405447006225586, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.Entropy.sum": { | |
| "value": 7622.1298828125, | |
| "min": 7622.1298828125, | |
| "max": 28996.28125, | |
| "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.627298355102539, | |
| "min": 0.37071359157562256, | |
| "max": 12.665425300598145, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": { | |
| "value": 2462.3232421875, | |
| "min": 71.9184341430664, | |
| "max": 2583.746826171875, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Losses.PolicyLoss.mean": { | |
| "value": 0.0715055003953132, | |
| "min": 0.06064636596661954, | |
| "max": 0.07246771858384213, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Losses.PolicyLoss.sum": { | |
| "value": 0.2860220015812528, | |
| "min": 0.24258546386647817, | |
| "max": 0.3623385929192106, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Losses.ValueLoss.mean": { | |
| "value": 0.20165003960331282, | |
| "min": 0.13002909884295044, | |
| "max": 0.2888987889476851, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Losses.ValueLoss.sum": { | |
| "value": 0.8066001584132513, | |
| "min": 0.5201163953718018, | |
| "max": 1.4444939447384255, | |
| "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": 24.454545454545453, | |
| "min": 3.522727272727273, | |
| "max": 25.181818181818183, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Environment.CumulativeReward.sum": { | |
| "value": 1076.0, | |
| "min": 155.0, | |
| "max": 1378.0, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.ExtrinsicReward.mean": { | |
| "value": 24.454545454545453, | |
| "min": 3.522727272727273, | |
| "max": 25.181818181818183, | |
| "count": 20 | |
| }, | |
| "SnowballTarget.Policy.ExtrinsicReward.sum": { | |
| "value": 1076.0, | |
| "min": 155.0, | |
| "max": 1378.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": "1796209139", | |
| "python_version": "3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]", | |
| "command_line_arguments": "/content/mlagents-unit5-env/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics", | |
| "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": "1796209637" | |
| }, | |
| "total": 497.3142078059999, | |
| "count": 1, | |
| "self": 0.4780857909997849, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.02499581400002171, | |
| "count": 1, | |
| "self": 0.02499581400002171 | |
| }, | |
| "TrainerController.start_learning": { | |
| "total": 496.8111262010001, | |
| "count": 1, | |
| "self": 0.3895024939929499, | |
| "children": { | |
| "TrainerController._reset_env": { | |
| "total": 1.9602295680000452, | |
| "count": 1, | |
| "self": 1.9602295680000452 | |
| }, | |
| "TrainerController.advance": { | |
| "total": 494.34895447900703, | |
| "count": 18192, | |
| "self": 0.4229667990347252, | |
| "children": { | |
| "env_step": { | |
| "total": 362.2270953229902, | |
| "count": 18192, | |
| "self": 281.1124475239636, | |
| "children": { | |
| "SubprocessEnvManager._take_step": { | |
| "total": 80.87221169801239, | |
| "count": 18192, | |
| "self": 1.3747352950190361, | |
| "children": { | |
| "TorchPolicy.evaluate": { | |
| "total": 79.49747640299336, | |
| "count": 18192, | |
| "self": 79.49747640299336 | |
| } | |
| } | |
| }, | |
| "workers": { | |
| "total": 0.2424361010141638, | |
| "count": 18192, | |
| "self": 0.0, | |
| "children": { | |
| "worker_root": { | |
| "total": 495.1562363929793, | |
| "count": 18192, | |
| "is_parallel": true, | |
| "self": 246.92814941099346, | |
| "children": { | |
| "run_training.setup": { | |
| "total": 0.0, | |
| "count": 0, | |
| "is_parallel": true, | |
| "self": 0.0, | |
| "children": { | |
| "steps_from_proto": { | |
| "total": 0.0023614499999666805, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0007824580000033166, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.001578991999963364, | |
| "count": 10, | |
| "is_parallel": true, | |
| "self": 0.001578991999963364 | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 0.08238900599997123, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0007504430000153661, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 0.0017925989999412195, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0017925989999412195 | |
| }, | |
| "communicator.exchange": { | |
| "total": 0.0728472519999741, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.0728472519999741 | |
| }, | |
| "steps_from_proto": { | |
| "total": 0.006998712000040541, | |
| "count": 1, | |
| "is_parallel": true, | |
| "self": 0.00043911900002058246, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 0.006559593000019959, | |
| "count": 10, | |
| "is_parallel": true, | |
| "self": 0.006559593000019959 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UnityEnvironment.step": { | |
| "total": 248.22808698198583, | |
| "count": 18191, | |
| "is_parallel": true, | |
| "self": 10.903060737972623, | |
| "children": { | |
| "UnityEnvironment._generate_step_input": { | |
| "total": 5.8775038730065035, | |
| "count": 18191, | |
| "is_parallel": true, | |
| "self": 5.8775038730065035 | |
| }, | |
| "communicator.exchange": { | |
| "total": 188.57490261900261, | |
| "count": 18191, | |
| "is_parallel": true, | |
| "self": 188.57490261900261 | |
| }, | |
| "steps_from_proto": { | |
| "total": 42.872619752004084, | |
| "count": 18191, | |
| "is_parallel": true, | |
| "self": 7.5708462500322184, | |
| "children": { | |
| "_process_rank_one_or_two_observation": { | |
| "total": 35.301773501971866, | |
| "count": 181910, | |
| "is_parallel": true, | |
| "self": 35.301773501971866 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_advance": { | |
| "total": 131.69889235698213, | |
| "count": 18192, | |
| "self": 0.4834325299605098, | |
| "children": { | |
| "process_trajectory": { | |
| "total": 30.04756032402304, | |
| "count": 18192, | |
| "self": 29.49650751202296, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.5510528120000799, | |
| "count": 4, | |
| "self": 0.5510528120000799 | |
| } | |
| } | |
| }, | |
| "_update_policy": { | |
| "total": 101.16789950299858, | |
| "count": 90, | |
| "self": 42.13125654600344, | |
| "children": { | |
| "TorchPPOOptimizer.update": { | |
| "total": 59.03664295699514, | |
| "count": 4587, | |
| "self": 59.03664295699514 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "trainer_threads": { | |
| "total": 1.4770000689168228e-06, | |
| "count": 1, | |
| "self": 1.4770000689168228e-06 | |
| }, | |
| "TrainerController._save_models": { | |
| "total": 0.11243818299999475, | |
| "count": 1, | |
| "self": 0.0007985400000052323, | |
| "children": { | |
| "RLTrainer._checkpoint": { | |
| "total": 0.11163964299998952, | |
| "count": 1, | |
| "self": 0.11163964299998952 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |