Build Your Own Language Model

Program your own simple textual language models to gain a first-hand understanding of "Generative AI" concepts (model training, inference, parameters, and ethical aspects). The activities require familiarity with basic Python constructs, including dictionaries.


This curriculum has been created by LuCE Research Lab and is licensed under CC BY-SA 4.0.

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version 5c19f63 (Mon, 01 Sep 2025 19:56:38 GMT)