Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,30 +1,61 @@
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
-
-
|
| 4 |
-
-
|
| 5 |
- deep-reinforcement-learning
|
| 6 |
- reinforcement-learning
|
| 7 |
-
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
-
|
| 11 |
-
# **poca** Agent playing **SoccerTwos**
|
| 12 |
-
This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
|
| 13 |
-
|
| 14 |
-
## Usage (with ML-Agents)
|
| 15 |
-
The Documentation: https://github.com/huggingface/ml-agents#get-started
|
| 16 |
-
We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
|
| 17 |
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
```
|
| 23 |
-
### Watch your Agent play
|
| 24 |
-
You can watch your agent **playing directly in your browser:**.
|
| 25 |
-
|
| 26 |
-
1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
|
| 27 |
-
2. Step 1: Write your model_id: kostasang/poca-SoccerTwos
|
| 28 |
-
3. Step 2: Select your *.nn /*.onnx file
|
| 29 |
-
4. Click on Watch the agent play 👀
|
| 30 |
|
|
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
+
- LunarLander-v2
|
| 4 |
+
- ppo
|
| 5 |
- deep-reinforcement-learning
|
| 6 |
- reinforcement-learning
|
| 7 |
+
- custom-implementation
|
| 8 |
+
- deep-rl-course
|
| 9 |
+
model-index:
|
| 10 |
+
- name: PPO
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
type: reinforcement-learning
|
| 14 |
+
name: reinforcement-learning
|
| 15 |
+
dataset:
|
| 16 |
+
name: LunarLander-v2
|
| 17 |
+
type: LunarLander-v2
|
| 18 |
+
metrics:
|
| 19 |
+
- type: mean_reward
|
| 20 |
+
value: -113.57 +/- 74.63
|
| 21 |
+
name: mean_reward
|
| 22 |
+
verified: false
|
| 23 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
# PPO Agent Playing LunarLander-v2
|
| 26 |
|
| 27 |
+
This is a trained model of a PPO agent playing LunarLander-v2.
|
| 28 |
+
|
| 29 |
+
# Hyperparameters
|
| 30 |
+
```python
|
| 31 |
+
{'exp_name': 'ppo'
|
| 32 |
+
'seed': 1
|
| 33 |
+
'torch_deterministic': True
|
| 34 |
+
'cuda': True
|
| 35 |
+
'track': False
|
| 36 |
+
'wandb_project_name': 'cleanRL'
|
| 37 |
+
'wandb_entity': None
|
| 38 |
+
'capture_video': False
|
| 39 |
+
'env_id': 'LunarLander-v2'
|
| 40 |
+
'total_timesteps': 50000
|
| 41 |
+
'learning_rate': 0.00025
|
| 42 |
+
'num_envs': 4
|
| 43 |
+
'num_steps': 128
|
| 44 |
+
'anneal_lr': True
|
| 45 |
+
'gae': True
|
| 46 |
+
'gamma': 0.99
|
| 47 |
+
'gae_lambda': 0.95
|
| 48 |
+
'num_minibatches': 4
|
| 49 |
+
'update_epochs': 4
|
| 50 |
+
'norm_adv': True
|
| 51 |
+
'clip_coef': 0.2
|
| 52 |
+
'clip_vloss': True
|
| 53 |
+
'ent_coef': 0.01
|
| 54 |
+
'vf_coef': 0.5
|
| 55 |
+
'max_grad_norm': 0.5
|
| 56 |
+
'target_kl': None
|
| 57 |
+
'repo_id': 'kostasang/customPPO-LunarLander-v2'
|
| 58 |
+
'batch_size': 512
|
| 59 |
+
'minibatch_size': 128}
|
| 60 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|