huggingface / huggingface/fineweb-2

The final data from the fineweb-2 pipeline has significantly low amount of rows

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
264
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Run the fineweb-2 pipeline in the Ray cluster using RayPipelineExecutor from datatrove, only for language = 'rus_Cyrl'.
It did run successfully, but the final amount of data is much lower that i expected.
For example the Common Crawl dump: CC-MAIN-2024-10 has around 10 million rows of 'rus_Cyrl' language data in the [huggingface](https://huggingface.co/datasets/HuggingFaceFW/fineweb-2/viewer/rus_Cyrl), whereas my personal run of fineweb-2 pipeline for the same dump: CC-MAIN-2024-10 generated only 10 thousand rows, lower by 1000 times.
During the research of the issue, found out that the first step of the job, where raw Common-Crawl dump is divided into english and non-english data, has only separated around 300 million rows as non-english. This amount seems too low, as per the Common-Crawl metadata, dumps has around 45% of english and 65% non-english data.
Furthemore, the other steps with language filtration are filtering out most of the russian data and leaving only 10 thousand at the end.

Is the data in the huggingface was calculated by the same fineweb-2 job pipeline given in the repository, and how i can tackle this issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the repository's fineweb-2 pipeline run through RayPipelineExecutor with the Hugging Face rus_Cyrl results for CC-MAIN-2024-10. Inspect the row counts after the English/non-English split and each language-filtering step, then determine whether the published data used the same pipeline and identify where the discrepancy begins.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.