Update configuration_eagle_chat.py
#4
by
FacerAin
- opened
configuration_eagle_chat.py
CHANGED
|
@@ -40,7 +40,7 @@ class Eagle2ChatConfig(PretrainedConfig):
|
|
| 40 |
super().__init__(**kwargs)
|
| 41 |
|
| 42 |
if vision_config is None:
|
| 43 |
-
vision_config = {}
|
| 44 |
logger.info('vision_config is None. Initializing Vision Encoders with default values.')
|
| 45 |
else:
|
| 46 |
if vision_config['model_type'] == 'siglip_vision_model':
|
|
|
|
| 40 |
super().__init__(**kwargs)
|
| 41 |
|
| 42 |
if vision_config is None:
|
| 43 |
+
self.vision_config = {}
|
| 44 |
logger.info('vision_config is None. Initializing Vision Encoders with default values.')
|
| 45 |
else:
|
| 46 |
if vision_config['model_type'] == 'siglip_vision_model':
|