始める無料で始める

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.

この演習はコースの一部です

Google DeepMind: Build Your Own Small Language Model

コースを見る

実践的なインタラクティブ演習

理論を実践に変える、インタラクティブな演習のひとつをお試しください

演習を開始する