We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdeaba0 commit a427deeCopy full SHA for a427dee
packages/tasks/src/tasks/audio-text-to-text/about.md
@@ -34,7 +34,7 @@ device = "cuda"
34
repo_id = "mistralai/Voxtral-Mini-3B-2507"
35
36
processor = AutoProcessor.from_pretrained(repo_id)
37
-model = VoxtralForConditionalGeneration.from_pretrained(repo_id, torch_dtype=torch.bfloat16, device_map=device)
+model = VoxtralForConditionalGeneration.from_pretrained(repo_id, dtype=torch.bfloat16, device_map=device)
38
39
inputs = processor.apply_transcription_request(language="en", audio="https://huggingface.co/datasets/hf-internal-testing/dummy-audio-samples/resolve/main/obama.mp3", model_id=repo_id)
40
inputs = inputs.to(device, dtype=torch.bfloat16)
0 commit comments