qwencoder-eval/instruct/bird-spider/README.md
data folder in the sql_suites directory.The final structure should be like this:
├── README.md
├── code_eval
│ ├── __init__.py
│ ├── arguments.py
│ ├── base.py
│ ├── evaluator.py
│ ├── generation.py
│ ├── tasks
│ │ ├── __init__.py
│ │ ├── bird_dev.py
│ │ ├── bird_dev_chat.py
│ │ ├── bird_dev_chat_cot.py
│ │ ├── spider_dev.py
│ │ ├── spider_dev_chat.py
│ │ ├── spider_dev_chat_cot.py
│ │ ├── sql_task_base.py
│ │ ├── sql_task_chat_base.py
│ │ └── sql_task_chat_cot_base.py
│ └── utils.py
├── dog_utils.py
├── main.py
├── openai_api_test.sh
├── sql_suites
│ ├── comparator.py
│ ├── data
│ │ ├── bird-dev
│ │ └── spider-dev
│ ├── eval.py
│ ├── preprocess_bird.py
│ ├── preprocess_spider.py
│ └── utils.py
├── test-cot.sh
└── test.sh
run bash test.sh to run base test, e.g. bash test.sh Qwen/Qwen2.5-Coder-7B-Instruct 2 outputs
Qwen/Qwen2.5-Coder-7B-Instruct2outputsrun bash test-cot to run cot test, e.g. bash test-cot Qwen/Qwen2.5-Coder-7B-Instruct 2 outputs
Qwen/Qwen2.5-Coder-7B-Instruct2outputsrun openai_api_test to test openai compatibale model, e.g. bash openai_api_test gpt-4o outputs
gpt-4ooutputs