Spaces:
Running
Running
Upload pretraining/pretrained_model.py with huggingface_hub
Browse files
pretraining/pretrained_model.py
CHANGED
|
@@ -178,3 +178,10 @@ def lwm(*args, **kwargs) -> LWM:
|
|
| 178 |
"""Factory to preserve backward compatibility with older imports."""
|
| 179 |
|
| 180 |
return LWM(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
"""Factory to preserve backward compatibility with older imports."""
|
| 179 |
|
| 180 |
return LWM(*args, **kwargs)
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
class PretrainedLWM(LWM):
|
| 184 |
+
"""Alias retained for compatibility with existing inference scripts."""
|
| 185 |
+
|
| 186 |
+
def __init__(self, *args, **kwargs) -> None:
|
| 187 |
+
super().__init__(*args, **kwargs)
|