First of all, install jupyter
system-wide,
pip install jupyter
Then, create a virtual environment in this repository,
python -m venv venv
And activate it,
source ./venv/bin/activate
Then, install kernels, and setup virtual environment for jupyter notebooks,
pip install ipykernel
python -m ipykernel install --user --name=llms-from-scratch-venv
Just run the following command, and select a notebook to edit,
jupyter notebook
After that, go to Kernel > Change Kernel...
in the notebook toolbar, and
select llms-from-scratch-venv
.
Happy hacking!