broccoli-ml 0.10.0__tar.gz → 0.11.0__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.3
2
2
  Name: broccoli-ml
3
- Version: 0.10.0
3
+ Version: 0.11.0
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -251,13 +251,13 @@ class FeedforwardLayer(nn.Module):
251
251
  linear_module(
252
252
  input_features,
253
253
  (
254
- 2 * ratio * input_features
254
+ 2 * ratio * output_features
255
255
  if activation.__name__.endswith("GLU")
256
- else ratio * input_features
256
+ else ratio * output_features
257
257
  ),
258
258
  ),
259
259
  self.activation,
260
- linear_module(ratio * input_features, output_features),
260
+ linear_module(ratio * output_features, output_features),
261
261
  self.dropout,
262
262
  ]
263
263
  )
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "0.10.0"
3
+ version = "0.11.0"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes