Generative AI workshop

Fort de Gagel

May 27, 2024

8:45 am - 5:00 pm

Instructors: Sven Warris

Helpers:

General Information

Welcome to the generative AI workshop presented by Interactivity. This workshop aims to provide concepts of generative AI and the software tools to start integrating genAI into your own work and applications.

Please contact Sven by phone (+31 621 877 849) or e-mail: sven@interactivity.nl if there are any questions or issues.

Who: The course is aimed at data scientists and bioinformaticians. A basic understanding of Python is required to participate in this course. This can be either on Windows, Linux or any other Operating System.

Where: Gageldijk 167, 3566 MJ Utrecht. Get directions with OpenStreetMap or Google Maps.

When: May 27, 2024. Add to your Google Calendar.

Requirements: Participants must bring a laptop with a Mac, Linux, or Windows operating system. You need to have a modern Internet browser. If you'd like, you can use Visual Studio Code + Jupyter Notebook plugin as well.

Who can attend?: This workshop is open to members and associate members of the Virtual Lab for Plant Breeding (VLPB). There is a limit of 14 participants.


Collaborative Notes

We will use this collaborative document for chatting, taking notes, and sharing URLs and bits of code.


Schedule

Day 1

08:45 Walk-in with coffee & tea Entresol bar 29
09:00 Introduction round Room 3
09:15 Generative AI: insights into the technologyRoom 3
09:30 Prompt engineering using the ChatGPT web interfaceRoom 3
10:15 Coffee/tea breakEntresol 26
10:30 The OpenAI API Room 3
12:00 Lunch Entresol 26
13:00 The OpenAI API and data analytics Room 3
14:30 Image generation and processing through the API Room 3
15:15 Coffee/tea breakEntresol 26
15:30 Langchain and large documents Room 3
16:45 Rounding upRoom 3
17:00 End of the workshop with some refreshments Entresol 26

Setup

OpenAI ChatGPT

For this workshop we will be using ChatGPT web interface for prompt engineering and testing ideas. In Python we will be using the OpenAI API. A temporary API key will be supplied before the workshop. This key will expire after the workshop.

A subscription to either ChatGPT or the OpenAI API is recommended, but not necessary. The ChatGPT 3.5 version will be sufficient and a key will be provided.

Although we focus on ChatGPT, the concepts such as prompt engineer, API access and retrieval augmented generation also apply to many Open Source models found on Hugging Face, such as llama 3, the new powerful LLM provide by META.

Python

Python is a popular language for research computing, and great for general-purpose programming as well. Installing all of its research packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer.

Regardless of how you choose to install it, please make sure you install Python version 3.x (e.g., 3.6 is fine).

We will teach Python using Jupyter Notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not). There are four options available to use Jupyter Notebooks:

  • Jupyter Notebook running locally on your laptop. You can install this through Anaconda or your package manager
  • Using Colab by Google
  • Using Visual Studio Code and the Jupyter Notebook plugin
  • Connect to your companies infrastructure, when available