titans-pytorch 0.0.2__tar.gz → 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: titans-pytorch
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Titans
5
5
  Project-URL: Homepage, https://pypi.org/project/titans-pytorch/
6
6
  Project-URL: Repository, https://github.com/lucidrains/titans-pytorch
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "titans-pytorch"
3
- version = "0.0.2"
3
+ version = "0.0.3"
4
4
  description = "Titans"
5
5
  authors = [
6
6
  { name = "Phil Wang", email = "lucidrains@gmail.com" }
@@ -148,7 +148,7 @@ class NeuralMemory(Module):
148
148
 
149
149
  batch = seq.shape[0]
150
150
 
151
- adaptive_lr = self.to_adaptive_step(seq).tanh() * 0.5 + 1.
151
+ adaptive_lr = self.to_adaptive_step(seq).tanh() * 0.5 + 0.5.
152
152
 
153
153
  adaptive_momentum = self.to_momentum(seq).sigmoid()
154
154
  decay_factor = self.to_decay_factor(seq).sigmoid()
File without changes
File without changes
File without changes
File without changes