You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi when i run demo.ipynb
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('<init_state>', example["init"])
.replace('', example["goal"])
.replace('', ''))
it appear:
tarski.io._fstrips.reader.ParsingError: line 3:9 mismatched input 'problem' expecting 'domain'
The text was updated successfully, but these errors were encountered:
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
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('<init_state>', example["init"])
.replace('', example["goal"])
.replace('', ''))
it appear:
tarski.io._fstrips.reader.ParsingError: line 3:9 mismatched input 'problem' expecting 'domain'
The text was updated successfully, but these errors were encountered: