foleymon commited on
Commit
40aadb1
·
verified ·
1 Parent(s): a9e81cb

Add model-index with mean_reward for progress checker

Browse files
Files changed (1) hide show
  1. README.md +86 -21
README.md CHANGED
@@ -5,31 +5,96 @@ tags:
5
  - deep-reinforcement-learning
6
  - reinforcement-learning
7
  - ML-Agents-SnowballTarget
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
 
10
- # **ppo** Agent playing **SnowballTarget**
11
- This is a trained model of a **ppo** agent playing **SnowballTarget**
12
- using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
 
14
- ## Usage (with ML-Agents)
15
- The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
 
17
- We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
- - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
- browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
- - A *longer tutorial* to understand how works ML-Agents:
21
- https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
 
23
- ### Resume the training
24
- ```bash
25
- mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
- ```
27
 
28
- ### Watch your Agent play
29
- You can watch your agent **playing directly in your browser**
 
 
30
 
31
- 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
- 2. Step 1: Find your model_id: foleymon/ppo-SnowballTarget
33
- 3. Step 2: Select your *.nn /*.onnx file
34
- 4. Click on Watch the agent play 👀
35
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  - deep-reinforcement-learning
6
  - reinforcement-learning
7
  - ML-Agents-SnowballTarget
8
+ model-index:
9
+ - name: ppo-SnowballTarget
10
+ results:
11
+ - task:
12
+ type: reinforcement-learning
13
+ name: Reinforcement Learning
14
+ dataset:
15
+ type: ML-Agents-SnowballTarget
16
+ name: ML-Agents-SnowballTarget
17
+ metrics:
18
+ - type: mean_reward
19
+ value: 25.27 +/- 2.40
20
+ name: mean_reward
21
+ verified: false
22
  ---
23
 
24
+ # **ppo** Agent playing **SnowballTarget**
25
+ This is a trained model of a **ppo** agent playing **SnowballTarget**
26
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
27
 
28
+ Trained for the Hugging Face Deep Reinforcement Learning Course, Unit 5.
29
+ Training: PPO, 200,000 steps on a Tesla T4 GPU. Final mean reward 25.27 +/- 2.40 (result 22.87).
30
 
31
+ ## Usage (with ML-Agents)
32
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
 
 
 
33
 
34
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
35
+ - 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
36
+ - A *longer tutorial* to understand how works ML-Agents: https://huggingface.co/learn/deep-rl-course/unit5/introduction
 
37
 
38
+ ### Resume the training
39
+ ```bash
40
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
41
+ ```
42
 
43
+ ### Watch your Agent play
44
+ You can watch your agent **playing directly in your browser**
45
+
46
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
47
+ 2. Step 1: Find your model_id: foleymon/ppo-SnowballTarget
48
+ 3. Step 2: Select your *.nn /*.onnx file
49
+ 4. Click on Watch the agent play
50
+ %%writefile /content/README_snowball.md
51
+ ---
52
+ library_name: ml-agents
53
+ tags:
54
+ - SnowballTarget
55
+ - deep-reinforcement-learning
56
+ - reinforcement-learning
57
+ - ML-Agents-SnowballTarget
58
+ model-index:
59
+ - name: ppo-SnowballTarget
60
+ results:
61
+ - task:
62
+ type: reinforcement-learning
63
+ name: Reinforcement Learning
64
+ dataset:
65
+ type: ML-Agents-SnowballTarget
66
+ name: ML-Agents-SnowballTarget
67
+ metrics:
68
+ - type: mean_reward
69
+ value: 25.27 +/- 2.40
70
+ name: mean_reward
71
+ verified: false
72
+ ---
73
+
74
+ # **ppo** Agent playing **SnowballTarget**
75
+ This is a trained model of a **ppo** agent playing **SnowballTarget**
76
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
77
+
78
+ Trained for the Hugging Face Deep Reinforcement Learning Course, Unit 5.
79
+ Training: PPO, 200,000 steps on a Tesla T4 GPU. Final mean reward 25.27 +/- 2.40 (result 22.87).
80
+
81
+ ## Usage (with ML-Agents)
82
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
83
+
84
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
85
+ - 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
86
+ - A *longer tutorial* to understand how works ML-Agents: https://huggingface.co/learn/deep-rl-course/unit5/introduction
87
+
88
+ ### Resume the training
89
+ ```bash
90
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
91
+ ```
92
+
93
+ ### Watch your Agent play
94
+ You can watch your agent **playing directly in your browser**
95
+
96
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
97
+ 2. Step 1: Find your model_id: foleymon/ppo-SnowballTarget
98
+ 3. Step 2: Select your *.nn /*.onnx file
99
+ 4. Click on Watch the agent play
100
+