Skip to content

Commit

Permalink
go with Gemma2 softclamp values
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jul 6, 2024
1 parent 832464f commit 80be134
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'x-transformers',
packages = find_packages(exclude=['examples']),
version = '1.31.9',
version = '1.31.10',
license='MIT',
description = 'X-Transformers - Pytorch',
author = 'Phil Wang',
Expand Down
2 changes: 1 addition & 1 deletion x_transformers/attend.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(
qk_norm = False,
flash = False,
softclamp_logits = False,
logit_softclamp_value = 30.,
logit_softclamp_value = 50.,
add_zero_kv = False,
cope = None,
onnxable = False,
Expand Down
2 changes: 1 addition & 1 deletion x_transformers/x_transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ def __init__(
shift_tokens = 0,
sandwich_norm = False,
softclamp_output = False,
softclamp_output_value = 50.,
softclamp_output_value = 30.,
resi_dual = False,
resi_dual_scale = 1.,
zero_init_branch_output = False,
Expand Down

0 comments on commit 80be134

Please sign in to comment.