Skip to content

Commit

Permalink
default learned value residual mix to true
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Dec 20, 2024
1 parent 5231e5d commit b25e7ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.42.26',
version = '1.42.27',
license='MIT',
description = 'X-Transformers - Pytorch',
author = 'Phil Wang',
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 @@ -1077,7 +1077,7 @@ def __init__(
logit_softclamp_value = 50.,
neutreno_value_residual = False, # Nguyen et al. https://arxiv.org/abs/2312.00751
neutreno_alpha = 0.4,
learned_value_residual_mix = False,
learned_value_residual_mix = True,
laser = False, # https://arxiv.org/abs/2411.03493v1
laser_softclamp_value = 15.,
onnxable = False,
Expand Down

0 comments on commit b25e7ac

Please sign in to comment.