Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,13 @@ This is a trained model of a **PPO** agent playing **LunarLander-v2**
|
|
26 |
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
27 |
|
28 |
## Usage (with Stable-baselines3)
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
|
32 |
```python
|
|
|
26 |
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
27 |
|
28 |
## Usage (with Stable-baselines3)
|
29 |
+
```python
|
30 |
+
from huggingface_sb3 import load_from_hub
|
31 |
+
checkpoint = load_from_hub(
|
32 |
+
repo_id="RTT/ppo-LunarLander-v2",
|
33 |
+
filename="{MODEL FILENAME}.zip",
|
34 |
+
)
|
35 |
+
```
|
36 |
|
37 |
|
38 |
```python
|