← Olga Zamaraeva

Green AI Algorithms: NLP

Three topics of the microcredential Algoritmos verdes para la IA: diseño e implementación, Universidade da Coruña, 2026–2027. Each notebook comes in a beginner and an advanced version. The advanced version adds exercises that implement an equation or an efficiency technique. Every exercise has hints and a solution.

Topic 1

Fundamentals of NLP

From n-grams and embeddings to attention and transformers, with a baseline energy measurement.

Lesson page

Interactive pages

Notebooks open in Colab

Topic 2

Quantization

Measuring what lower-precision weights save in memory, energy and quality, and on which hardware.

Lesson page

Interactive pages

Notebooks open in Colab

Topic 3

Retrieval

Retrieval as a lever for smaller models, and combining all three levers in one run.

Lesson page

Interactive pages

Notebooks open in Colab