turhancan97
commited on
Commit
•
4018a89
1
Parent(s):
4c1b353
Push Reinforce agent to the Hub
Browse files- .gitattributes +1 -0
- README.md +26 -0
- hyperparameters.json +1 -0
- model.pt +3 -0
- replay.mp4 +3 -0
- results.json +1 -0
.gitattributes
CHANGED
@@ -29,3 +29,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
29 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
30 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
31 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
29 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
30 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
31 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +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-1
|
10 |
+
results:
|
11 |
+
- metrics:
|
12 |
+
- type: mean_reward
|
13 |
+
value: 98.30 +/- 25.19
|
14 |
+
name: mean_reward
|
15 |
+
task:
|
16 |
+
type: reinforcement-learning
|
17 |
+
name: reinforcement-learning
|
18 |
+
dataset:
|
19 |
+
name: CartPole-v1
|
20 |
+
type: CartPole-v1
|
21 |
+
---
|
22 |
+
|
23 |
+
# **Reinforce** Agent playing **CartPole-v1**
|
24 |
+
This is a trained model of a **Reinforce** agent playing **CartPole-v1** .
|
25 |
+
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
|
26 |
+
|
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:121fd6091335269f5098d598c9834e1648b1be3074e58aa7f9d2c25a0a45598b
|
3 |
+
size 2591
|
replay.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62b6f8bdbf938b8f35cd00c1eb1c77614dca01c89aff7df1f9158457d8503e00
|
3 |
+
size 10801
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"env_id": "CartPole-v1", "mean_reward": 98.3, "n_evaluation_episodes": 10, "eval_datetime": "2022-08-01T14:02:51.235197"}
|