broccoli-ml 0.5.1__tar.gz → 0.5.2__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.5.1
3
+ Version: 0.5.2
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -91,7 +91,7 @@ class ViTEncoder(nn.Module):
91
91
  transformer_activation_kwargs: Optional[dict] = None,
92
92
  transformer_mlp_dropout=0.0,
93
93
  transformer_msa_dropout=0.1,
94
- stochastic_depth=0.1,
94
+ transformer_stochastic_depth=0.1,
95
95
  linear_module=nn.Linear,
96
96
  initial_batch_norm=True,
97
97
  ):
@@ -287,7 +287,7 @@ class ViTEncoder(nn.Module):
287
287
  activation_kwargs=transformer_activation_kwargs,
288
288
  mlp_dropout=transformer_mlp_dropout,
289
289
  msa_dropout=transformer_msa_dropout,
290
- stochastic_depth=stochastic_depth,
290
+ stochastic_depth=transformer_stochastic_depth,
291
291
  causal=False,
292
292
  linear_module=linear_module,
293
293
  bos_tokens=transformer_bos_tokens,
@@ -359,7 +359,7 @@ class CCT(nn.Module):
359
359
  transformer_activation_kwargs: Optional[dict] = None,
360
360
  transformer_mlp_dropout=0.0,
361
361
  transformer_msa_dropout=0.1,
362
- stochastic_depth=0.1,
362
+ transformer_stochastic_depth=0.1,
363
363
  batch_norm_outputs=True,
364
364
  initial_batch_norm=True,
365
365
  linear_module=nn.Linear,
@@ -411,7 +411,7 @@ class CCT(nn.Module):
411
411
  transformer_activation_kwargs=transformer_activation_kwargs,
412
412
  mlp_dropout=transformer_mlp_dropout,
413
413
  msa_dropout=transformer_msa_dropout,
414
- stochastic_depth=stochastic_depth,
414
+ transformer_stochastic_depth=transformer_stochastic_depth,
415
415
  linear_module=linear_module,
416
416
  initial_batch_norm=initial_batch_norm,
417
417
  )
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "0.5.1"
3
+ version = "0.5.2"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes
File without changes