Skip to content
prabinrathPublic
forked from WilliamYue37/LTMB

About

Long-term Memory Benchmark for Sequential Decision Making

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LTMB

Long-term Memory Benchmark for Sequential Decision Making

Figure 1

Installtion

pip install -e .

Getting Started

Run the following commands to play each task.

play_hallway
play_ordering
play_counting

Expert Policies

Expert policies for each task are located in ./ltmb/policies/. All expert policies have a select_action(obs) and get_memory_associations() method.

Dataset Collection

LTMB datasets can be generated using the script ./scripts/generate_data.py. Run the following command to view the full list of options:

python ./scripts/generate\_data.py --help

The LTMB datasets used in the AttentionTuner paper were generated with the following commands:

python ./scripts/generate\_data.py --filename hallway.pkl --runs 4000 --env LTMB-Hallway-v0 --seed 0 --length 30
python ./scripts/generate\_data.py --filename ordering.pkl --runs 5000 --env LTMB-Ordering-v0 --seed 0 --length 50
python ./scripts/generate\_data.py --filename counting.pkl --runs 10000 --env LTMB-Counting-v0 --seed 0 --length 20

Citation

If you find LTMB to be useful in your own research, please consider citing our paper:

Acknowledgements

LTMB is built on top of the Minigrid environment.

About

Long-term Memory Benchmark for Sequential Decision Making

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages