pushing model
Browse files- README.md +46 -0
- agent.pth +3 -0
- events.out.tfevents.1665687395.pop-os.2005728.0 +3 -0
README.md
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- CartPole-v1
|
4 |
+
- ppo
|
5 |
+
- deep-reinforcement-learning
|
6 |
+
- reinforcement-learning
|
7 |
+
- custom-implementation
|
8 |
+
---
|
9 |
+
|
10 |
+
# (CleanRL) **PPO** Agent Playing **CartPole-v1**
|
11 |
+
|
12 |
+
This is a trained model of a PPO agent playing CartPole-v1.
|
13 |
+
To learn to code your own PPO agent and train it Unit 8 of the Deep Reinforcement Learning Class: https://github.com/huggingface/deep-rl-class/tree/main/unit8
|
14 |
+
|
15 |
+
# Hyperparameters
|
16 |
+
```python
|
17 |
+
{'exp_name': 'ppo'
|
18 |
+
'seed': 1
|
19 |
+
'torch_deterministic': True
|
20 |
+
'cuda': False
|
21 |
+
'track': False
|
22 |
+
'wandb_project_name': 'cleanRL'
|
23 |
+
'wandb_entity': None
|
24 |
+
'capture_video': True
|
25 |
+
'hf_repo_id': 'cleanrl/ppo'
|
26 |
+
'env_id': 'CartPole-v1'
|
27 |
+
'total_timesteps': 500000
|
28 |
+
'learning_rate': 0.00025
|
29 |
+
'num_envs': 4
|
30 |
+
'num_steps': 128
|
31 |
+
'anneal_lr': True
|
32 |
+
'gamma': 0.99
|
33 |
+
'gae_lambda': 0.95
|
34 |
+
'num_minibatches': 4
|
35 |
+
'update_epochs': 4
|
36 |
+
'norm_adv': True
|
37 |
+
'clip_coef': 0.2
|
38 |
+
'clip_vloss': True
|
39 |
+
'ent_coef': 0.01
|
40 |
+
'vf_coef': 0.5
|
41 |
+
'max_grad_norm': 0.5
|
42 |
+
'target_kl': None
|
43 |
+
'batch_size': 512
|
44 |
+
'minibatch_size': 128}
|
45 |
+
```
|
46 |
+
|
agent.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b78bfad86d1fa939203501f3b6e31a70f8db7a7a33bd6f86c98aeb98c420676a
|
3 |
+
size 40129
|
events.out.tfevents.1665687395.pop-os.2005728.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d3d73c5befb5d6ddfd9c5c22b9782c4a39329690c3fc6d439d816a998ee7fe0
|
3 |
+
size 3475
|