# Is it possible to use Decision Transformers on text?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fis-it-possible-to-use-decision-transformers-on-text%2F28275%3E%5C
**Category:** 🤗Transformers\
**Created:** [December 22, 2022, 8:02am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fis-it-possible-to-use-decision-transformers-on-text%2F28275 "2022-12-22T08:02:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![turtlesarecute](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@turtlesarecute](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fturtlesarecute)%5C
**Post date:** [December 22, 2022, 8:02am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fis-it-possible-to-use-decision-transformers-on-text%2F28275%2F1 "2022-12-22T08:02:21Z")

</div>

Hi,

I’m interested in using Decision Transformers for my custom environment, but the states output is in the form of text. Does anyone know if it’s possible, and if so, how I can adapt the code to use it on text?

Any suggestions?

Thanks!
