Team Ai
Apppublic

codeparrot/code-generation-models

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
257likes
codeparrot.md9 linesDownload Raw Back to datasets
1[CodeParrot](https://huggingface.co/lvwerra/codeparrot) is a code generation model trained on **50GB** of pre-processed Python data from Github repositories: [CodeParrot dataset](https://huggingface.co/datasets/lvwerra/codeparrot-clean). The original dataset contains a lot of duplicated and noisy data. Therefore, the dataset was cleaned with the following steps:2- Exact match deduplication 3- Filtering:4  - Average line length < 100 tokens5  - Maximum line length < 1000 MB6  - Alphanumeric characters fraction > 0.257  - Remove auto-generated files (keyword search)8 9For more details see the preprocessing script in the transformers repository [here](https://github.com/huggingface/transformers/tree/master/examples/research_projects/codeparrot).