Closed francois-rozet closed 1 month ago
mask_mod is not defined in the README example. I assume that L53 should be mask_mod = generate_sliding_window(...).
mask_mod
mask_mod = generate_sliding_window(...)
https://github.com/pytorch-labs/attention-gym/blob/f7c93ded4abf9fd8d7dc9d8bcbf57e420b891e2d/README.md?plain=1#L53-L55
ahh thank you!
Fixed https://github.com/pytorch-labs/attention-gym/pull/64
mask_mod
is not defined in the README example. I assume that L53 should bemask_mod = generate_sliding_window(...)
.https://github.com/pytorch-labs/attention-gym/blob/f7c93ded4abf9fd8d7dc9d8bcbf57e420b891e2d/README.md?plain=1#L53-L55