Spaces:
Running
on
Zero
Running
on
Zero
Update ACLlama_el_s2s.py
Browse files- ACLlama_el_s2s.py +1 -1
ACLlama_el_s2s.py
CHANGED
@@ -23,7 +23,7 @@ class ACLlamaConfig(LlamaConfig):
|
|
23 |
|
24 |
def load_whisper(audio_tower_name, device="cuda"):
|
25 |
model = WhisperModel.from_pretrained(
|
26 |
-
|
27 |
model.config.forced_decoder_ids = None
|
28 |
return model
|
29 |
|
|
|
23 |
|
24 |
def load_whisper(audio_tower_name, device="cuda"):
|
25 |
model = WhisperModel.from_pretrained(
|
26 |
+
"openai/whisper-large-v3",torch_dtype=torch.float16,low_cpu_mem_usage=True).to(device)
|
27 |
model.config.forced_decoder_ids = None
|
28 |
return model
|
29 |
|