--- tags: [data-portraits, bloom-filter, codet5p, code] --- # Data Portrait: CodeT5+ training data, `github-code-p0of1` A [Data Portrait](https://github.com/ruyimarone/data-portraits) (RedisBloom v2.4.3 Bloom filter) of part of the pretraining data of [CodeT5+](https://huggingface.co/Salesforce/codet5p-220m) (220M, 770M, their `-py` versions, the 110M embedding and the 220M bimodal model), stage 1 ([codeparrot/github-code](https://huggingface.co/datasets/codeparrot/github-code) in Python, Java, Ruby, JavaScript, Go, PHP, C, C++ and C#, permissive licenses only, files of 50 to 2000 whitespace-separated tokens, CodeSearchNet repositories removed): 50-character n-grams with stride 50, after upstream whitespace normalisation. This partition covers 1126 files; per-filter false-positive rate 0.005013. A full membership test needs all 2 partitions; see the `main` revision of [aalkaswan/codet5p-portrait](https://huggingface.co/aalkaswan/codet5p-portrait). ```python from portraits.query import from_hub portrait = from_hub("aalkaswan/codet5p-portrait", revision="github-code-p0of1", verbose=True) ```