Upload Moondream
Browse files
configuration_moondream.py
CHANGED
@@ -94,5 +94,5 @@ class MoondreamConfig(PretrainedConfig):
|
|
94 |
model_type = "moondream1"
|
95 |
|
96 |
def __init__(self, **kwargs):
|
97 |
-
self.text_config = PhiConfig()
|
98 |
super().__init__(**kwargs)
|
|
|
94 |
model_type = "moondream1"
|
95 |
|
96 |
def __init__(self, **kwargs):
|
97 |
+
self.text_config = PhiConfig(**kwargs.pop("text_config", {}))
|
98 |
super().__init__(**kwargs)
|