Knowledge Check 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.
Bài tập này là một phần của khóa học
Google DeepMind: Build Your Own Small Language Model
Bài tập tương tác thực hành
Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi
Bắt đầu bài tập