vikhyatk commited on
Commit
ab90666
1 Parent(s): d49116c

Upload Moondream

Browse files
Files changed (1) hide show
  1. configuration_moondream.py +1 -1
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)