Upload q-learning trained agent for FrozenLake-v1-4x4-slippery
Browse files- .gitattributes +2 -0
- README.md +35 -0
- q-learning.pkl +3 -0
- replay.mp4 +3 -0
- results.json +1 -0
.gitattributes
CHANGED
@@ -25,3 +25,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
29 |
+
q-learning.pkl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- FrozenLake-v1-4x4
|
4 |
+
- q-learning
|
5 |
+
- reinforcement-learning
|
6 |
+
- custom-implementation
|
7 |
+
model-index:
|
8 |
+
- name: q-learning-FrozenLake-v1-4x4-slippery
|
9 |
+
results:
|
10 |
+
- metrics:
|
11 |
+
- type: mean_reward
|
12 |
+
value: 0.15 +/- 0.36
|
13 |
+
name: mean_reward
|
14 |
+
task:
|
15 |
+
type: reinforcement-learning
|
16 |
+
name: reinforcement-learning
|
17 |
+
dataset:
|
18 |
+
name: FrozenLake-v1-4x4
|
19 |
+
type: FrozenLake-v1-4x4
|
20 |
+
---
|
21 |
+
|
22 |
+
# **Q-Learning** Agent playing **FrozenLake-v1-4x4-slippery**
|
23 |
+
This is a trained model of a **Q-Learning** agent playing **FrozenLake-v1-4x4-slippery** .
|
24 |
+
|
25 |
+
## Usage
|
26 |
+
```python
|
27 |
+
model = load_from_hub(repo_id="linker81/q-learning-FrozenLake-v1-4x4-slippery", filename="q-learning.pkl")
|
28 |
+
|
29 |
+
# Don't forget to check if you need to add additional attributes (is_slippery=False etc)
|
30 |
+
env = gym.make(model["env_id"])
|
31 |
+
|
32 |
+
evaluate_agent(env, model["max_steps"], model["n_eval_episodes"], model["qtable"], model["eval_seed"])
|
33 |
+
|
34 |
+
```
|
35 |
+
|
q-learning.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a159976c61993a584d55df196801cc2bc3dd3c5d241296cfcab0b8568cd0f0ab
|
3 |
+
size 921
|
replay.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:04032b940a7d582ea56f29740e496ebbb716913da6470db4cf087e5d6e7c7346
|
3 |
+
size 30650
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"env_id": "FrozenLake-v1", "mean_reward": 0.15, "n_eval_episodes": 100, "eval_datetime": "2022-05-21T09:31:22.872070"}
|