This is a collection of Python Jupyter Notebooks to test Large Language Models (LLMs) for Jupyter Notebooks. This repository also contains an examples
folder with some examples of notebooks used in Digital Humanities (DH).
We recommend using Python 3.12 and Poetry.
- The notebooks/README notebook contains requirements and expectations for the notebooks that will be created during the workshop. For workshop participants: Please use this notebook as a template/guide for your own notebooks.
- A proposed solution to EXPLAIN CODE with CodeLLama
- A proposed solution to EXPLAIN CODE and GENERATE CODE with LLAMA7b
- A proposed solution to EXPLAIN CODE and GENERATE CODE with CodeGemma
You can run the notebooks using Google Colaboratory or locally using Jupyter Lab. We use Poetry to manage dependencies. To install poetry with pipx:
pipx install poetry
Then install the dependencies:
cd ai-notebooks-summer-workshop
poetry config virtualenvs.in-project true
poetry install
To run the notebooks using Jupyter Lab, run the following command:
poetry run jupyter lab
llection of python Ipynb Notebooks to test LLMs for Ipynb Notebooks
Navigate to the project directory and install dependencies using Poetry:
cd <your_repo_name>
poetry install
Running JupyterLab
poetry run jupyter lab
This will launch JupyterLab in your web browser, typically at http://localhost:8888/lab. You can now access the Jupyter notebooks and coding environment.
Please commit your ipynb in the /notebooks
folder.