File size: 170 Bytes
5fa1a76
 
 
1
2
3
Now the output of the second sequence matches its actual output:

By default, the tokenizer creates an attention_mask for you based on your specific tokenizer's defaults.