Open strong-leaf opened 1 month ago
Hi, I tried running the notebook today but couldn't reproduce the error. Could you confirm you have followed our README to install all required libraries and properly cloned LLMs-Planning @ 34e6841 (if you cloned our library with --recursive
it should be automatically done) which contains the dataset?
hi when i run demo.ipynb', example["init"])
.replace('', example["goal"])
.replace('', ''))
with open('/root/llm-reasoners/examples/CoT/blocksworld/prompts/pool_prompt_v1.json') as f: prompt = json.load(f) #/root/llm-reasoners/examples evaluator = BWEvaluator(config_file='/root/llm-reasoners/examples/CoT/blocksworld/data/bw_config.yaml', domain_file='/root/llm-reasoners/examples/CoT/blocksworld/data/generated_domain.pddl', data_path='/root/llm-reasoners/examples/CoT/blocksworld/data/split_v1/split_v1_step_4_data.json', init_prompt=prompt) prompt = evaluator.sample_prompt(shuffle_prompt=False, num_shot=4) example = evaluator.full_dataset[1] cot_inputs = (prompt['icl'].replace('
it appear: tarski.io._fstrips.reader.ParsingError: line 3:9 mismatched input 'problem' expecting 'domain'