Hugging Face integrates Decision Transformers into transformers library

The Decision Transformer model abstracts reinforcement learning as a conditional-sequence modelling problem.

Hugging Face has integrated the Decision Transformer, an offline reinforcement learning method, into the Hugging Face transformers library and the Hugging Face hub. Hugging Face plans to improve accessibility in the field of deep RL and looks forward to sharing them with users over the coming weeks.

The Decision Transformer model abstracts reinforcement learning as a conditional-sequence modelling problem. The main idea is that instead of training a policy using RL methods, such as fitting a value function, that will tell us what action to take to maximise the return (cumulative reward), Hugging Face uses a sequence modelling algorithm (Transformer) that, given the desired return, past states, and actions, will generate future actions to achieve this desired return. It’s an autoregressive model conditioned on the desired return, past states, and actions to generate future actions that achieve the desired return.
This is a complete shift in the reinforcement learning paradigm since they use generative trajectory modelling (modelling the joint distribution of the sequence of states, actions, and rewards) to replace conventional RL algorithms.

More Great AIM Stories

Kartik Wali
A writer by passion, Kartik strives to get a deep understanding of AI, Data analytics and its implementation on all walks of life. As a Senior Technology Journalist, Kartik looks forward to writing about the latest technological trends that transform the way of life!

Our Upcoming Events

Conference, in-person (Bangalore)
Machine Learning Developers Summit (MLDS) 2023
19-20th Jan, 2023

Conference, in-person (Bangalore)
Rising 2023 | Women in Tech Conference
16-17th Mar, 2023

Conference, in-person (Bangalore)
Data Engineering Summit (DES) 2023
27-28th Apr, 2023

Conference, in-person (Bangalore)
MachineCon 2023
23rd Jun, 2023

Conference, in-person (Bangalore)
Cypher 2023
20-22nd Sep, 2023

3 Ways to Join our Community

Whatsapp group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our newsletter

Get the latest updates from AIM