- Create a
.env
file
In the root directory of the project, create a.env
file with the following content:
GROQ_API_KEY=your-groq-api-key
OPENAI_API_KEY=your-openai-api-key
OPENAI_MODEL="gpt-4o-2024-08-06" - Please specify the Python version as Python 3.11.8
- Download the dataset
Download the natural-instructions dataset and extract it to the root directory of the project.
cd ./experiment/RQ1
python main.py
cd ./experiment/RQ2
python main.py
cd ./experiment/RQ3
python main.py
The content of the 'src' directory is identical to that of 'experiment/RQ3/src', allowing you to directly review the Linter content.