跳到正文
原文
Hugging Face Blog·· 2023-12-20精选AI 评分66

Whisper 用 Speculative Decoding 实现 2 倍推理加速且输出完全一致

Speculative Decoding for 2x Faster Whisper Inference

AI 导读

Hugging Face 博客演示如何用 speculative decoding 将 Whisper 语音转录推理时间降低约 2 倍,同时从数学上保证输出与原模型完全一致。

推荐理由

原文给出了完整的 speculative decoding 原理和实测代码,读者可以直接把它作为 Whisper 推理加速的替换方案。

来源:Hugging Face Blog · huggingface.co