catniff 0.6.13 → 0.6.14

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.
Files changed (2) hide show
  1. package/dist/optim.js +1 -1
  2. package/package.json +1 -1
package/dist/optim.js CHANGED
@@ -139,7 +139,7 @@ class AdamW extends BaseOptimizer {
139
139
  this.lr = options?.lr || 0.001;
140
140
  this.betas = options?.betas || [0.9, 0.999];
141
141
  this.eps = options?.eps || 1e-8;
142
- this.weightDecay = options?.weightDecay || 0;
142
+ this.weightDecay = options?.weightDecay || 0.01;
143
143
  }
144
144
  step() {
145
145
  this.stepCount++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catniff",
3
- "version": "0.6.13",
3
+ "version": "0.6.14",
4
4
  "description": "A small Torch-like deep learning framework for Javascript",
5
5
  "main": "index.js",
6
6
  "scripts": {