razmars commited on
Commit
dafc41d
·
1 Parent(s): 985512d
Files changed (1) hide show
  1. modeling_super_linear.py +1 -2
modeling_super_linear.py CHANGED
@@ -546,9 +546,8 @@ class superLinear(nn.Module):
546
 
547
  "-------------------------------------------------------------------------------------------------------------------"
548
  class SuperLinearForCausalLM(PreTrainedModel, GenerationMixin):
549
- config_class: SuperLinearConfig
550
 
551
- def __init__(self, config: SuperLinearConfig):
552
  super().__init__(config)
553
 
554
  # the backbone keeps its own Config dataclass, so build one on‑the‑fly:
 
546
 
547
  "-------------------------------------------------------------------------------------------------------------------"
548
  class SuperLinearForCausalLM(PreTrainedModel, GenerationMixin):
 
549
 
550
+ def __init__(self, config: Union[SuperLinearConfig, SuperLinearConfigFS]):
551
  super().__init__(config)
552
 
553
  # the backbone keeps its own Config dataclass, so build one on‑the‑fly: