Exercises

LM-C09-C-001

A vocabulary has 12,000 tokens and embedding dimension 64. How many rows are in the embedding matrix?

Compute it first, then check your number.

LM-C09-C-002

If token id 42 is looked up, how many embedding rows are selected?

Compute it first, then check your number.

LM-C09-C-003

If bank has river and finance meanings, how many meanings are being contrasted?

Compute it first, then check your number.

LM-C09-C-004

If a nearest-neighbor list shows 10 tokens, how many entries are inspected?

Compute it first, then check your number.

LM-C09-C-005

Should nearest neighbors be treated as proof of exact meaning? Answer 1 for yes or 0 for no.

Compute it first, then check your number.