broccoli-ml 0.10.0__py3-none-any.whl → 0.11.0__py3-none-any.whl

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.
broccoli/transformer.py CHANGED
@@ -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
  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
@@ -8,10 +8,10 @@ broccoli/eigenpatches.py,sha256=J6n2usN1oQuHEHYiBNyYpn_a9eQcHjOBiIlvSei520Y,2413
8
8
  broccoli/linear.py,sha256=0XYCi3ckTEKwAgBOMUSJP2HsnrroOH8eyrhRdpANG2w,1298
9
9
  broccoli/rope.py,sha256=hw7kBPNR9GQXj4GxyIAffsGKPfcTPOFh8Bc7oEHtaZY,12108
10
10
  broccoli/tensor.py,sha256=E2JK5mQwJf75e23-JGcDoT7QxQf89DJReUo2et1LhRY,1716
11
- broccoli/transformer.py,sha256=RSZpbHs_K4ts5os6lWxcGDI3p0zreRwQNnk6mV8HJnk,15930
11
+ broccoli/transformer.py,sha256=8lyJBeTi07DwNnSp9w9dYylt8R2mQopfKpXS4eNwZfU,15933
12
12
  broccoli/utils.py,sha256=htq_hOsdhUhL0nJi9WkKiEYOjEoWqFpK5X49PtgTf-0,299
13
13
  broccoli/vit.py,sha256=uXqMIvAVY4PuA-Fv1YxU7L3_74fR19GtNu1caQeMr6k,15185
14
- broccoli_ml-0.10.0.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
15
- broccoli_ml-0.10.0.dist-info/METADATA,sha256=zRP8Hn-Q0uMDvNhInEuwcm-sVwG5zE3vsWZBSuVqDmE,1257
16
- broccoli_ml-0.10.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
17
- broccoli_ml-0.10.0.dist-info/RECORD,,
14
+ broccoli_ml-0.11.0.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
15
+ broccoli_ml-0.11.0.dist-info/METADATA,sha256=lhqe3y611DvRmRSI8BK-rm1Xl5V8Tqh8m2kgRdmjZC8,1257
16
+ broccoli_ml-0.11.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
17
+ broccoli_ml-0.11.0.dist-info/RECORD,,