Understanding LLMs ONLINE
Kursinformationen
- Datum
-
- Freitag, 30. April 2027,
09:00 Uhr bis 18:00 Uhr - Freitag, 30. April 2027,
- Anmeldebeginn
- 13.01.2027, 09:00 Uhr
- Anmeldeschluss
- 02.04.2027, 12:00 Uhr
- Kosten
- This course is free of charge and for doctoral candidates and postdocs of the University of Basel only (min. 6, max. 30 participants).
- Dozierende
-
Zakir Hussain
Dr. Dirk Wulff
- Anrechenbar
-
1 ECTS
This course may be credited towards Module 1 of the Focus Area AI-Skills (8 hours)
- Veranstaltet durch
-
Graduate Center
Transferable Skills
grace@unibas.ch
GRACE Homepage
Ziele
This one-day intensive course aims to demystify the transformer architecture that powers modern large language models (LLMs) such as GPT, Claude, and LLaMA. By the end of the course, participants will be able to: (1) explain the core components of transformer-based LLMs, including token embeddings and the attention mechanism; (2) distinguish between model architectures and understand when each is appropriate; (3) describe how LLMs are trained and apply effective prompting strategies; (4) access and apply pre-trained models for practical tasks using the Hugging Face ecosystem and interact with LLMs through chat interfaces; and (5) critically evaluate LLM applications in science, including LLM-based agents, and in their own research and begin experimenting with these tools.
Kursinhalte
Large language models (LLMs) have rapidly transformed research and practice across disciplines, yet their inner workings often remain opaque to users. This course provides a conceptual foundation for understanding how modern LLMs work and how to use them effectively in research. Topics covered include: (1) an introduction to LLMs and the transformer architecture; (2) token embeddings and the attention mechanism; (3) model heads and the distinction between feature extraction and text generation; (4) the differences between model architectures; (5) model training procedures and effective prompting strategies; (6) a hands-on introduction to the Hugging Face ecosystem, accessing pre-trained models, and using chat interfaces; and (7) an overview of practical applications across research domains, including LLM-based agents. The day combines conceptual sessions with hands-on exercises, structured as follows: Introduction to LLMs; Architecture; A peek into Hugging Face; Text generation and prompting; A chat exercise; LLMs in science; and Discussion.
Form
The course combines interactive lectures with hands-on exercises. Conceptual sessions introduce the transformer architecture and its components, with worked examples and visualisations. The first exercise walks participants through accessing and using pre-trained models from the Hugging Face ecosystem, so that they can replicate and adapt the workflow afterwards. A second exercise explores text generation and prompting in a chat interface. Discussion and Q&A are integrated throughout, and the day closes with an extended discussion session; both connect the material to participants’ own research questions.
Adressatinnen und Adressaten
All Doctoral Candidates & Postdocs
Voraussetzungen
No prior programming experience is required, though familiarity with a programming language (e.g., Python or R) will be helpful for following along with the applied demonstrations.
Informationen zu den Dozierenden
Dirk Wulff is Professor of AI and Behavioral Science at WU Vienna (Vienna University of Economics and Business). He obtained his PhD in Psychology from the University of Basel in 2015 and held research positions there and at the Max Planck Institute for Human Development, with which he remains affiliated. His team studies how AI can advance behavioral science, for instance as a tool for analyzing and modeling human behavior, and how behavioral science can advance the development and evaluation of AI systems. He has over 15 years of experience in conducting postgraduate and professional trainings in data science and artificial intelligence.
Zak Hussain earned his PhD at the Center for Cognitive and Decision Sciences at the University of Basel, where he applied modern language modeling techniques to behavioral science research. He is an active educator on the use of language models in behavioral science research, and has acted in this capacity internationally, having taught introductory workshops, summer/winter schools, and postgraduate seminars on open-source tools for language modeling.
Leistungsspektrum / Workload
Preparation: 2h
Course attendance: 8h
Follow-up (optional): 0-20h
Besonderheiten
Once registration is open, applications will be collected for 24 hours and course places allocated by lot. All registrations received after the initial 24h period will be put on a waiting list and assigned on a first come, first served basis.
Course places/places on the waiting list will be confirmed by e-mail. Course registrations can only be canceled before the registration period ends (send an e-mail to grace@unibas.ch). Full course attendance is mandatory. Participants who fail to attend a course without prior notification or withdraw after the registration deadline are subject to a fee of CHF 30. In addition, participants who cancel their course registration at a later point in time, are absent without an excuse or do not attend the entire course will, for reasons of fairness, not be considered for course registration in the following semester and will be removed from other courses offered in the same semester. Please find the detailed regulations on the Transferable Skills Homepage.