Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dhruvramani/Transformers-RL

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transformers-RL

An easy PyTorch implementation of "Stabilizing Transformers for Reinforcement Learning". I searched around a lot for an easy-to-understand implementation of transformers for RL but couldn't find it. Hence, had to get my hands dirty.

The stable TransformerXL (GTrXL block in the paper) and other layers are present in layers.py. To implement the TrXL-I block, set gating=False for StableTransformerEncoderLayerXL.

I implemented a basic gausian policy in policies.py. Additional policy implementations for different kind of action-spaces are welcome! Send a PR.

About

An easy PyTorch implementation of "Stabilizing Transformers for Reinforcement Learning"

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.