Reinforcement Learning
ml-agents
ONNX
SnowballTarget
deep-reinforcement-learning
ML-Agents-SnowballTarget
Run this model with HF Jobs
Run Takeshi7172/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/Takeshi7172/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/Takeshi7172/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 Takeshi7172/ppo-SnowballTarget with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use Takeshi7172/ppo-SnowballTarget with ml-agents:
mlagents-load-from-hf --repo-id="Takeshi7172/ppo-SnowballTarget" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Upload 4 files
Browse filesFiles changed (4)
- README.mdAdded+35
- SnowballTarget.onnxAdded+3
- config.jsonAdded+1
- configuration.yamlAdded+79
1234567891011121314151617181920212223242526272829303132333435---library_name: ml-agentstags:- SnowballTarget- deep-reinforcement-learning- reinforcement-learning- ML-Agents-SnowballTarget---
# **ppo** Agent playing **SnowballTarget** This is a trained model of a **ppo** agent playing **SnowballTarget** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
## Usage (with ML-Agents) The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub: - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction - A *longer tutorial* to understand how works ML-Agents: https://huggingface.co/learn/deep-rl-course/unit5/introduction
### Resume the training ```bash mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume ```
### Watch your Agent play You can watch your agent **playing directly in your browser**
1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity 2. Step 1: Find your model_id: Takeshi7172/ppo-SnowballTarget 3. Step 2: Select your *.nn /*.onnx file 4. Click on Watch the agent play 👀 123version https://git-lfs.github.com/spec/v1oid sha256:0d53f68922d3e3ca87f50ede2efd33f87859d447699d0fb9e12d22ae5ba30f9esize 6506461{"default_settings": null, "behaviors": {"SnowballTarget": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 50000, "network_settings": {"normalize": false, "hidden_units": 256, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 10, "even_checkpoints": false, "max_steps": 200000, "time_horizon": 64, "summary_freq": 10000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "training-envs-executables/linux/SnowballTarget/SnowballTarget", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SnowballTarget1", "initialize_from": null, "load_model": false, "resume": false, "force": true, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879default_settings: nullbehaviors: SnowballTarget: trainer_type: ppo hyperparameters: batch_size: 128 buffer_size: 2048 learning_rate: 0.0003 beta: 0.005 epsilon: 0.2 lambd: 0.95 num_epoch: 3 shared_critic: false learning_rate_schedule: linear beta_schedule: linear epsilon_schedule: linear checkpoint_interval: 50000 network_settings: normalize: false hidden_units: 256 num_layers: 2 vis_encode_type: simple memory: null goal_conditioning_type: hyper deterministic: false reward_signals: extrinsic: gamma: 0.99 strength: 1.0 network_settings: normalize: false hidden_units: 128 num_layers: 2 vis_encode_type: simple memory: null goal_conditioning_type: hyper deterministic: false init_path: null keep_checkpoints: 10 even_checkpoints: false max_steps: 200000 time_horizon: 64 summary_freq: 10000 threaded: false self_play: null behavioral_cloning: nullenv_settings: env_path: training-envs-executables/linux/SnowballTarget/SnowballTarget env_args: null base_port: 5005 num_envs: 1 num_areas: 1 timeout_wait: 60 seed: -1 max_lifetime_restarts: 10 restarts_rate_limit_n: 1 restarts_rate_limit_period_s: 60engine_settings: width: 84 height: 84 quality_level: 5 time_scale: 20 target_frame_rate: -1 capture_frame_rate: 60 no_graphics: true no_graphics_monitor: falseenvironment_parameters: nullcheckpoint_settings: run_id: SnowballTarget1 initialize_from: null load_model: false resume: false force: true train_model: false inference: false results_dir: resultstorch_settings: device: nulldebug: falseREADME.mdAdded+35
SnowballTarget.onnxAdded+3
config.jsonAdded+1
configuration.yamlAdded+79