Quiz 2 - Question 2
Consider the following text:
jollof rice is a beloved one-pot rice dish from west africa , characterized by its vibrant reddish-orange color and rich , often slightly spicy , tomato-based flavor infused with onions , peppers , garlic , ginger , curry powder , and thyme , all cooked in stock.
For the purpose of this exercise, all words have been transformed to lowercase and punctuation marks have been split from the words. Assume that punctuation marks are considered to be individual words as well (e.g., “spicy , tomato-based” is split into the three words “spicy”, “,”, and “tomato-based”).
Compute the number of trigrams made up of any combination of words that appear in this text whose count is 0.
Diese Übung ist Teil des Kurses
Google DeepMind: Build Your Own Small Language Model
Interaktive Übung
In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.
Übung starten