Run this model with HF Jobs

Run Eslam25/LunarLander-v2-PPO on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Eslam25/LunarLander-v2-PPO. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Eslam25/LunarLander-v2-PPO on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

To Import and Use the model

from stable_baselines3 import PPO
from huggingface_sb3 import load_from_hub

repo_id = "Eslam25/LunarLander-v2-PPO"
filename = "ppo_1st.zip"
custom_objects = {
            "learning_rate": 0.0,
            "lr_schedule": lambda _: 0.0,
            "clip_range": lambda _: 0.0,
}

checkpoint = load_from_hub(repo_id, filename)
model = PPO.load(checkpoint, custom_objects=custom_objects, print_system_info=True)
Downloads last month
5
Video Preview
loading

Evaluation results