hotchpotch/fineweb-2-edu-japanese
🍷 FineWeb2 Edu Japanese: High-Quality Educational Japanese Dataset This dataset consists of 120 million texts (approximately 89.3B tokens) filtered from the 376 million Japanese texts in FineWeb2 that were deemed educational. The following subsets are also provided: default: Approximately 120M texts (120 million texts) totaling around 89.3B tokens sample_10BT: A random sample of about 10B tokens from the default dataset small_tokens: Data composed solely of texts with 512… See the full description on the dataset page: https://huggingface.co/datasets/hotchpotch/fineweb-2-edu-japanese.
🍷 FineWeb2 Edu Japanese: High-Quality Educational Japanese Dataset

This dataset consists of 120 million texts (approximately 89.3B tokens) filtered from the 376 million Japanese texts in FineWeb2 that were deemed educational. The following subsets are also provided:
- default: Approximately 120M texts (120 million texts) totaling around 89.3B tokens
- sample_10BT: A random sample of about 10B tokens from the default dataset
- small_tokens: Data composed solely of texts with 512 tokens or fewer
- small_tokens_cleaned: Data from small_tokens with Web-specific text noise removed
⚠️ WARNING: We apologize for the inconvenience. Please note that small_tokens and small_tokens_cleaned have duplicate data in the first ranges 0-9999 and 10000-19999. When using these subsets, please skip the first 10,000 items using something like ds.select(range(10000, len(ds))).
For the introduction article in Japanese, click here.
Background on Dataset Creation
FineWeb (English only) was created for deduplicating web data and extracting high-quality text. In addition, FineWeb-Edu extracts high-quality text for educational purposes, enabling efficient learning with fewer tokens.
FineWeb2, published in December 2024, is a high-quality multilingual dataset (including Japanese). However, as of February 2025, the high educational value "Edu" dataset has not been released. Therefore, this project created and published the FineWeb2 Edu Japanese dataset.
Educational Data Filtering
To build this dataset, we filtered the Japanese texts from FineWeb2 using the model fineweb-2-edu-japanese-classifier to determine educational content. The teacher data for scoring the classifier comes from fineweb-2-edu-japanese-scores, evaluated by DeepSeek-API (deepseek-chat). Only texts with a score of 2.5 or higher have been extracted, and the score is recorded in the score column.
Token Count Assignment
Token counts, computed using the tokenizer from ModernBERT-Ja-130M, are included as the token_count column.
Removal of Web-specific Noise
The Japanese data in FineWeb2 may contain boilerplate or unnecessary noise typical of web content. For example, texts such as:
この文章は90日以上更新の無いサイトに表示されています。
ログイン ログアウト
本当に必要な文章以外にも、さまざまなノイズが含まれていることがあります。例えば、この文章もその一例です。本来不要なテキストが入ってしまうことがこのようにあるでしょう。
今なら50%オフ!クリックしてリンク先の商品を表示
とりわけ文章長が短い場合、文章のほとんどがノイズを含む可能性があります。それらを取り除くことで、より高品質の文章を抽出できないかと考えています。
前のページ 次のページTo remove such unnecessary text, we developed the model fineweb-2-japanese-text-cleaner. The teacher data for noise detection is provided by fineweb-2-japanese-noise-spans, which was created using cyberagent/DeepSeek-R1-Distill-Qwen-32B-Japanese.
This model detects noise sections as shown below:
[NOISE]この文章は90日以上更新の無いサイトに表示されています。[/NOISE]
[NOISE]ログイン[/NOISE] [NOISE]ログアウト[/NOISE]
本当に必要な文章以外にも、さまざまなノイズが含まれていることがあります。例えば、この文章もその一例です。本来不要なテキストが入ってしまうことがこのようにあるでしょう。
[NOISE]
今なら50%オフ!クリックしてリンク先の商品を表示[/NOISE]
とりわけ文章長が短い場合、文章のほとんどがノイズを含む可能性があります。それらを取り除くことで、より高品質の文章を抽出できないかと考えています。
[NOISE]前のページ[/NOISE] [NOISE]次のページ[/NOISE]The small_tokens_cleaned subset in this dataset is derived from small_tokens by applying the fineweb-2-japanese-text-cleaner model to remove noise. Note that the raw data used for noise detection is published as fineweb-2-edu-japanese-noise-detect-raw.
Please note that because noise detection is not perfect, there is a possibility that parts of valid text may be erroneously removed in some cases.
Caveats
No comparative experiments have been conducted between the "FineWeb2 Edu Japanese" dataset and the original "FineWeb2" dataset (which did not undergo Edu filtering). Therefore, the actual impact on LLM training performance remains unverified.
Additionally, the classification accuracy for determining whether a text is educational is not perfect, and some texts that are not intended for educational purposes may be included.
License
This dataset is released under the Open Data Commons Attribution License (ODC-By) v1.0, as is the original FineWeb2 dataset. Additionally, its use is subject to the CommonCrawl Terms of Use.
Citation Information
@software{yuichi2025fineweb-2-edu-japanese,
author = {Yuichi Tateno},
title = {FineWeb2 Edu Japanese},
month = feb,
year = 2025,
url = {https://huggingface.co/datasets/hotchpotch/fineweb-2-edu-japanese/}
}