iclbench.environments.babyai_text package

Submodules

iclbench.environments.babyai_text.clean_lang_wrapper module

class iclbench.environments.babyai_text.clean_lang_wrapper.BabyAITextCleanLangWrapper(env, vlm=False, **kwargs)[source]

Bases: Wrapper

__init__(env, vlm=False, **kwargs)[source]

Wraps an environment to allow a modular transformation of the step() and reset() methods.

Parameters:

env – The environment to wrap

property default_action
get_prompt(obs, infos)[source]
get_stats()[source]
get_text_action(action)[source]
property interleaving_token
reset()[source]

Resets the environment with kwargs.

step(action)[source]

Steps through the environment with action.

Module contents

iclbench.environments.babyai_text.get_instruction_prompt(env, mission='BabyAI-MixedTrainLocal-v0')[source]