Reinforcement Learning
Reinforcement learning trains agents that learn to act in an environment by maximizing a reward.
Inputs
Input
Reinforcement Learning Model
Output
Output
Action sequence — mean reward 268.4
About Reinforcement Learning
Reinforcement learning trains agents that learn to act in an environment by maximizing a reward. Browse reinforcement learning models on HubClone to compare checkpoints, or open a Space to try one in the browser.
Use Cases
Game playing
Train agents that master video games.
Control
Teach simulated robots to walk.
Inference
The Transformers pipeline API runs reinforcement learning models in a few lines. Replace <model-id> with any model listed on this page.
from transformers import pipeline
pipe = pipeline("reinforcement-learning", model="<model-id>")
pipe("clip.mp4")Useful Resources
Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.
Documentation
- Reinforcement Learning task guide
- Pipelines reference
Notebooks
- Fine-tuning a reinforcement learning model