Run this model with HF Jobs

Run patonw/tqc-PandaPickAndPlace-v3 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/patonw/tqc-PandaPickAndPlace-v3. 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/patonw/tqc-PandaPickAndPlace-v3 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.

TQC Agent playing PandaPickAndPlace-v3

This is a trained model of a TQC agent playing PandaPickAndPlace-v3 using the stable-baselines3 library.

Usage (with Stable-baselines3)

TODO: Add your code

# 1 - 2
env_id = "PandaPickAndPlace-v3"

env = gym.make(env_id)

# 4
from stable_baselines3 import HerReplayBuffer, SAC
model = TQC(policy = "MultiInputPolicy",
            env = env,
            batch_size=2048,
            gamma=0.95,
            learning_rate=1e-4,
            train_freq=64,
            gradient_steps=64,
            tau=0.05,
            replay_buffer_class=HerReplayBuffer,
            replay_buffer_kwargs=dict(
                n_sampled_goal=4,
                goal_selection_strategy="future",
            ),
            policy_kwargs=dict(
                net_arch=[512, 512, 512],
                n_critics=2,
            ),
            tensorboard_log=f"runs/{wandb_run.id}",
           )

# 5
model.learn(1_000_000, progress_bar=True, callback=WandbCallback(verbose=2))
wandb_run.finish()

Weights & Biases charts: https://wandb.ai/patonw/PandaPickAndPlace-v3/runs/w7lzlwnx/workspace?workspace=user-patonw

Downloads last month
4
Video Preview
loading

Evaluation results