Xaver Maria Krückl commited on
Commit
b31cf63
·
verified ·
1 Parent(s): cfa64a8

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. modeling_xlmedu.py +4 -0
modeling_xlmedu.py CHANGED
@@ -59,6 +59,10 @@ class XLMEduModelHF(PreTrainedModel):
59
  config_class = XLMEduConfig
60
  _tied_weights_keys = []
61
 
 
 
 
 
62
  def __init__(self, config: XLMEduConfig):
63
  super().__init__(config)
64
  # from_config creates an empty encoder shell; weights are loaded by the outer from_pretrained
 
59
  config_class = XLMEduConfig
60
  _tied_weights_keys = []
61
 
62
+ @property
63
+ def all_tied_weights_keys(self):
64
+ return {}
65
+
66
  def __init__(self, config: XLMEduConfig):
67
  super().__init__(config)
68
  # from_config creates an empty encoder shell; weights are loaded by the outer from_pretrained