← all repositories

lucidrains/MEGABYTE-pytorch

A PyTorch implementation of MEGABYTE, a multiscale transformer for predicting million-byte sequences across multiple granularities.

655 stars Python Language ModelsML Frameworks
MEGABYTE-pytorch
Not currently ranked — collecting fresh signals.
star history

Implementation of the MEGABYTE architecture that uses hierarchical transformers to model sequences at multiple scales. The global transformer handles coarse representations while local transformers refine finer details. Supports variable depth hierarchies, flash attention, and training/generation on arbitrary byte sequences.

Frequently asked

What is lucidrains/MEGABYTE-pytorch?
A PyTorch implementation of MEGABYTE, a multiscale transformer for predicting million-byte sequences across multiple granularities.
Is MEGABYTE-pytorch open source?
Yes — lucidrains/MEGABYTE-pytorch is open source, released under the MIT license.
What language is MEGABYTE-pytorch written in?
lucidrains/MEGABYTE-pytorch is primarily written in Python.
How popular is MEGABYTE-pytorch?
lucidrains/MEGABYTE-pytorch has 655 stars on GitHub.
Where can I find MEGABYTE-pytorch?
lucidrains/MEGABYTE-pytorch is on GitHub at https://github.com/lucidrains/MEGABYTE-pytorch.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.