lucidrains / simple-hierarchical-transformerLinks
Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT
☆212Updated 9 months ago
Alternatives and similar repositories for simple-hierarchical-transformer
Users that are interested in simple-hierarchical-transformer are comparing it to the libraries listed below
Sorting:
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆228Updated 8 months ago
- Recurrent Memory Transformer☆148Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆408Updated 4 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 9 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆118Updated 7 months ago
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆78Updated 10 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆98Updated 9 months ago
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆114Updated 2 years ago
- Implementation of Infini-Transformer in Pytorch☆111Updated 4 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆164Updated 4 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆333Updated 11 months ago
- Understand and test language model architectures on synthetic tasks.☆195Updated 2 months ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆134Updated last year
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆127Updated last year
- Some preliminary explorations of Mamba's context scaling.☆212Updated last year
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 2 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆290Updated 2 months ago
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆56Updated last year
- ☆190Updated this week
- Griffin MQA + Hawk Linear RNN Hybrid☆86Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆233Updated 3 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- ☆166Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Updated 2 years ago
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆88Updated 11 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 10 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆378Updated last year