开始使用免费开始使用

Quiz 2 - Question 1

Imagine an attention mask that is a diagonal matrix (a matrix with ones along the diagonal and zeros everywhere else). If you applied this attention mask to the raw attention weights, which tokens could the model attend to when predicting the next token?

本练习是课程的一部分

Google DeepMind: Discover The Transformer Architecture

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习