Text Classification in Practice: From Topic Models to Transformers

Book Now
BOOK NOW
The background shows handwritten historical letters. A large green ampersand featuring an illustration of Ada Lovelace is placed on the left. The logo of the Centre for Data, Culture & Society (DCS) appears in the top right corner.

 

In person 

Text classification is a core task in Natural Language Processing (NLP), underpinning many real-world applications such as spam filtering, sentiment analysis, and risk prediction.  

This course introduces participants to multiple paradigms of text classification, from traditional topic models to advanced transformer-based approaches. The 4-hour course will be delivered in two 2-hour sessions combining lectures and hands-on implementation with real-world cases. Participants will build and evaluate classification pipelines with Python using Google Colab, explore feature-based models, sequential modelling, and deep learning with transformers. 

This course is ideal for those seeking to deepen their understanding of NLP workflows and apply them in research or applied contexts. 

 

This course will be taught by Zongxiao Wu and Joy Lan

 

After taking part in this event, you may decide that you need some further help in applying what you have learnt to your research. If so, you can book a Data Surgery meeting with one of our training fellows.  

More details about Data Surgeries.  

Those who have registered to take part will receive an email with full details on how to get ready for this course.  

If you’re new to this training event format, or to CDCS training events in general, read more on what to expect from CDCS training. Here you will also find details of our cancellation and no-show policy, which applies to this event.  

 

Level   

This is an intermediate to advanced course. Participants should be familiar with Python and Google Colab platform and have working knowledge of common data science libraries, including scikit-learn, pandas, and PyTorch. A conceptual understanding of the machine learning model training, evaluation, and testing process is required. 

 

Learning Outcomes  

  • Can compare and apply different paradigms of text classification, including feature-based, sequential, and transformer models. 
  • Construct and evaluate text classification pipelines using Python. 

  • Apply text modelling techniques to research or domain-specific applications. 

     

Skills   

By attending this course, you will familiarise yourself with the following skills  

  • Implementing end-to-end classification workflows with scikit-learn, PyTorch, and Hugging Face Transformers. 
  • Applying modelling strategies such as topic modelling, RNN-based sequence learning, and fine-tuning pre-trained transformer models. 

  • Manage and preprocess textual data efficiently using pandas and related libraries. 

  

 

Explore More Training

Return to the Training Homepage to see other available events

Room 4.35, Edinburgh Futures Institute

This room is on Level 4, in the North East side of the building.

When you enter via the level 2 East entrance on Middle Meadow Walk, the room will be on the 4th floor straight ahead.

When you enter via the level 2 North entrance on Lauriston Place underneath the clock tower, the room will be on the 4th floor to your left.

When you enter via the level 0 South entrance on Porters Walk (opposite Tribe Yoga), the room will be on the 4th floor to your right.

You might be interested in

Graphic for a workshop titled ‘Foundations of Webscraping.’ The background is a black-and-white photograph of students working together in a design studio with maps and models. A large teal ampersand featuring an illustration of Ada Lovelace is placed on the left. The logo of the Centre for Data, Culture & Society (DCS) appears in the top right corner.

Collecting Data from the Web: Foundation of Webscraping

Graphic for a workshop titled ‘Using API for Research.’ The background is a black-and-white photograph of people working with printing equipment and patterned sheets. A large magenta ampersand featuring an illustration of Ada Lovelace is placed on the left. The logo of the Centre for Data, Culture & Society (DCS) appears in the top right corner.

Using API for Research

Graphic for a workshop titled ‘Getting Started with Inferential Statistics.’ The background is a black-and-white photograph of people studying in a library with partitioned desks. A large teal ampersand featuring an illustration of Ada Lovelace is placed on the left. The logo of the Centre for Data, Culture & Society (DCS) appears in the top right corner.

Getting Started with Inferential Statistics

Graphic for a workshop titled ‘Data Viscualisation’ The background is a collage of historical printed text with an overlaid image of a wolf. A large green ampersand featuring an illustration of Ada Lovelace is placed on the left. The logo of the Centre for Data, Culture & Society (DCS) appears in the top right corner

Digital Method of the Month: Data Visualisation

an old map of Acotland with the text "Jennifer Smith & Brian Aitken, Project deep Dive"

Who Speaks Scots Where: What Crowdsourcing Reveals

Graphic for a workshop titled ‘Using Prompting Efficiently for Research.’ The background shows an aged, torn book page with visible text. A large green ampersand featuring an illustration of Ada Lovelace is placed on the left. The logo of the Centre for Data, Culture & Society (DCS) appears in the top right corner.

Using Prompting Efficiently for Research

Graphic for a workshop titled ‘Text Classification in Practice: From Topic Models to Transformers.’ The background shows handwritten historical letters. A large green ampersand featuring an illustration of Ada Lovelace is placed on the left. The logo of the Centre for Data, Culture & Society (DCS) appears in the top right corner.

Text Classification in Practice: From Topic Models to Transformers

Graphic for an event titled ‘BYOD Festival.’ The background is a black-and-white photograph of people sitting around a table, drinking tea and playing cards. A large magenta ampersand featuring an illustration of Ada Lovelace is placed on the left. The logo of the Centre for Data, Culture & Society (DCS) appears in the top right corner.

Bring Your Own Data (BYOD) Fest