Spaces:
facebook
/

eltociear commited on
Commit
246058b
1 Parent(s): 34441c8

Fix typo in lm.py

Browse files

initalize -> initialize

Files changed (1) hide show
  1. audiocraft/models/lm.py +1 -1
audiocraft/models/lm.py CHANGED
@@ -183,7 +183,7 @@ class LMModel(StreamingModule):
183
  depthwise_init (Optional[str]): Depwthwise initialization strategy. The following options are valid:
184
  'current' where the depth corresponds to the current layer index or 'global' where the total number
185
  of layer is used as depth. If not set, no depthwise initialization strategy is used.
186
- zero_bias_init (bool): Whether to initalize bias to zero or not.
187
  """
188
  assert depthwise_init is None or depthwise_init in ['current', 'global']
189
  assert depthwise_init is None or weight_init is not None, \
 
183
  depthwise_init (Optional[str]): Depwthwise initialization strategy. The following options are valid:
184
  'current' where the depth corresponds to the current layer index or 'global' where the total number
185
  of layer is used as depth. If not set, no depthwise initialization strategy is used.
186
+ zero_bias_init (bool): Whether to initialize bias to zero or not.
187
  """
188
  assert depthwise_init is None or depthwise_init in ['current', 'global']
189
  assert depthwise_init is None or weight_init is not None, \