Skip to content

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

Notifications You must be signed in to change notification settings

Andrian0s/ML4NLP1-2024-Tutorial-Notebooks

Repository files navigation

ML4NLP1-2024-Tutorial-Notebooks

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

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 (will be updated as the course progresses)

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 01

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 02

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: Exercise 04

Exercise 05:

LLM Prompting and Prompt Engineering Exercise 05

Exercise 06:

Topic Modeling using LDA and CTM Exercise 06

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •