markeidsaune commited on
Commit
32fb25b
1 Parent(s): f6033b0

Upload . with huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +37 -0
  2. q-learning.pkl +3 -0
  3. replay.mp4 +0 -0
  4. results.json +1 -0
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - FrozenLake-v1-8x8-no_slippery
4
+ - q-learning
5
+ - reinforcement-learning
6
+ - custom-implementation
7
+ model-index:
8
+ - name: q-FrozenLake-v1-8x8-noSlippery
9
+ results:
10
+ - task:
11
+ type: reinforcement-learning
12
+ name: reinforcement-learning
13
+ dataset:
14
+ name: FrozenLake-v1-8x8-no_slippery
15
+ type: FrozenLake-v1-8x8-no_slippery
16
+ metrics:
17
+ - type: mean_reward
18
+ value: 1.00 +/- 0.00
19
+ name: mean_reward
20
+ verified: false
21
+ ---
22
+
23
+ # **Q-Learning** Agent playing **FrozenLake-v1**
24
+ This is a trained model of a **Q-Learning** agent playing **FrozenLake-v1** .
25
+
26
+ ## Usage
27
+ ```python
28
+
29
+ model = load_from_hub(repo_id="markeidsaune/q-FrozenLake-v1-8x8-noSlippery", filename="q-learning.pkl")
30
+
31
+ # Don't forget to check if you need to add additional attributes (is_slippery=False etc)
32
+ env = gym.make(model["env_id"])
33
+
34
+ evaluate_agent(env, model["max_steps"], model["n_eval_episodes"], model["qtable"], model["eval_seed"])
35
+
36
+ ```
37
+
q-learning.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73e33a53c72bed30b5b43d378f1031e1855998b11cb053d654674a1ccc32451b
3
+ size 2452
replay.mp4 ADDED
Binary file (121 kB). View file
 
results.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"env_id": "FrozenLake-v1", "mean_reward": 1.0, "n_eval_episodes": 100, "eval_datetime": "2023-03-29T15:19:58.923731"}