This course is open and peer reviewed. To get involved with the course open a pull request and submit your work for review. Here are the steps:
- Fork the repo here
- Read the material, make changes, do the exercises, add your own examples.
- Open a PR on the december_2024 branch
- Get it reviewed and merged
This should help you learn and to build a community-driven course that is always improving.
We maintain the course as a package so you can install dependencies easily via a package manager. We recommend uv for this purpose, but you could use alternatives like pip or pdm.
With uv installed, you can install the course like this:
uv venv --python 3.11.0
uv syncAll the examples run in the same python 3.11 environment, so you should create an environment and install dependencies like this:
# python -m venv .venv
# source .venv/bin/activate
pip install -r requirements.txtFrom Google Colab you will need to install dependencies flexibly based on the hardware you're using. Like this:
pip install transformers trl datasets huggingface_hub