A dictionary of n-grams does, which I think is what he is describing.
GPT-2 is not a dictionary.
I was only responding to the statement that dictionary methods don't give a prediction of the next word in a string will be. I wasn't in any way saying GPT-2 is a dictionary.