Skip to content

The workshop covers two topics: How to use GenAI tools for image data using Huggingface models (Stable Diffusion) in Python and How to build simple interface for self-hosted LLM-based chatbot in Jupyter notebook

rasvob/PopAI-FEI-Workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercises for the AI Workshop held at FEI, VSB-TU Ostrava.

Feel free to Radek or Michal if you have any questions or want to discuss any topic from the workshop 😊

📌 Slides presented at the workshop

Content of the workshop

The aim of the workshop is to get an overview of possibilities in the generative artificial intelligence (GenAI) domain.

We will use mainly ChatGPT and HuggingFace.

The workshop will cover these topics:

  • How to use GenAI tools for image data using HuggingFace models (Stable Diffusion) in Python
  • How to build simple interface for self-hosted LLM-based chatbot in Jupyter notebook

Stable Diffusion as an AI Text-To-Image Generator

Jupyter Notebook

Google Colab

Self-hosting LLMs using HuggingFace

  • 💡Beware that free-tier Colab does not have enough resources

Jupyter Notebook

Google Colab

💡 Notes

How to create a Python Virtual Enviroment named venv

Create venv

python -m venv venv

Activate venv

  • Activate venv in Windows
.\venv\Scripts\Activate.ps1
  • Activate venv in Linux
source venv/bin/activate

Intall python packages

pip install jupyter "jupyterlab>=3" "ipywidgets>=7.6"
pip install pandas matplotlib requests seaborn scipy torch transformers accelerate bitsandbytes diffusers invisible_watermark safetensors

About

The workshop covers two topics: How to use GenAI tools for image data using Huggingface models (Stable Diffusion) in Python and How to build simple interface for self-hosted LLM-based chatbot in Jupyter notebook

Topics

Resources

Stars

Watchers

Forks