Worked-out example: Surprisal from a causal (GPT) model as a cognitive processing bottleneck in reading
Using a Bert model to get the predictability of words in their context
Using a GPT2 transformer model to get word predictability
Troubleshooting the use of Python in R