Fastai community entry to 2020 Reproducibility Challenge
Project description
Reformer Reproducibility Experiments
Fastai community entry to 2020 Reproducibility Challenge
Installation
Setup
If you don't already, its a good idea to install the package into a virtual environment
python3 -m venv my_env
source ./my_env/bin/activate
Run Install
Then you can install the package by running:
pip install git+git://github.com/arampacha/reformer_fastai.git
Project Links
Resources
Author's Code and Resources
- Reformer Paper
- Authors ICLR video
- Google Blog
- Authors code (TRAX)
- Reformer enwik8 model and training config
More Code
- @lucidrain’s Reformer code
- HuggingFace: Reformer source code
- HuggingFace: Reformer notebook example
- HuggingFace: long sequences
- HuggingFace: Pretraining
Data
enwik8
- enwik8.zip, raw data, 100mb
- Tensor2Tensor enwik8 data generator code, with train/dev/test split. File lengths:
- Train: 89,621,832
- Eval: 5,000,000
- Test: 5,000,000
- enwik8 notebook Tensor2Tensor
WMT14
- WMT on HuggingFace Datasets
- Reformer WMT14 vocab
- Reformer.input_vocab_size = 33300, from WMT14 model config
- Train Test split: (guess) newstest2013 for validation and newstest2014 for test, in consistence with Vaswani et al. (2017) - from https://arxiv.org/pdf/2009.02070.pdf
- Tokenizer: Tensor2Tensor SubWordTextEncoder
Explainers
Related
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reformer_fastai-0.0.2.tar.gz
(50.3 kB
view details)
Built Distribution
File details
Details for the file reformer_fastai-0.0.2.tar.gz
.
File metadata
- Download URL: reformer_fastai-0.0.2.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 804b7218c03885c96efad29e7e3a9a907b46dd78f6a8286c2861e2905bbdd5a2 |
|
MD5 | 1de35c5572f13fce1afa6b3cadcfbbdd |
|
BLAKE2b-256 | 981201b43c1f436bb53b9c5e078cf9de07a9a33d8f33205a3aba82bf89d60b52 |
File details
Details for the file reformer_fastai-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: reformer_fastai-0.0.2-py3-none-any.whl
- Upload date:
- Size: 50.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7318a60cade6ffb470bbf8fa083d41850d04e7a99987436c7e00e8df24257a18 |
|
MD5 | 85180a40e7bda0127e12e139e17fd969 |
|
BLAKE2b-256 | 58c43cf0daea5acbb94b7a94d9a73cc83cd67cf54e401ee1b188cae4a29b050a |