From 1ee1ea48007f0d6d4c5121086757beebd119eebb Mon Sep 17 00:00:00 2001 From: alexisxy Date: Sat, 23 Sep 2023 00:16:36 -0400 Subject: [PATCH] fix typo --- agent/prompts/prompt_constructor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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