Download datasets/polycoder.txt from codeparrot/code-generation-models: direct link, hf CLI and curl.
- Browser
- Download file 482 Bytes
-
https://huggingface.co/spaces/codeparrot/code-generation-models/resolve/02a9aa111f0e6e1d9be300ca68124faae940e0fc/datasets/polycoder.txt
- Command line
-
hf download hf://spaces/codeparrot/code-generation-models@02a9aa111f0e6e1d9be300ca68124faae940e0fc/datasets/polycoder.txt
-
curl -L -o polycoder.txt https://huggingface.co/spaces/codeparrot/code-generation-models/resolve/02a9aa111f0e6e1d9be300ca68124faae940e0fc/datasets/polycoder.txt
482 Bytes
| [PolyCoder paper](https://arxiv.org/pdf/2202.13169v3.pdf) gives a nice comparison of existing code models. The authors also trained a code generation model on **254GB** of data, after preprocessing, consisting of popular repositories for 12 popular programming languages with at least 50 stars from GitHub in October 2021. The data used the following preprocessing: | |
| - Exact match deduplication | |
| - Filtering: | |
| - Average line length < 100 tokens | |
| - Maximum line length < 1000 MB |