Home Page and Blog of the Multilingual NLP course @ Sapienza University of Rome
Friday, October 3, 2025
Lecture 21 (29/05/2025): Word Sense Disambiguation and Semantic Role Labeling
Word Sense Disambiguation and Semantic Role Labeling
Lecture 18 (16/5/2025): Introduction to Semantics, more on homework 2
Friday, May 16, 2025
Lecture 15 (8/5/2025, 3h, L+R): Instruction tuning for LLMs, KV cache
Instruction tuning for LLMs, KV cache.
Lecture 12 (11/04/2025, 3h): Introduction to the Transformer (1), Transformer hands-on
Introduction to the Transformer architecture. Encoder, decoder. Self-attention. Cross-attention. Transformer hands-on.
Thursday, April 10, 2025
Lecture 10 (04/04/2025, 3h): Perplexity, Wikidata hands-on
In-vitro vs. in-vivo evaluation. Introduction to perplexity. Relationship with probability of a sentence and cross-entropy. Wikidata hands-on session.
Lecture 8 (28/03/2025, 3h): introduction to probabilistic language modeling
What is a language model? N-gram models (unigrams, bigrams, trigrams), together with their probability modeling and issues. Chain rule and n-gram estimation.

Lecture 6 (21/03/2025, 3h): More on word2vec, negative sampling
More on Word2Vec. Negative sampling: the skipgram case; changes in the loss function.

Lecture 4 (14/03/2025, 3h): first hands-on with PyTorch with language detection
Recap of the Supervised Learning framework, hands on practice with PyTorch on the Language Detection Model: tensors, gradient tracking, the Dataset and DataLoader class, the Module class, the backward step, the training loop, evaluating a model.
Lecture 3 (13/03/2025, 2h): Introduction to Supervised, Unsupervised & Reinforcement Learning
Introduction to Supervised, Unsupervised & Reinforcement
Learning. The Supervised Learning framework. From real to computational:
features extraction and features vectors. Feature Engineering and
inferred features. PyTorch. Introduction to Colab notebooks and first part of the PyTorch hands-on.
Lecture 2 (07/03/2025, 3h): Logistic regression for NLP
Basics of Machine Learning for NLP. Probabilistic classification. Logistic Regression and its use
for classification. Explicit vs. implicit features. The cross-entropy
loss function.
Lecture 1 (06/03/2025, 2h): Introduction
Introduction to the course. Introduction to Natural Language Processing: understanding and generation. What is NLP? The Turing Test, criticisms and alternatives. Tasks in NLP and its importance (with examples). Key areas and publication venues.
Tuesday, February 11, 2025
Ready? Set? GO!!!
Amazing news! This year we will work on developing our own, next-generation Large Language Model! Register here to attend the class! IMPORTANT: we will start on March 6 (February: no lecture, will be at AAAI).








