visheratin commited on
Commit
21146f0
1 Parent(s): 955949b

Update nllb_mrl.py

Browse files
Files changed (1) hide show
  1. nllb_mrl.py +2 -0
nllb_mrl.py CHANGED
@@ -45,6 +45,8 @@ class MatryoshkaLayer(nn.Module):
45
 
46
 
47
  class MatryoshkaNllbClip(PreTrainedModel):
 
 
48
  def __init__(self, config: MatryoshkaNllbClipConfig, device):
49
  super().__init__(config)
50
  if isinstance(device, str):
 
45
 
46
 
47
  class MatryoshkaNllbClip(PreTrainedModel):
48
+ config_class = MatryoshkaNllbClipConfig
49
+
50
  def __init__(self, config: MatryoshkaNllbClipConfig, device):
51
  super().__init__(config)
52
  if isinstance(device, str):