Datasets:
what different between the-stack-v2-train-full-ids and the-stack-v2-dedup
#2
by
shawn0wang
- opened
what is further filtered with heuristics
Hi
@shawn0wang
! the-stack-v2-train-full-ids
is the filtered version of the-stack-v2-dedup
.
Also some language stats to compare the three versions: https://huggingface.co/datasets/bigcode/the-stack-v2/blob/main/language_stats.csv
Hi
@anton-l
, could you please clarify more on what filtering steps are applied to the-stack-v2-dedup
and the-stack-v2-train-full-ids
? Especially for the ones mentioned in the paper:
- GitHub repositories, main branch, latest commits
- Removed all files with >n (e.g., 100k, 512 ..) lines and longest line length >100k characters
- Removed files classified as auto-generated
- Removed files with <25% of alphabetic characters
- Encoded data filter
- Dedup, malicious code, opt-out ...
Thank you a lot!
Hi @Yarina ! The pipeline is roughly as follows:
- GitHub repositories, main branch, latest commits --> the-stack-v2
- Near-deduplication of
the-stack-v2
--> the-stack-v2-dedup - And the rest of the filters are applied to
the-stack-v2-dedup
to get the-stack-v2-train-full
I hope this helps!
Ok from https://huggingface.co/datasets/bigcode/the-stack-v2/blob/main/language_stats.csv, the-stack-v2-train-full
is roughly 2.39TB.