Hints

LM-C14-C-001

Greedy chooses the largest probability.

LM-C14-C-002

The value of k is the count kept.

LM-C14-C-003

Convert the decimal to a percentage.

LM-C14-C-004

Decoding happens after the model has produced scores.

LM-C14-C-005

Compare greedy and sampling.