Instructions to use KaptainKris/HuggingFace_RL_Course with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use KaptainKris/HuggingFace_RL_Course with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="KaptainKris/HuggingFace_RL_Course", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
File size: 526 Bytes
bf1b1e5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | {
"experiment_name": "ppo_lunarlander_128x128",
"env_id": "LunarLander-v3",
"env_kwargs": {},
"total_timesteps": 5000000,
"n_envs": 16,
"seed": 42,
"actor_layers": [
128,
128
],
"critic_layers": [
128,
128
],
"learning_rate": 0.0003,
"n_steps": 1024,
"batch_size": 64,
"n_epochs": 4,
"gamma": 0.999,
"gae_lambda": 0.98,
"ent_coef": 0.01,
"clip_range": 0.2,
"eval_every_timesteps": 50000,
"checkpoint_every_timesteps": 100000,
"n_eval_episodes": 20,
"device": "cpu"
} |