harveymannering
commited on
Commit
•
4f70486
1
Parent(s):
2c4cca4
Push Reinforce agent to the Hub
Browse files- .gitattributes +1 -0
- README.md +27 -0
- hyperparameters.json +1 -0
- model.pt +3 -0
- replay.mp4 +3 -0
- results.json +1 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- CartPole-v1
|
4 |
+
- reinforce
|
5 |
+
- reinforcement-learning
|
6 |
+
- custom-implementation
|
7 |
+
- deep-rl-class
|
8 |
+
model-index:
|
9 |
+
- name: 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: 28.20 +/- 8.29
|
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 5 of the Deep Reinforcement Learning Class: https://github.com/huggingface/deep-rl-class/tree/main/unit5
|
27 |
+
|
hyperparameters.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"h_size": 16, "n_training_episodes": 1000, "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
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f88c2dccb189fd1777be5ea6528015e897f6fd4671111aad2ed416a05e094233
|
3 |
+
size 2899
|
replay.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d6e2ccb931b993f4054d4209ad0dc2588bc6aaac2efea7fe127cff1c6e7dea0
|
3 |
+
size 4143
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"env_id": "CartPole-v1", "mean_reward": 28.2, "n_evaluation_episodes": 10, "eval_datetime": "2022-12-20T10:17:14.455179"}
|