chgenly commited on
Commit
0291d6f
1 Parent(s): 66cc2dc

Push agent to the Hub

Browse files
README.md CHANGED
@@ -1,10 +1,11 @@
1
  ---
2
- library_name: stable-baselines3
3
  tags:
4
  - LunarLander-v2
 
5
  - deep-reinforcement-learning
6
  - reinforcement-learning
7
- - stable-baselines3
 
8
  model-index:
9
  - name: PPO
10
  results:
@@ -16,22 +17,47 @@ model-index:
16
  type: LunarLander-v2
17
  metrics:
18
  - type: mean_reward
19
- value: 274.07 +/- 16.88
20
  name: mean_reward
21
  verified: false
22
  ---
23
 
24
- # **PPO** Agent playing **LunarLander-v2**
25
- This is a trained model of a **PPO** agent playing **LunarLander-v2**
26
- using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
27
 
28
- ## Usage (with Stable-baselines3)
29
- TODO: Add your code
30
-
31
-
32
- ```python
33
- from stable_baselines3 import ...
34
- from huggingface_sb3 import load_from_hub
35
-
36
- ...
37
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:
 
17
  type: LunarLander-v2
18
  metrics:
19
  - type: mean_reward
20
+ value: -181.93 +/- 107.74
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
+ {'repo_id': 'chgenly/ppo-LunarLander-v2'
32
+ 'f': '/root/.local/share/jupyter/runtime/kernel-fc440ec9-4b86-42b3-931f-d1f261eb719a.json'
33
+ 'exp_name': 'LunarLander-v2'
34
+ 'env_id': 'LunarLander-v2'
35
+ 'gym_id': 'LunarLander-v2'
36
+ 'learning_rate': 0.00025
37
+ 'seed': 1
38
+ 'total_timesteps': 25000
39
+ 'torch_deterministic': True
40
+ 'cuda': True
41
+ 'track': False
42
+ 'wandb_project_name': 'ppo-implementation-details'
43
+ 'wandb_entity': None
44
+ 'capture_video': False
45
+ 'num_envs': 4
46
+ 'num_steps': 128
47
+ 'anneal_lr': True
48
+ 'gae': True
49
+ 'gamma': 0.99
50
+ 'gae_lambda': 0.95
51
+ 'num_minibatches': 4
52
+ 'update_epochs': 4
53
+ 'norm_adv': True
54
+ 'clip_coef': 0.2
55
+ 'clip_vloss': True
56
+ 'ent_coef': 0.01
57
+ 'vf_coef': 0.5
58
+ 'max_grad_norm': 0.5
59
+ 'target_kl': None
60
+ 'batch_size': 512
61
+ 'minibatch_size': 128}
62
+ ```
63
+
logs/events.out.tfevents.1696277585.038f7278529f.748.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7b754dec5a3dd5b320b130b25ce93945f4ba88ebd0a818a2652e44af34814f8
3
+ size 55237
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7ba6a5bd123aeb8843b34aee2f28818669cfa92ffecbe9b3ed66b9e1ac1a884
3
+ size 42597
replay.mp4 CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
 
results.json CHANGED
@@ -1 +1 @@
1
- {"mean_reward": 274.074384874771, "std_reward": 16.881771142137016, "is_deterministic": true, "n_eval_episodes": 10, "eval_datetime": "2023-09-05T22:03:39.461414"}
 
1
+ {"env_id": "LunarLander-v2", "mean_reward": -181.93271356424765, "std_reward": 107.73695105217136, "n_evaluation_episodes": 10, "eval_datetime": "2023-10-02T20:17:53.583664"}