/genai-rest-of-us

Accompanying jupyter notebooks for the lecture "Generative AI for the rest of us"

Primary LanguageJupyter NotebookMIT LicenseMIT

Generative AI for the rest of us

Accompanying jupyter notebooks for the lecture "Generative AI for the rest of us"

Getting started

  1. Spin up your favorite python virtual environment manager (venv, Poetry, miniconda, pipenv, virtualenv, conda, pyenv-virtualenv to name a few, in case of doubts which to choose, read this article)
  2. Create a virtual environment for this project.
  3. a. Download Jupyter lab, or
    b. use VSCode with built-in support for Jupyter notebooks.
  4. Install dependencies:
pip install -r requirements.txt

Contents

  • rag.ipynb: A practical example of how to build a question answering system using Retrieval Augmented Generation.
  • clip.ipynb: Introduction to multi-modal semantic search (text-to-image and image-to-image) with CLIP models.
  • stable-diff.ipynb: A getting started tutorial of WebUI for Stable Diffusion, showing how to use image inpainting assisted by an object segmentation algorithm.