Update modeling_super_linear.py
Browse files- modeling_super_linear.py +2 -0
modeling_super_linear.py
CHANGED
|
@@ -496,6 +496,8 @@ class SuperLinearForCausalLM(PreTrainedModel, GenerationMixin):
|
|
| 496 |
|
| 497 |
|
| 498 |
# the backbone keeps its own Config dataclass, so build one on‑the‑fly:
|
|
|
|
|
|
|
| 499 |
backbone_cfg = type("Cfg", (), config.to_dict())()
|
| 500 |
self.backbone = superLinear(backbone_cfg)
|
| 501 |
|
|
|
|
| 496 |
|
| 497 |
|
| 498 |
# the backbone keeps its own Config dataclass, so build one on‑the‑fly:
|
| 499 |
+
print("SuperLinearForCausalLM")
|
| 500 |
+
print(config)
|
| 501 |
backbone_cfg = type("Cfg", (), config.to_dict())()
|
| 502 |
self.backbone = superLinear(backbone_cfg)
|
| 503 |
|