Skip to content

Andrian0s/ML4NLP1-2025-Tutorial-Notebooks

Repository files navigation

ML4NLP1-2025-Tutorial-Notebooks

Practical Tutorials for the Machine Learning for Natural Language Processing 1 Lecture at the University of Zurich for the Fall Semester 2025.

Overview

In this repository, you will find the notebooks for the tutorials and exercises for the course. The tutorials are designed to help you understand and put into practice the theoretical concepts discussed in the lecture. Tutorials are designed to be interactive, and you are encouraged to experiment with the code and try different variations to understand the concepts better.

Exercises --- From 2025

Exercise 01:

From linear to deep learning models for text classification. In this exercise, you will implement a simple linear model for text classification using the sklearn library. You will then extend the model to a deep learning model using the skorch library.

See the exercise sheet for more details:

Exercise 02:

Building word embeddings with PyTorch. In this exercise, you will implement a Continuous Bag of Words Model using the torch library. See the exercise sheet for more details:

Exercise 03:

Also known as Exercise AB. Handled through Simon Clematide. Please see OLAT Course for details.

Exercise 04:

Named Entity Recognition using Transformer Encoders. In this exercise, you will fine-tune a BERT model using the HuggingFace library. Additionally, you will experiment with GliNER to perform anonymization of texts.

Exercise 05:

LLM Prompting, Prompt Engineering and small LLM fine-tuning using Unsloth AI

Exercise 06:

Topic Modeling using LDA and CTM

About

Practical Tutorials for the Machine Learning for Natural Language Processing 1 Class in the University of Zurich for the Fall Semester of 2025

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors