Abstract
Token-free language models learn directly from raw bytes and remove the bias of subword tokenization. Operating on bytes, however, results in significantly longer sequences, and standard autoregressive Transformers scale poorly in such settings. We experiment with MambaByte, a token-free adaptation of the Mamba state space model, trained autoregressively on byte sequences. Our experiments indicate the computational efficiency of MambaByte compared to other byte-level models. We also find MambaByte to be competitive with and even outperform state-of-the-art subword Transformers. Furthermore, owing to linear scaling in length, MambaByte benefits from fast inference compared to Transformers. Our findings establish the viability of MambaByte in enabling token-free language modeling.
Community
An interesting addition to the new group of Mamba models. Hope to see an implementation on GitHub or HuggingFace soon!
Super down to bring it to transformers
π€ i'll work on Mamba next week, then tokenizer less thing!
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces (2023)
- MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts (2024)
- Gated Linear Attention Transformers with Hardware-Efficient Training (2023)
- SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention (2023)
- ELLA-V: Stable Neural Codec Language Modeling with Alignment-guided Sequence Reordering (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
MambaByte: Revolutionizing Token-Free Language Models
Links π:
π Subscribe: https://www.youtube.com/@Arxflix
π Twitter: https://x.com/arxflix
π LMNT (Partner): https://lmnt.com/
Models citing this paper 6
Browse 6 models citing this paperDatasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper