Apple Machine Learning Researchdistill*pretrain*transformer7d agoenergy 38

Attention to Mamba: A Recipe for Cross-Architecture Distillation

State Space Models (SSMs) such as Mamba have become a popular alternative to Transformer models, due to their reduced memory consumption and higher throughput at generation compared to their Attention-based counterparts. On the other hand, the community has built up a considerable body of knowledge on how to train Transformers, and many pretrained Transformer models are readily available. To facilitate the adoption of SSMs while leveraging existing pretrained Transformers, we aim to identify an effective recipe to distill an Attention-based model into a Mamba-like architecture. In prior work...

read the original at Apple Machine Learning Research →
This source publishes only a summary in its feed, so the full article lives at the outlet. The link above and below goes to the original.