Former-commit-id: 226a9e563f15ad125856db371871e6f4a3d3eef0
This commit is contained in:
hiyouga 2024-07-04 14:23:37 +08:00
commit c1262dbf94

View File

@ -41,7 +41,7 @@ def prepare_4d_attention_mask(attention_mask_with_indices: "torch.Tensor", dtype
[x, x, o, x, x, x], [x, x, o, x, x, x],
[x, x, o, o, x, x], [x, x, o, o, x, x],
[x, x, o, o, o, x], [x, x, o, o, o, x],
[x, x, o, x, x, x], [x, x, x, x, x, x],
] ]
] ]
] ]