kraken2404
commited on
Commit
•
a1f1b13
1
Parent(s):
5f5bbe5
Upload . with huggingface_hub
Browse files- README.md +35 -0
- q-learning.pkl +3 -0
- replay.mp4 +0 -0
- results.json +1 -0
README.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- FrozenLake-v1-8x8
|
4 |
+
- q-learning
|
5 |
+
- reinforcement-learning
|
6 |
+
- custom-implementation
|
7 |
+
model-index:
|
8 |
+
- name: q-FrozenLake-v1-8x8-Slippery_v1
|
9 |
+
results:
|
10 |
+
- task:
|
11 |
+
type: reinforcement-learning
|
12 |
+
name: reinforcement-learning
|
13 |
+
dataset:
|
14 |
+
name: FrozenLake-v1-8x8
|
15 |
+
type: FrozenLake-v1-8x8
|
16 |
+
metrics:
|
17 |
+
- type: mean_reward
|
18 |
+
value: 0.48 +/- 0.50
|
19 |
+
name: mean_reward
|
20 |
+
verified: false
|
21 |
+
---
|
22 |
+
|
23 |
+
# **Q-Learning** Agent playing1 **FrozenLake-v1**
|
24 |
+
This is a trained model of a **Q-Learning** agent playing **FrozenLake-v1** .
|
25 |
+
|
26 |
+
## Usage
|
27 |
+
|
28 |
+
```python
|
29 |
+
|
30 |
+
model = load_from_hub(repo_id="kraken2404/q-FrozenLake-v1-8x8-Slippery_v1", filename="q-learning.pkl")
|
31 |
+
|
32 |
+
# Don't forget to check if you need to add additional attributes (is_slippery=False etc)
|
33 |
+
env = gym.make(model["env_id"])
|
34 |
+
```
|
35 |
+
|
q-learning.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92b47d1e18909b52cbd4f5f53199aef0a8b1e464216ef4d313b0635b1b69b315
|
3 |
+
size 2440
|
replay.mp4
ADDED
Binary file (145 kB). View file
|
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"env_id": "FrozenLake-v1", "mean_reward": 0.48, "n_eval_episodes": 100, "eval_datetime": "2023-03-04T16:09:40.551130"}
|