Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Oct 19, 2024
1 parent 34a4818 commit 777b757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ model = TransformerWrapper(
dim = 512,
depth = 6,
heads = 8,
attn_sparse_topk = 8, # keep only the top 8 values before attention (softmax)
sparse_topk_straight_through = True # straight through the original gradients
attn_sparse_topk = 8, # keep only the top 8 values before attention (softmax)
attn_sparse_topk_straight_through = True # straight through the original gradients
)
)
```
Expand Down

0 comments on commit 777b757

Please sign in to comment.