Train your first Decision Transformer

Practical AI: Tools, Models & Frameworkstransformer

What changed

So today, you’ll learn to train your first Offline Decision Transformer model from scratch to make a half-cheetah run. We'll train it directly on a Google Colab that you can find here 👉 https://github.com/huggingface/blog/blob/main/notebooks/101_train-decision-transformers.ipynb *An "expert" Decision Transformers model, learned using offline RL in the Gym HalfCheetah environment.* Sounds exciting? The Decision Transformer model was introduced by “Decision Transformer: Reinforcement Learning via Sequence Modeling” by Chen L.

Why it matters

A concrete addition to Practical AI: Tools, Models & Frameworks: it changes what's available to builders today rather than being general commentary.

How it compares

Related prior coverage to compare against:

  • Train and Fine-Tune Sentence Transformers Models
  • Introducing Decision Transformers on Hugging Face 🤗
  • Differential Transformer V2

Sources