Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
## To Import and Use the model
|
2 |
-
|
3 |
from stable_baselines3 import PPO
|
4 |
from huggingface_sb3 import load_from_hub
|
5 |
|
@@ -13,4 +35,4 @@ custom_objects = {
|
|
13 |
|
14 |
checkpoint = load_from_hub(repo_id, filename)
|
15 |
model = PPO.load(checkpoint, custom_objects=custom_objects, print_system_info=True)
|
16 |
-
|
|
|
1 |
+
---
|
2 |
+
library_name: stable-baselines3
|
3 |
+
tags:
|
4 |
+
- LunarLander-v2
|
5 |
+
- deep-reinforcement-learning
|
6 |
+
- reinforcement-learning
|
7 |
+
- stable-baselines3
|
8 |
+
model-index:
|
9 |
+
- name: PPO
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
type: reinforcement-learning
|
13 |
+
name: reinforcement-learning
|
14 |
+
dataset:
|
15 |
+
name: LunarLander-v2
|
16 |
+
type: LunarLander-v2
|
17 |
+
metrics:
|
18 |
+
- type: mean_reward
|
19 |
+
value: 265.04 +/- 38.0587
|
20 |
+
name: mean_reward
|
21 |
+
verified: false
|
22 |
+
---
|
23 |
## To Import and Use the model
|
24 |
+
```python
|
25 |
from stable_baselines3 import PPO
|
26 |
from huggingface_sb3 import load_from_hub
|
27 |
|
|
|
35 |
|
36 |
checkpoint = load_from_hub(repo_id, filename)
|
37 |
model = PPO.load(checkpoint, custom_objects=custom_objects, print_system_info=True)
|
38 |
+
```
|