pableitorr
commited on
Commit
•
1e21041
1
Parent(s):
a23a474
Upload folder using huggingface_hub
Browse files- README.md +26 -27
- hyperparameters.json +1 -1
- model.pt +1 -1
- replay.mp4 +0 -0
- results.json +1 -1
README.md
CHANGED
@@ -1,27 +1,26 @@
|
|
1 |
-
---
|
2 |
-
tags:
|
3 |
-
- CartPole-v1
|
4 |
-
- reinforce
|
5 |
-
- reinforcement-learning
|
6 |
-
- custom-implementation
|
7 |
-
- deep-rl-class
|
8 |
-
model-index:
|
9 |
-
- name: Reinforce-CartPole-v1
|
10 |
-
results:
|
11 |
-
- task:
|
12 |
-
type: reinforcement-learning
|
13 |
-
name: reinforcement-learning
|
14 |
-
dataset:
|
15 |
-
name: CartPole-v1
|
16 |
-
type: CartPole-v1
|
17 |
-
metrics:
|
18 |
-
- type: mean_reward
|
19 |
-
value:
|
20 |
-
name: mean_reward
|
21 |
-
verified: false
|
22 |
-
---
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- CartPole-v1
|
4 |
+
- reinforce
|
5 |
+
- reinforcement-learning
|
6 |
+
- custom-implementation
|
7 |
+
- deep-rl-class
|
8 |
+
model-index:
|
9 |
+
- name: Reinforce-CartPole-v1
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
type: reinforcement-learning
|
13 |
+
name: reinforcement-learning
|
14 |
+
dataset:
|
15 |
+
name: CartPole-v1
|
16 |
+
type: CartPole-v1
|
17 |
+
metrics:
|
18 |
+
- type: mean_reward
|
19 |
+
value: 95.90 +/- 63.68
|
20 |
+
name: mean_reward
|
21 |
+
verified: false
|
22 |
+
---
|
23 |
+
|
24 |
+
# **Reinforce** Agent playing **CartPole-v1**
|
25 |
+
This is a trained model of a **Reinforce** agent playing **CartPole-v1** .
|
26 |
+
To learn to use this model and train yours check Unit 4 of the Deep Reinforcement Learning Course: https://huggingface.co/deep-rl-course/unit4/introduction
|
|
hyperparameters.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"h_size": 16, "n_training_episodes":
|
|
|
1 |
+
{"h_size": 16, "n_training_episodes": 100, "n_evaluation_episodes": 10, "max_t": 1000, "gamma": 1.0, "lr": 0.01, "env_id": "CartPole-v1", "state_space": 4, "action_space": 2}
|
model.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3264
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01a6059d8c8e74692b933741934e973d1c1cc9baeb60a4fa75e2748ae3e2f228
|
3 |
size 3264
|
replay.mp4
CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
|
|
results.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"env_id": "CartPole-v1", "mean_reward":
|
|
|
1 |
+
{"env_id": "CartPole-v1", "mean_reward": 95.9, "n_evaluation_episodes": 10, "eval_datetime": "2024-09-30T15:17:05.273170"}
|