This project has been developed with Python 3.12
Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activateInstall required packages:
python3 -m pip install -r requirements.txtDownload Wordnet for semantic similarity:
python3
> import nltk
> nltk.download('wordnet')Modify path and configuration:
- path to LLM-Planning-PlanBench repository in
scripts/plan-recovery/check_plan_validity.py - name of model used for generation
- name of results file
Run the evaluation script to run the full pipeline on all model/task combinations:
cd scripts/plan_recovery
./run_experiments.shOr run the evaluation script directly for a specific model/task combination:`
cd scripts/plan_recovery
python3 run_evaluation.py --model <model_name> --task <task_name>