erfan1380 commited on
Commit
62e3f8b
1 Parent(s): 8f5e72d

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +35 -0
  2. q-learning.pkl +3 -0
  3. replay.mp4 +0 -0
  4. results.json +1 -0
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - MountainCar-v0
4
+ - q-learning
5
+ - reinforcement-learning
6
+ - custom-implementation
7
+ model-index:
8
+ - name: q_learning-MountainCar
9
+ results:
10
+ - task:
11
+ type: reinforcement-learning
12
+ name: reinforcement-learning
13
+ dataset:
14
+ name: MountainCar-v0
15
+ type: MountainCar-v0
16
+ metrics:
17
+ - type: mean_reward
18
+ value: -161.82 +/- 27.16
19
+ name: mean_reward
20
+ verified: false
21
+ ---
22
+
23
+ # **Q-Learning** Agent playing1 **MountainCar-v0**
24
+ This is a trained model of a **Q-Learning** agent playing **MountainCar-v0** .
25
+
26
+ ## Usage
27
+
28
+ ```python
29
+
30
+ model = load_from_hub(repo_id="erfan1380/q_learning-MountainCar", 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:38813660230c26774e464562163807ca5d0ac814c807f3bf652926aa42346ac9
3
+ size 9976
replay.mp4 ADDED
Binary file (62.1 kB). View file
 
results.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"env_id": "MountainCar-v0", "mean_reward": -161.82, "n_eval_episodes": 100, "eval_datetime": "2024-05-15T22:34:31.473258"}