跳到正文
原文
Hugging Face·· 2024-11-20AI 评分59

Hugging Face 解读自推测解码:在 transformers 中利用早退层加速文本生成

Faster Text Generation with Self-Speculative Decoding

AI 导读

Hugging Face 介绍了基于 LayerSkip 的自推测解码技术,并在 transformers 库中通过 assistant_early_exit 参数支持单模型早退加速生成。

来源:Hugging Face · huggingface.co