broccoli-ml 0.33.0__py3-none-any.whl → 0.33.1__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/vit.py CHANGED
@@ -67,7 +67,7 @@ class ClassificationHead(nn.Module):
67
67
 
68
68
  self.classification_process = nn.Sequential(
69
69
  *[
70
- nn.LayerNorm() if layer_norm else nn.Identity(),
70
+ nn.LayerNorm(d_model) if layer_norm else nn.Identity(),
71
71
  self.summarize,
72
72
  self.projection,
73
73
  self.batch_norm,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: broccoli-ml
3
- Version: 0.33.0
3
+ Version: 0.33.1
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -10,8 +10,8 @@ broccoli/rope.py,sha256=hw7kBPNR9GQXj4GxyIAffsGKPfcTPOFh8Bc7oEHtaZY,12108
10
10
  broccoli/tensor.py,sha256=A2ZdF8i240YUFZdGIArXWlNzx2S2XVuYWF68iJPng6o,4528
11
11
  broccoli/transformer.py,sha256=xXc9dnceGPCOaloITvspNxrkusdSCE-nRn5Xx7-L_XM,17061
12
12
  broccoli/utils.py,sha256=htq_hOsdhUhL0nJi9WkKiEYOjEoWqFpK5X49PtgTf-0,299
13
- broccoli/vit.py,sha256=5Vfnn24rYvR_BtEqhUeSlm7q8G32VJ5uFK-1KwBRgNQ,16207
14
- broccoli_ml-0.33.0.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
15
- broccoli_ml-0.33.0.dist-info/METADATA,sha256=HR8dhCbEfKvHuYhBCFCf-DHLPq46ZmG1FhwCiT3W-Gc,1257
16
- broccoli_ml-0.33.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
17
- broccoli_ml-0.33.0.dist-info/RECORD,,
13
+ broccoli/vit.py,sha256=7lvP2Sak7N5xkKzgzBbwxIrKK2qMwj7GbBIYuoJNxIU,16214
14
+ broccoli_ml-0.33.1.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
15
+ broccoli_ml-0.33.1.dist-info/METADATA,sha256=QEPxmR1k7ggk5WdgYPkBn-PX_XQGWmfDu9lPbnsWOa8,1257
16
+ broccoli_ml-0.33.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
17
+ broccoli_ml-0.33.1.dist-info/RECORD,,