Skip to content

Commit

Permalink
Fix a typo (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
sangyeon-k authored Aug 12, 2024
1 parent bf80fec commit 9128c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attn_gym/masks/sliding_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def generate_sliding_window(window_size: int) -> _mask_mod_signature:
window_size: The size of the sliding window.
Note:
We assume that the window size is represents the lookback size and we mask out all future tokens
We assume that the window size represents the lookback size and we mask out all future tokens
similar to causal masking.
"""

Expand Down

0 comments on commit 9128c27

Please sign in to comment.