Run this model with HF Jobs

Run LordN77/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/LordN77/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/LordN77/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.
File size: 1,602 Bytes
4e26c36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
library_name: ml-agents
pipeline_tag: reinforcement-learning
tags:
- SnowballTarget
- ML-Agents-SnowballTarget
- ml-agents
- reinforcement-learning
- deep-reinforcement-learning
- ppo
model-index:
- name: ppo-SnowballTarget
  results:
  - task:
      type: reinforcement-learning
      name: Reinforcement Learning
    dataset:
      type: ML-Agents-SnowballTarget
      name: ML-Agents-SnowballTarget
    metrics:
    - type: mean_reward
      name: Mean reward
      value: "21.3125 +/- 2.3108"
---

# SnowballTarget · Unity ML-Agents

Trained using PPO in the [official Unity environment](https://github.com/huggingface/Snowball-Target) for [Deep RL Course Unit 5](https://huggingface.co/learn/deep-rl-course/en/unit5/hands-on). Training used Unity ML-Agents 1.1.0 and PyTorch 2.5.1.

| Evaluation | Result |
| --- | ---: |
| Training steps | 160,512 |
| Held-out episodes | 32 |
| Mean episodic reward | 21.312 |
| Population standard deviation | 2.311 |
| Mean minus standard deviation | 19.002 |

The exported ONNX policy was evaluated in a fresh Unity process with seeded stochastic actions and original environment rewards. The individual returns and evaluation seed are in `results.json`.

## Download and run

Download `restore_onnx.py` and run `python restore_onnx.py` to recover the original `SnowballTarget.onnx` byte for byte. The script verifies the SHA-256 digest before writing the model.

`training.yaml` records the configuration used for training. The [Unity playground](https://huggingface.co/spaces/ThomasSimonini/ML-Agents-SnowballTarget) provides the official environment.