lucidrains / n-grammer-pytorchLinks
Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch
☆74Updated 2 years ago
Alternatives and similar repositories for n-grammer-pytorch
Users that are interested in n-grammer-pytorch are comparing it to the libraries listed below
Sorting:
- Implementation of COCO-LM, Correcting and Contrasting Text Sequences for Language Model Pretraining, in Pytorch☆46Updated 4 years ago
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Updated 3 years ago
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆50Updated 3 years ago
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆49Updated 4 years ago
- A python library for highly configurable transformers - easing model architecture search and experimentation.☆49Updated 3 years ago
- Local Attention - Flax module for Jax☆22Updated 4 years ago
- ☆44Updated 4 years ago
- GPT, but made only out of MLPs☆89Updated 4 years ago
- Implementation of Multistream Transformers in Pytorch☆54Updated 3 years ago
- Implementation of TableFormer, Robust Transformer Modeling for Table-Text Encoding, in Pytorch☆39Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 3 years ago
- An implementation of Transformer with Expire-Span, a circuit for learning which memories to retain☆34Updated 4 years ago
- 🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.☆82Updated 3 years ago
- Implementation of Mixout with PyTorch☆75Updated 2 years ago
- Another attempt at a long-context / efficient transformer by me☆38Updated 3 years ago
- The official repository for our paper "The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers". We s…☆67Updated 2 years ago
- This repository contains the code for paper Prompting ELECTRA Few-Shot Learning with Discriminative Pre-Trained Models.☆48Updated 3 years ago
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆61Updated 3 years ago
- codebase for the SIMAT dataset and evaluation☆39Updated 3 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Updated 2 years ago
- ☆29Updated 3 years ago
- The official code repository for MetricMT - a reward optimization method for NMT with learned metrics☆25Updated 4 years ago
- ☆14Updated 3 years ago
- ☆46Updated 3 years ago
- My explorations into editing the knowledge and memories of an attention network☆35Updated 2 years ago
- Code for the paper "UnNatural Language Inference" to appear at ACL 2021 (Long Paper)☆36Updated 3 years ago
- PyTorch reimplementation of REALM and ORQA☆22Updated 3 years ago
- Official repository with code and data accompanying the NAACL 2021 paper "Hurdles to Progress in Long-form Question Answering" (https://a…☆46Updated 2 years ago
- Axial Positional Embedding for Pytorch☆81Updated 3 months ago
- Code for the paper PermuteFormer☆42Updated 3 years ago