a43992899 commited on
Commit
5240c27
·
verified ·
1 Parent(s): 0e06c98

Update configuration_MERT.py

Browse files
Files changed (1) hide show
  1. configuration_MERT.py +3 -0
configuration_MERT.py CHANGED
@@ -133,6 +133,9 @@ class MERTConfig(PretrainedConfig):
133
 
134
  self.attention_relax = attention_relax
135
 
 
 
 
136
  @property
137
  def inputs_to_logits_ratio(self):
138
  return functools.reduce(operator.mul, self.conv_stride, 1)
 
133
 
134
  self.attention_relax = attention_relax
135
 
136
+ # fix bug with hf > 4.42
137
+ self.conv_pos_batch_norm = False
138
+
139
  @property
140
  def inputs_to_logits_ratio(self):
141
  return functools.reduce(operator.mul, self.conv_stride, 1)