davda54 commited on
Commit
22629ce
1 Parent(s): 6c30d91

Upload modeling_ltgbert.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. modeling_ltgbert.py +2 -0
modeling_ltgbert.py CHANGED
@@ -256,6 +256,8 @@ class LtgbertPreTrainedModel(PreTrainedModel):
256
  module.bias.data.zero_()
257
  if module.weight is not None:
258
  module.weight.data.fill_(1.0)
 
 
259
 
260
 
261
  class LtgbertModel(LtgbertPreTrainedModel):
 
256
  module.bias.data.zero_()
257
  if module.weight is not None:
258
  module.weight.data.fill_(1.0)
259
+ if module.weight is not None:
260
+ module.weight.data.fill_(1.0)
261
 
262
 
263
  class LtgbertModel(LtgbertPreTrainedModel):