To begin, create a Python virtual environment and activate it.
- Create the virtual environment:
python -m venv llm-babybench
- Activate the environment:
source llm-babybench/bin/activate
- Install the requirements:
pip install -r requirements.txt
Next, clone the Minigrid repository and install the necessary dependencies.
- Clone the Minigrid repository:
git clone https://github.com/Farama-Foundation/Minigrid.git
- Checkout the specific commit:
After cloning the repository, navigate into the project directory and checkout the commit hash:
cd Minigrid
git checkout 6e713afef8d23d5280ebf28fb3fcf635d40d6a7f
This ensures that you are using the exact version of this repository.
- Install Minigrid in editable mode:
In the same directory, run:
python3 -m pip install -e .