Passer au contenu principal

Research - An Introduction to Text Analysis with Transformers and LLMs in Python

Transformers and Large Language Models (LLMs) are widely used in various text analysis applications, such as text classification, text generation, summarisation, translation, and chatbots. In this course, you will learn how Transformers and LLMs work and how they can be practically applied to text classification, text generation, and building chatbots using Python programming.

Objectives

Acquire the key competencies needed to use LLMs for text classification, text generation and chatbot development

Target audience

Any PhD students, post-docs, researchers of UNIL who would like to use LLMs in their research

Content

At the end of the course, the participants are expected to:

  • Understand how Transformers and LLMs work
  • Be able to use LLMs for text classification, text generation and chatbot development in Python

Length

1 day

Organization

Once per year

Location

In presential

Practicals

The practicals can be done on the UNIL JupyterLab (available exclusively during this course and for one week following its completion), on your laptop (but you will need to install the required libraries), or on the UNIL cluster called Curnagl. See the installation page for more information.

Prerequisites

  • Basic knowledge of deep learning: we assume that you know how simple feedforward neural networks work, including how to interpret accuracy and loss curves (for example by attending the course "A Gentle Introduction to Deep Learning with Python and R").
  • Be comfortable with Python programming

IMPORTANT: To do the practicals
- On UNIL JupyterLab: You need to be able to access the eduroam wifi with your UNIL account or via the UNIL VPN
- On your laptop: No account requirement
- On Curnagl: Please register using your UNIL email address
- Note that in all cases you need to bring your own laptop


Course dates and registration