Introducing Decision Transformers on Hugging Face ๐Ÿค—

๐Ÿ“ฐ Hugging Face Blog

Hugging Face introduces Decision Transformers, a new model for offline reinforcement learning

intermediate Published 28 Mar 2022
Action Steps
  1. Install the Transformers package
  2. Load the Decision Transformer model
  3. Create an environment for the model
  4. Use the autoregressive prediction function
  5. Evaluate the model's performance
Who Needs to Know This

AI engineers and researchers can utilize Decision Transformers to improve decision-making in complex environments, while data scientists can apply this model to various applications such as robotics and game playing

Key Insight

๐Ÿ’ก Decision Transformers enable offline reinforcement learning by leveraging transformer architectures

Share This
๐Ÿค– Introducing Decision Transformers on Hugging Face! ๐Ÿš€ Offline reinforcement learning just got easier

Key Takeaways

Hugging Face introduces Decision Transformers, a new model for offline reinforcement learning

Full Article

Published Time: 2022-03-28T00:00:00.063Z

# Introducing Decision Transformers on Hugging Face ๐Ÿค—

[![Image 1: Hugging Face's logo](https://huggingface.co/front/assets/huggingface_logo-noborder.svg)Hugging Face](https://huggingface.co/)

* [Models](https://huggingface.co/models)
* [Datasets](https://huggingface.co/datasets)
* [Spaces](https://huggingface.co/spaces)
* [Buckets new](https://huggingface.co/storage)
* [Docs](https://huggingface.co/docs)
* [Enterprise](https://huggingface.co/enterprise)
* [Pricing](https://huggingface.co/pricing)
*
*
* * *

* [Log In](https://huggingface.co/login)
* [Sign Up](https://huggingface.co/join)

[Back to Articles](https://huggingface.co/blog)

# [](https://huggingface.co/blog/decision-transformers#introducing-decision-transformers-on-hugging-face-%F0%9F%A4%97) Introducing Decision Transformers on Hugging Face ๐Ÿค—

Published March 28, 2022

[Update on GitHub](https://github.com/huggingface/blog/blob/main/decision-transformers.md)

[- [x] Upvote 10](https://huggingface.co/login?next=%2Fblog%2Fdecision-transformers)
* [![Image 2](https://huggingface.co/avatars/2b1f7fcbf2bd18ddca50b88a1f55eca4.svg)](https://huggingface.co/gmossy "gmossy")
* [![Image 3](https://huggingface.co/avatars/84ce9f3061d10f4326820596ae57ac4c.svg)](https://huggingface.co/jufan "jufan")
* [![Image 4](https://cdn-avatars.huggingface.co/v1/production/uploads/6343314d07fa6ff0c224eac3/2SmoBIaWTMui8phWB4Di5.jpeg)](https://huggingface.co/NeoCodes-dev "NeoCodes-dev")
* [![Image 5](https://cdn-avatars.huggingface.co/v1/production/uploads/63909386d90cd466b3c5fd7a/yGyCtt9lkueQZui8uHd31.jpeg)](https://huggingface.co/KiraPGR "KiraPGR")
* [![Image 6](https://huggingface.co/avatars/c8cc724dc19f3145a8a13ece6ed4bdd0.svg)](https://huggingface.co/cpgrant "cpgrant")
* [![Image 7](https://huggingface.co/avatars/d8b71598618cdd73cda40b0ecd8caeaf.svg)](https://huggingface.co/neeldevenshah "neeldevenshah")
* +4

[![Image 8: Edward Beeching's avatar](https://cdn-avatars.huggingface.co/v1/production/uploads/1644220542819-noauth.jpeg)](https://huggingface.co/edbeeching)

[Edward Beeching edbeeching Follow](https://huggingface.co/edbeeching)

[![Image 9: Thomas Simonini's avatar](https://cdn-avatars.huggingface.co/v1/production/uploads/1632748593235-60cae820b1c79a3e4b436664.jpeg)](https://huggingface.co/ThomasSimonini)

[Thomas Simonini ThomasSimonini Follow](https://huggingface.co/ThomasSimonini)

* [What is Offline Reinforcement Learning?](https://huggingface.co/blog/decision-transformers#what-is-offline-reinforcement-learning "What is Offline Reinforcement Learning?")

* [Introducing Decision Transformers](https://huggingface.co/blog/decision-transformers#introducing-decision-transformers "Introducing Decision Transformers")

* [Using the Decision Transformer in ๐Ÿค— Transformers](https://huggingface.co/blog/decision-transformers#using-the-decision-transformer-in-%F0%9F%A4%97-transformers "Using the Decision Transformer in ๐Ÿค— Transformers")
* [Install the package](https://huggingface.co/blog/decision-transformers#install-the-package "Install the package")

* [Loading the model](https://huggingface.co/blog/decision-transformers#loading-the-model "Loading the model")

* [Creating the environment](https://huggingface.co/blog/decision-transformers#creating-the-environment "Creating the environment")

* [Autoregressive prediction function](https://huggingface.co/blog/decision-transformers#autoregressive-prediction-function "Autoregressive prediction function")

* [Evaluating the model](https://huggingface.co/blog/decision-transformers#evaluating-the-model "Evaluating the model")

* [Conclusion](https://huggingface.co/blog/decision-transformers#conclusion "Conclusion")

* [Whatโ€™s next?](https://huggingface.co/blog/decision-transformers#whats-next "Whatโ€™s next?")

* [References](https://huggingface.co/blog/decision-transformers#references "References")
* [Acknowledgement
Read full article โ†’ โ† Back to Reads

Related Videos

5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
How to Sign Up for Claude AI (Step-by-Step for Beginners, No Tech Skills Needed)
How to Sign Up for Claude AI (Step-by-Step for Beginners, No Tech Skills Needed)
AI Mastermind
RAG vs Fine-Tuning: Which One Should You REALLY Use? | Tamil | Karthik's Show
RAG vs Fine-Tuning: Which One Should You REALLY Use? | Tamil | Karthik's Show
Karthik's Show
How to Fine Tune a LLM Model for Beginners | LLM project | Tamil | Part 2 | Karthik's Show
How to Fine Tune a LLM Model for Beginners | LLM project | Tamil | Part 2 | Karthik's Show
Karthik's Show
Deep Seek Demo in Tamil | How to Run Deep Seek R1 in Local Machine Using Ollama? | Karthik's Show
Deep Seek Demo in Tamil | How to Run Deep Seek R1 in Local Machine Using Ollama? | Karthik's Show
Karthik's Show
Deep Seek explained in Tamil | Is Deep Seek Safe? | What is new in Deep Seek? | Karthik's Show
Deep Seek explained in Tamil | Is Deep Seek Safe? | What is new in Deep Seek? | Karthik's Show
Karthik's Show