Skip to content

Collection of python Ipynb Notebooks to test LLMs for Ipynb Notebooks

License

Notifications You must be signed in to change notification settings

C2DH/ai-notebooks-summer-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-notebooks-summer-workshop

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.

List of Ipynb notebooks

  • The notebooks/README Open In Colab 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 Open In Colab
  • A proposed solution to EXPLAIN CODE and GENERATE CODE with LLAMA7b Open In Colab
  • A proposed solution to EXPLAIN CODE and GENERATE CODE with CodeGemma Open In Colab

Installation

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

Usage

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.

Expected outputs

Please commit your ipynb in the /notebooks folder.

About

Collection of python Ipynb Notebooks to test LLMs for Ipynb Notebooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •