sgoodfriend commited on
Commit
6132b43
1 Parent(s): 2433e35

Push agent to the Hub

Browse files
Files changed (4) hide show
  1. README.md +54 -0
  2. model.pt +3 -0
  3. replay.mp4 +0 -0
  4. results.json +1 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - CartPole-v1
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: CartPole-v1
17
+ type: CartPole-v1
18
+ metrics:
19
+ - type: mean_reward
20
+ value: 500.00 +/- 0.00
21
+ name: mean_reward
22
+ verified: false
23
+ ---
24
+
25
+ # PPO Agent Playing CartPole-v1
26
+
27
+ This is a trained model of a PPO agent playing CartPole-v1.
28
+
29
+ # Hyperparameters
30
+ ```python
31
+ {'env_id': 'CartPole-v1'
32
+ 'seed': 1
33
+ 'num_envs': 8
34
+ 'pi_hidden_layers': (64
35
+ 64)
36
+ 'v_hidden_layers': (64
37
+ 64)
38
+ 'learning_rate': 0.001
39
+ 'anneal_lr': True
40
+ 'total_timesteps': 100000
41
+ 'num_steps': 32
42
+ 'gamma': 0.98
43
+ 'gae_lambda': 0.8
44
+ 'num_minibatches': 1
45
+ 'num_epochs': 20
46
+ 'norm_advantage': True
47
+ 'clip_coef': 0.2
48
+ 'clip_vloss': True
49
+ 'vf_coef': 0.5
50
+ 'ent_coef': 0.0
51
+ 'max_grad_norm': 0.5
52
+ 'target_kl': None}
53
+ ```
54
+
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d16194938666c58a0dd96cba1a3b19f3242156cbdd5e359ddc235f8607ff233
3
+ size 40037
replay.mp4 ADDED
Binary file (51.2 kB). View file
 
results.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"env_id": "CartPole-v1", "mean_reward": 500.0, "std_reward": 0.0, "n_evaluation_episodes": 10, "eval_datetime": "2023-02-17T00:50:48.703033"}