Homework 8

Our goals for the homework assignment this week are:

This Week’s Fundamentals

There’s only one notebook this week, designed to help you practice with tokenizers. As usual, do your work in the corresponding notebook.

Try Out NLP Tasks

Try out two different pre-built Transformers models on some real data. For each model, write a brief summary (bullet point is fine) including:

Where to find a model? The Hugging Face course discussed several different NLP tasks, many of which are bundled up into ready-to-run “pipelines”. You might run that code on Colab or a lab machine. In addition to the out-of-the-box pipelines, you can find tasks and models on the Models page, or look through the list of demos on Spaces.

Review Prior Weeks

Many students have mentioned wanting to review material from prior weeks. This exercise might help:

I recommend chatting in office hours about this, and sharing questions/answers before the due date.

Submitting

I recommend working on the other answers outside of Moodle (e.g., in Word or Google Docs), then copy-pasting in.

In the Moodle assignment for this Homework:

  1. Attach the ipynb files.
  2. Copy and paste your responses to the Analysis questions into the text box.
  3. Copy and paste your Try Out and Review responses here too, separated by headings so we know which part is which.
Discussion 8: Affective Computing
Discussion 9: AI in Healthcare