Skip to content
ml-recall

#bigram

4 questions from Language Modeling

Timed test

4 questions · 4 min · score and explanations at the end

Take a test
Q 1 / 4Score 0 / 0

Question 1: Short answer

mediumAI-checkedLanguage Modeling

A bigram model is estimated by counting, P(wi∣wi−1)=count(wi−1 wi)count(wi−1)P(w_i \mid w_{i-1}) = \frac{\text{count}(w_{i-1}\, w_i)}{\text{count}(w_{i-1})}, on a three-sentence corpus:

<s> I am Gustave </s>
<s> Gustave I am </s>
<s> I love natural language processing </s>

What probability does it assign to the sentence <s> I am Gustave </s>?

a probability, 3 decimals