diff --git a/agent/prompts/prompt_constructor.py b/agent/prompts/prompt_constructor.py index 9f991e5..a0ca408 100644 --- a/agent/prompts/prompt_constructor.py +++ b/agent/prompts/prompt_constructor.py @@ -27,10 +27,10 @@ class PromptConstructor(object): lm_config: lm_config.LMConfig, tokenizer: Tokenizer, ): - self.instrction_path = Path(instruction_path) + self.instruction_path = Path(instruction_path) self.obs_modality = "text" self.lm_config = lm_config - instruction = json.load(open(self.instrction_path)) + instruction = json.load(open(self.instruction_path)) instruction["examples"] = [tuple(e) for e in instruction["examples"]] self.instruction: Instruction = instruction self.tokenizer = tokenizer