Skip to content

ExploreToM

Generate challenging theory-of-mind stories at scale

Visit official site

What ExploreToM is

ExploreToM is described as a framework from Facebook Research that generates varied and challenging theory-of-mind data for training and evaluating LLMs.

What you can do with it

  • Generate story backgrounds with a script
  • Run an A* search for story structures
  • Fill in and analyse the generated stories

Getting started

  • Install the Python environment and dependencies
  • Produce story contexts with the generator script
  • Run the structure search and fill the stories

Pros & cons

✓ What we like

  • Generated data can be checked with statistics scripts
  • Functional tests are included in the framework

! What to watch out for

  • A Python environment is needed first
  • The workflow runs through several named scripts

FAQ

What search method is used?

The material names the A* search algorithm over a custom domain-specific language.

What are the main scripts?

They are story_context_generator.py, story_structure_searcher.py and story_structure_infiller.py.

Last reviewed: 2026-11-15

More LLM API platform tools

View all →

How we review