mirror of
https://github.com/web-arena-x/webarena.git
synced 2026-02-06 03:06:47 +00:00
fix typo
This commit is contained in:
parent
741292e1d2
commit
1ee1ea4800
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user