farzadab commited on
Commit
d85845b
1 Parent(s): ffd36f6

Update ultravox_model.py

Browse files
Files changed (1) hide show
  1. ultravox_model.py +1 -0
ultravox_model.py CHANGED
@@ -33,6 +33,7 @@ class UltravoxModel(transformers.LlamaPreTrainedModel):
33
  config_class = UltravoxConfig
34
  config: UltravoxConfig # for type hinting
35
  _no_split_modules = ["Wav2Vec2Model", "WhisperEncoder", "LlamaDecoderLayer"]
 
36
 
37
  def __init__(self, config: UltravoxConfig):
38
  super().__init__(config)
 
33
  config_class = UltravoxConfig
34
  config: UltravoxConfig # for type hinting
35
  _no_split_modules = ["Wav2Vec2Model", "WhisperEncoder", "LlamaDecoderLayer"]
36
+ _keys_to_ignore_on_load_missing = ["audio_tower"]
37
 
38
  def __init__(self, config: UltravoxConfig):
39
  super().__init__(config)