Solutions

DL-C13-C-001

100 * 6 = 600

DL-C13-C-002

The answer is 1. A token id is an address into the embedding table.

DL-C13-C-003

The difference is (4 - 1, 5 - 1) = (3, 4).

sqrt(3^2 + 4^2) = 5

DL-C13-C-004

2 * 3 + (-1) * 5 = 6 - 5 = 1

DL-C13-C-005

0.8 - 0.5 * 0.6 = 0.8 - 0.3 = 0.5

DL-C13-C-006

The answer is 1. Token ids become vectors by selecting rows from an embedding table.

DL-C13-C-007

The distinct ids are 2, 5, and 9, so 3 rows are directly selected.