ClimbMix-Ja / README.md
KantaHayashiAI's picture
Document how the LLM-jp baseline was sampled
c6a55d5 verified
|
Raw History Blame Contribute Delete
27.1 kB
---
task_categories:
- text-generation
tags:
- parquet
- llm
- pretraining
- continual-pretraining
- japanese
- data-mixture
license: odc-by
language:
- ja
size_categories:
- 10M<n<100M
---
<div style="display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0 20px; justify-content: center;">
<a href="https://kantahayashiai.github.io/posts/climblab-ja-and-climbmix-ja/" style="display: inline-block; background-color: #0d1117; color: white; text-decoration: none; padding: 10px 20px; border-radius: 4px; font-weight: 600;">
📝 BLOG (EN)
</a>
<a href="https://note.com/kantahayashiai/n/n44421eb69aae" style="display: inline-block; background-color: #0d1117; color: white; text-decoration: none; padding: 10px 20px; border-radius: 4px; font-weight: 600;">
🇯🇵 解説記事
</a>
<a href="https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja" style="display: inline-block; background-color: #0d1117; color: white; text-decoration: none; padding: 10px 20px; border-radius: 4px; font-weight: 600;">
🤗 CLIMBLAB-JA
</a>
<a href="https://huggingface.co/datasets/KantaHayashiAI/ClimbMix-Ja" style="display: inline-block; background-color: #0d1117; color: white; text-decoration: none; padding: 10px 20px; border-radius: 4px; font-weight: 600;">
🤗 CLIMBMIX-JA
</a>
</div>
<p align="center">
<img src="assets/fig1_bpb_efficiency.png" alt="Held-out BPB convergence on Gemma-3-270M" width="680">
</p>
[Japanese / 日本語はこちら](#japanese)
# ClimbMix-Ja
**ClimbMix-Ja** is a mixture-optimized Japanese pre-training and continual pre-training corpus consisting of **~115B tokens**. Adapting the data mixture optimization methodology of [Nemotron-CLIMB](https://arxiv.org/abs/2504.13161) to Japanese, it is derived from [**ClimbLab-Ja**](https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja) (**~361B tokens**, built on [LLM-jp Corpus v4](https://gitlab.llm-jp.nii.ac.jp/datasets/llm-jp-corpus-v4)) via 112 proxy training runs across 20 semantic clusters.
* **Choosing Between ClimbMix-Ja and ClimbLab-Ja:**
* Use **ClimbMix-Ja** for efficient Japanese pre-training or continual pre-training within ~115B tokens (or multi-epoch runs), especially for strengthening general Japanese knowledge and fluency in base models.
* Use [**ClimbLab-Ja**](https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja) for larger token budgets (>115B tokens), STEM/technical domains, or custom filtering and mixture design (all 20 clusters with 6-axis quality scores are preserved).
* **Base Corpus Adoption:** The underlying corpus **ClimbLab-Ja** has been adopted in the pre-training data pipeline for **Marin "Mochi" 535B-A23B** (under development) by Open Athena / the Stanford-originated Marin project ([data pipeline overview](https://openathena.ai/blog/marin-data-pipeline-overview/)).
## Dataset Details
Token counts below were measured using the Qwen3 tokenizer.
| Specification | ClimbMix-Ja (This Dataset) | [ClimbLab-Ja](https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja) |
| :--- | ---: | ---: |
| **Tokens** | **~115B** (31.9% of Lab) | ~361B |
| **Documents** | **~80.9M** (40.2% of Lab) | ~201M |
| **Compressed Parquet Size** | **~165 GB** | ~480 GB |
| **Parquet Shards** | **768** | 512 |
| **Intended Use** | Pre-training / CPT (~115B budget) | Pre-training / CPT / custom mixing |
## Evaluation Results
We compared **ClimbMix-Ja**, **ClimbLab-Ja**, and the original **LLM-jp** corpus across three distinct model families:
* **`karpathy/nanochat` (d24)**: ~1.38B parameters (24 layers, context 2,048, vocab 32,768), trained from scratch for ~5.84B input tokens (3 seeds each; tokenizer trained per corpus/seed).
* **`Qwen/Qwen3.5-0.8B-Base`**: continual pre-training from base for ~10B tokens (1 run each).
* **`google/gemma-3-270m`**: continual pre-training from base for ~10B input tokens (3 seeds each).
*(The "LLM-jp" baseline is drawn from a shared subset sampled from the Japanese portion of LLM-jp Corpus v4 in proportion to each source's original token share, from which each model's training budget was taken.)*
### Held-Out BPB Convergence (`google/gemma-3-270m`, 3-seed average)
<p><a href="/datasets/KantaHayashiAI/ClimbMix-Ja/resolve/main/assets/climb_figures_en/fig1_bpb.png"><img src="assets/climb_figures_en/fig1_bpb.png" alt="Mean held-out bits per byte over training tokens for LLM-jp, ClimbLab-Ja, and ClimbMix-Ja" width="600"></a></p>
Equal-weight average BPB across 512 documents each from **Aozora Bunko**, **Wiki40B**, and **Wikinews**:
* **LLM-jp baseline:** ~10B tokens
* **ClimbLab-Ja:** reaches the same BPB in **~3.87B tokens**
* **ClimbMix-Ja:** reaches the same BPB in **~3.07B tokens** (~69.3% fewer tokens)
*(Estimated via linear interpolation between adjacent checkpoints saved every ~1.07B tokens.)*
### Japanese 6-Benchmark Average Accuracy (%)
<p><a href="/datasets/KantaHayashiAI/ClimbMix-Ja/resolve/main/assets/climb_figures_en/fig3_accuracy6.png"><img src="assets/climb_figures_en/fig3_accuracy6.png" alt="Mean accuracy across six Japanese benchmarks by model and training corpus" width="600"></a></p>
Equal-weight average across held-out evaluation splits of **JCommonsenseQA** (commonsense QA), **KUCI** (commonsense inference), **JBLiMP** (grammatical minimal pairs), **JMMLU** (4 Japan-related subjects, macro-averaged as 1 metric), **XWinograd** (coreference resolution), and **JamC-QA** (Japan-specific knowledge), scored by minimum total choice NLL.
| Model Family | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| **`karpathy/nanochat` (d24, 3 seeds)** | **52.57 ± 0.18** | 51.87 ± 0.34 | 50.09 ± 0.22 |
| **`Qwen/Qwen3.5-0.8B-Base` (1 run)** | **56.74** | 56.16 | 55.04 |
| **`google/gemma-3-270m` (3 seeds)** | **45.70 ± 0.47** | 45.04 ± 0.18 | 44.80 ± 0.25 |
<details>
<summary>Per-benchmark breakdown (Nanochat / Qwen3.5 / Gemma-3)</summary>
**`karpathy/nanochat` (d24, 3-seed mean %)**
| Benchmark | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| JCommonsenseQA | **68.90** | 68.22 | 62.05 |
| KUCI | 43.80 | **44.39** | 43.00 |
| JBLiMP | 82.58 | **83.69** | 82.98 |
| JMMLU (Japan 4 subj.) | **29.52** | 27.30 | 25.72 |
| XWinograd | **60.38** | 58.92 | 59.99 |
| JamC-QA | **30.23** | 28.68 | 26.76 |
**`Qwen/Qwen3.5-0.8B-Base` (1 run %)**
| Benchmark | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| JCommonsenseQA | **63.00** | 62.38 | 62.38 |
| KUCI | 44.04 | **44.25** | 42.89 |
| JBLiMP | **80.97** | 79.76 | 78.25 |
| JMMLU (Japan 4 subj.) | **58.03** | 56.94 | 55.17 |
| XWinograd | 69.45 | **69.55** | 68.30 |
| JamC-QA | **24.99** | 24.08 | 23.26 |
**`google/gemma-3-270m` (3-seed mean %)**
| Benchmark | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| JCommonsenseQA | **52.25** | 50.34 | 50.82 |
| KUCI | **39.57** | 39.18 | 39.01 |
| JBLiMP | 76.23 | **77.14** | 75.73 |
| JMMLU (Japan 4 subj.) | **24.22** | 24.21 | 23.21 |
| XWinograd | **59.02** | 57.56 | 58.26 |
| JamC-QA | **22.88** | 21.78 | 21.78 |
</details>
### Generation (`pfgen-bench`) & En→Ja Translation (ALT BLEU)
<p><a href="/datasets/KantaHayashiAI/ClimbMix-Ja/resolve/main/assets/climb_figures_en/fig4_generation.png"><img src="assets/climb_figures_en/fig4_generation.png" alt="Japanese generation and English-to-Japanese translation scores by model and training corpus" width="600"></a></p>
`pfgen-bench` (50 prompts × 10 generations) and En→Ja corpus BLEU (`ja-mecab`) on 1,017 ALT sentences:
| Model Family / Metric | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| `nanochat` / PFGEN | 39.89 ± 0.56 | **39.99 ± 0.49** | 37.54 ± 0.69 |
| `nanochat` / En→Ja BLEU | 4.99 ± 0.62 | **5.88 ± 0.52** | 4.26 ± 0.93 |
| `Qwen3.5-0.8B` / PFGEN | **40.66** | 39.67 | 38.55 |
| `Qwen3.5-0.8B` / En→Ja BLEU | **20.57** | 19.67 | 17.64 |
| `gemma-3-270m` / PFGEN | 28.27 ± 0.07 | **28.34 ± 0.57** | 27.27 ± 0.23 |
| `gemma-3-270m` / En→Ja BLEU | **8.46 ± 1.29** | 8.19 ± 0.13 | 6.51 ± 0.13 |
*(Note: `±` indicates sample standard deviation across seeds.)*
## Construction & Mixture Optimization
1. **Base Corpus ([ClimbLab-Ja](https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja)):**
Built from Japanese documents in LLM-jp Corpus v4. Each document was scored (0–5) across 6 criteria using a 6-head `sbintuitions/modernbert-ja-130m` classifier distilled from `Qwen/Qwen3-235B-A22B-Instruct-2507`. Documents were then embedded with `cl-nagoya/ruri-v3-310m`, clustered into 1,000 groups with Flash-KMeans, filtered to 653 groups by group mean scores, and merged into 20 topic clusters via Ward's method before document-level filtering. Both stages require `quality >= 2` and `advertisement >= 2` (higher = less promotional), plus at least one of informational, educational, cultural, or creative value `>= 2` (group mean) and `>= 3` (document level).
2. **Proxy Training (112 Mixtures):**
Using the 350M-class proxy architecture from Nemotron-CLIMB (~376M parameters, 32 layers, hidden size 960, Llama2 SentencePiece tokenizer), we trained **112 mixture ratios** (64 initial + 32 + 16), each on ~2.02B input tokens (sequence length 1,024 × global batch size 304 × 6,500 steps).
3. **Train-Split Search Objective:**
To avoid overfitting to evaluation splits, mixture search used exclusively **train splits** and an independent search-only generation benchmark (standardized using the initial 64 runs and equally weighted):
* JCoLA (linguistic acceptability; train split, AUC)
* JCommonsenseQA (commonsense QA; train split, `acc_norm`)
* KUCI (commonsense inference; train split, `acc_norm`)
* **ClimbGen-Ja**: an independent n-gram-based Japanese generation benchmark created for mixture search (inspired by `pfgen-bench`, using reference outputs from `moonshotai/Kimi-K3` and `google/gemma-4-31B-it` across diverse prompts) so that mixture search preserves generation fluency rather than optimizing solely for multiple-choice knowledge.
4. **Mixture Selection & Extraction:**
Using TabPFN v2 trained on the 112 proxy runs to predict composite scores over 100,000 candidate mixtures satisfying cluster volume constraints, we selected the top-predicted mixture. After applying evaluation/dev exclusions and exact deduplication after normalization on ClimbLab-Ja, documents were sampled according to the target mixture (computed under the Llama2 tokenizer) to create **ClimbMix-Ja**.
## 20-Cluster Token Distribution
<p><a href="/datasets/KantaHayashiAI/ClimbMix-Ja/resolve/main/assets/climb_figures_en/fig2_cluster_mix.png"><img src="assets/climb_figures_en/fig2_cluster_mix.png" alt="Token shares of all 20 clusters in ClimbLab-Ja and ClimbMix-Ja" width="600"></a></p>
In ClimbMix-Ja, the top 5 clusters account for 84.85% of tokens (compared to 30.22% in ClimbLab-Ja), reflecting the search objective's emphasis on general Japanese fluency, common sense, and natural prose.
## Implementation Reference
For reproducing or adapting the Nemotron-CLIMB pipeline itself, please refer to [NVIDIA's official recipe](https://github.com/NVIDIA-NeMo/Curator/tree/main/tutorials/text/nemotron-climb-data-curation). Currently, we release only the datasets (**ClimbLab-Ja** and **ClimbMix-Ja**); additional scripts or classifiers may be considered upon request.
## License
The newly added dataset structure, mixture composition, and metadata in this release are licensed under [ODC-BY](https://opendatacommons.org/licenses/by/1-0/). Users of this dataset must also comply with the license agreements and terms of use of the original data sources listed in [LICENSES.md](https://huggingface.co/datasets/KantaHayashiAI/ClimbMix-Ja/blob/main/LICENSES.md).
## Acknowledgments & Notes
Special thanks to the LLM-jp community for releasing the underlying corpus, to the authors and contributors of CLIMB for sharing their methodology, and to the developers and communities behind the open models, Japanese evaluation benchmarks, and tools used in building and evaluating this dataset.
This dataset was created using the Supermicro ARS-111GL-DNHR-LCC and FUJITSU Server PRIMERGY CX2550 M7 (Miyabi) systems at the Joint Center for Advanced High Performance Computing (JCAHPC).
This work was supported by The Nippon Foundation HUMAI Program.
## Citation
```bibtex
@misc{hayashi2026climblabmixja,
author = {Hayashi, Kanta},
title = {ClimbLab-Ja and ClimbMix-Ja: Cluster-Based Curation and Mixture Optimization for Japanese LLM Pretraining},
year = {2026},
month = {dec},
howpublished = {\url{https://kantahayashiai.github.io/posts/climblab-ja-and-climbmix-ja/}},
note = {Datasets: \url{https://huggingface.co/collections/KantaHayashiAI/climblab-ja-and-climbmix-ja}}
}
```
---
<a id="japanese"></a>
# ClimbMix-Ja
**ClimbMix-Ja** は、**約1,150億トークン(約8,090万文書)** からなる混合比最適化済みの日本語事前学習・継続事前学習コーパスです。[Nemotron-CLIMB](https://arxiv.org/abs/2504.13161)のデータ配合最適化手法を日本語へ適用し、[**ClimbLab-Ja**](https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja)(約3,610億トークン、[LLM-jp Corpus v4](https://gitlab.llm-jp.nii.ac.jp/datasets/llm-jp-corpus-v4) 由来)の20クラスターに対する112通りのプロキシ学習実験をもとに構築しました。
* **ClimbMix-Ja と ClimbLab-Ja の使い分け:**
* **ClimbMix-Ja** は、約1,150億トークン以内(または複数epoch学習)で効率よく日本語基盤能力・一般常識を伸ばしたい事前学習・継続事前学習に適しています。
* [**ClimbLab-Ja**](https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja) は、より大規模な学習量や、理系・専門分野の重視、独自のフィルタリング・配合設計を行いたい場合に適しています(全20クラスターと6軸スコアを保持)。
* **基盤コーパスの採用実績:** 元となる **ClimbLab-Ja** は、Stanford大学発のオープンLLMプロジェクト「Marin」(Open Athena)で開発中の**Marin "Mochi" 535B-A23B**の事前学習データにも採用されています([データパイプラインの解説ブログ](https://openathena.ai/blog/marin-data-pipeline-overview/))。
## データセットの詳細
以下のトークン数は、いずれもQwen3トークナイザーで計測した値です。
| 項目 | ClimbMix-Ja(本データセット) | [ClimbLab-Ja](https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja) |
| :--- | ---: | ---: |
| **本文トークン数** | **約1,150億**(Lab比 31.9%) | 約3,610億 |
| **文書数** | **約8,090万**(Lab比 40.2%) | 約2.01億 |
| **圧縮済みParquet合計サイズ** | **約165 GB** | 約480 GB |
| **Parquetシャード数** | **768** | 512 |
| **主な用途** | 事前学習・継続事前学習(約1,150億トークン目安) | 事前学習・継続事前学習・独自配合設計 |
## 評価結果
**ClimbMix-Ja**・**ClimbLab-Ja**・元の **LLM-jp** の3コーパスを、異なる3つのモデル系列で比較しました。
* **`karpathy/nanochat`(d24)**:約13.8億パラメータ(24層、文脈長2,048、語彙32,768)。コーパス・seedごとにトークナイザーを学習し、ゼロから約58.4億入力トークンを学習(各3 seed)。
* <strong><code>Qwen/Qwen3.5-0.8B-Base</code></strong>:同一Baseから約100億トークンの継続事前学習(各1 run)。
* <strong><code>google/gemma-3-270m</code></strong>:同一Baseから約100億入力トークンを継続事前学習(各3 seed)。
(※「元のLLM-jp」は、LLM-jp Corpus v4 の日本語部分から各出典の元のトークン量に比例して文書を抽出したサブセットをもとに、各モデルの学習に必要な量を取り出したものです。)
### 3分野平均BPBの到達トークン数(`google/gemma-3-270m`・3 seed平均)
<p><a href="/datasets/KantaHayashiAI/ClimbMix-Ja/resolve/main/assets/climb_figures_ja/fig1_bpb.png"><img src="assets/climb_figures_ja/fig1_bpb.png" alt="LLM-jp、ClimbLab-Ja、ClimbMix-Jaの学習トークン数に対する3分野の平均BPBの推移" width="600"></a></p>
青空文庫・Wiki40B・Wikinews各512文書の等重み平均BPBにおいて、元のLLM-jpデータ約100億トークン学習時と同じ水準に到達した追加学習トークン数:
* **LLM-jp**:約100億トークン
* **ClimbLab-Ja**:**約38.7億トークン**
* **ClimbMix-Ja**:**約30.7億トークン**(元のLLM-jp比 約69.3%減)
(※約10.7億トークン刻みの隣接チェックポイント間を線形補間した推定値です。)
### 日本語6指標平均正答率(%)
<p><a href="/datasets/KantaHayashiAI/ClimbMix-Ja/resolve/main/assets/climb_figures_ja/fig3_accuracy6.png"><img src="assets/climb_figures_ja/fig3_accuracy6.png" alt="モデルと学習コーパス別の日本語6指標の平均正答率" width="600"></a></p>
JCommonsenseQA(常識QA)、KUCI(常識推論)、JBLiMP(文法・最小対)、JMMLU(日本関連4科目のmacro平均を1指標として計上)、XWinograd(照応解析)、JamC-QA(日本固有の知識)の評価セットにおける等重み平均(選択肢全体の合計NLL最小で採点):
| モデル系列 | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| **`karpathy/nanochat`(d24・3 seed)** | **52.57 ± 0.18** | 51.87 ± 0.34 | 50.09 ± 0.22 |
| **`Qwen/Qwen3.5-0.8B-Base`(1 run)** | **56.74** | 56.16 | 55.04 |
| **`google/gemma-3-270m`(3 seed)** | **45.70 ± 0.47** | 45.04 ± 0.18 | 44.80 ± 0.25 |
<details>
<summary>6指標のモデル別内訳を見る(Nanochat / Qwen3.5 / Gemma-3)</summary>
**`karpathy/nanochat`(d24・3 seed平均 %)**
| 指標 | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| JCommonsenseQA | **68.90** | 68.22 | 62.05 |
| KUCI | 43.80 | **44.39** | 43.00 |
| JBLiMP | 82.58 | **83.69** | 82.98 |
| JMMLU 日本4科目 | **29.52** | 27.30 | 25.72 |
| XWinograd | **60.38** | 58.92 | 59.99 |
| JamC-QA | **30.23** | 28.68 | 26.76 |
**`Qwen/Qwen3.5-0.8B-Base`(1 run %)**
| 指標 | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| JCommonsenseQA | **63.00** | 62.38 | 62.38 |
| KUCI | 44.04 | **44.25** | 42.89 |
| JBLiMP | **80.97** | 79.76 | 78.25 |
| JMMLU 日本4科目 | **58.03** | 56.94 | 55.17 |
| XWinograd | 69.45 | **69.55** | 68.30 |
| JamC-QA | **24.99** | 24.08 | 23.26 |
**`google/gemma-3-270m`(3 seed平均 %)**
| 指標 | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| JCommonsenseQA | **52.25** | 50.34 | 50.82 |
| KUCI | **39.57** | 39.18 | 39.01 |
| JBLiMP | 76.23 | **77.14** | 75.73 |
| JMMLU 日本4科目 | **24.22** | 24.21 | 23.21 |
| XWinograd | **59.02** | 57.56 | 58.26 |
| JamC-QA | **22.88** | 21.78 | 21.78 |
</details>
### 日本語生成(`pfgen-bench`)および英日翻訳(ALT BLEU)
<p><a href="/datasets/KantaHayashiAI/ClimbMix-Ja/resolve/main/assets/climb_figures_ja/fig4_generation.png"><img src="assets/climb_figures_ja/fig4_generation.png" alt="モデルと学習コーパス別の日本語生成と英日翻訳のスコア" width="600"></a></p>
`pfgen-bench`(50問×10生成)と、ALT 1,017文に対する `ja-mecab` でのcorpus BLEU:
| モデル系列 / 指標 | ClimbMix-Ja | ClimbLab-Ja | LLM-jp |
| :--- | :---: | :---: | :---: |
| `nanochat` / PFGEN | 39.89 ± 0.56 | **39.99 ± 0.49** | 37.54 ± 0.69 |
| `nanochat` / 英→日 BLEU | 4.99 ± 0.62 | **5.88 ± 0.52** | 4.26 ± 0.93 |
| `Qwen3.5-0.8B` / PFGEN | **40.66** | 39.67 | 38.55 |
| `Qwen3.5-0.8B` / 英→日 BLEU | **20.57** | 19.67 | 17.64 |
| `gemma-3-270m` / PFGEN | 28.27 ± 0.07 | **28.34 ± 0.57** | 27.27 ± 0.23 |
| `gemma-3-270m` / 英→日 BLEU | **8.46 ± 1.29** | 8.19 ± 0.13 | 6.51 ± 0.13 |
(※`±` はseed間の標本標準偏差です。)
## 構築と混合比の最適化
1. **基盤コーパス([ClimbLab-Ja](https://huggingface.co/datasets/KantaHayashiAI/ClimbLab-Ja)):**
LLM-jp Corpus v4 の日本語データに対し、`Qwen/Qwen3-235B-A22B-Instruct-2507` の出力から蒸留した6ヘッドの `sbintuitions/modernbert-ja-130m` 分類器で6項目を0〜5点で採点しました。次に、`cl-nagoya/ruri-v3-310m` で各文書を埋め込み、Flash-KMeans で1,000グループにクラスタリング → グループ平均で653グループを選抜 → Ward法で20クラスターへ統合 → 文書単位でフィルタリングを実施しています。グループ選抜・文書フィルタリングとも、品質と広告性(値が高いほど広告色が薄い)は2以上とし、情報・教育・文化・創造の4価値スコアは少なくとも1つがグループ平均で2以上、文書単位で3以上のものを残しました。
2. **プロキシ学習(112配合):**
Nemotron-CLIMBの公称350Mモデル(約3.76億パラメータ、32層、隠れ次元960、Llama2 SentencePiece)を用い、1配合あたり約20.2億入力トークン(系列長1,024 × グローバルバッチ304 × 6,500ステップ)で **112通りの配合**(初期64+追加32+追加16)を学習しました。
3. **trainセットのみを用いた探索目的関数:**
評価セットへの過適合を避けるため、探索の目的関数にはすべて **trainセット** および探索専用の自作生成ベンチマークを用い、初期64配合の平均・標準偏差で標準化して等重み平均しました:
* JCoLA(文法性判定・trainセット・AUC)
* JCommonsenseQA(常識QA・trainセット・`acc_norm`)
* KUCI(常識推論・trainセット・`acc_norm`)
* **ClimbGen-Ja**:選択式知識だけが高くて生成能力が低いモデルになるのを防ぐため、`pfgen-bench` に着想を得つつ独立して用意した探索用n-gram生成ベンチマーク(多様なテーマに対して `moonshotai/Kimi-K3` と `google/gemma-4-31B-it` で参照文を生成)。
4. **最終配合の選定と抽出:**
112配合の学習結果から予測モデル(TabPFN v2)を学習し、各クラスターの収録量制約を満たす10万候補から予測スコア最高の配合を選定しました。ClimbLab-Jaに対して評価・開発用の除外と正規化後の完全重複除去を適用し、この目標配合(Llama2トークナイザー基準)に沿って文書単位で抽出して **ClimbMix-Ja** を構築しました。
## 20クラスターのトークン比率
<p><a href="/datasets/KantaHayashiAI/ClimbMix-Ja/resolve/main/assets/climb_figures_ja/fig2_cluster_mix.png"><img src="assets/climb_figures_ja/fig2_cluster_mix.png" alt="ClimbLab-JaとClimbMix-Jaの全20クラスターのトークン比率" width="600"></a></p>
ClimbMix-Jaでは上位5分野で全体の 84.85%(ClimbLab-Jaでは30.22%)を占めており、一般的な日本語の流暢さ・常識・自然な文章を重視する探索目的が反映されています。
## 実装について
Nemotron-CLIMB手法そのものの再現・応用については、[NVIDIA公式の実装レシピ](https://github.com/NVIDIA-NeMo/Curator/tree/main/tutorials/text/nemotron-climb-data-curation)をご参照ください。現在はデータセット本体(**ClimbLab-Ja**・**ClimbMix-Ja**)のみの公開としていますが、手元のスクリプトや分類器等は要望があれば公開を検討します。
## ライセンス
本リリースで新たに追加されたデータセット構造、混合比構成、およびその他のメタデータは、[ODC-BY](https://opendatacommons.org/licenses/by/1-0/)の下でライセンスされています。本データセットを利用する場合、[LICENSES.md](https://huggingface.co/datasets/KantaHayashiAI/ClimbMix-Ja/blob/main/LICENSES.md)に記載された元データソースのライセンス契約および利用規約にも従う必要があります。
## 謝辞・備考
基盤となるコーパスを公開してくださったLLM-jpの皆様、手法を公開してくださったCLIMBの関係者の皆様、および構築・検証に利用したオープンモデル、各種日本語評価ベンチマーク、ツール群の開発者・コミュニティの皆様に感謝いたします。
本データセットは、最先端共同HPC基盤施設(JCAHPC)のSupermicro ARS-111GL-DNHR-LCCおよびFUJITSU Server PRIMERGY CX2550 M7(Miyabi)を用いて作成されました。
また、本研究は日本財団HUMAIプログラムの助成を受けたものです。心より御礼申し上げます。
## 引用
```bibtex
@misc{hayashi2026climblabmixja,
author = {Hayashi, Kanta},
title = {ClimbLab-Ja and ClimbMix-Ja: Cluster-Based Curation and Mixture Optimization for Japanese LLM Pretraining},
year = {2026},
month = {dec},
howpublished = {\url{https://kantahayashiai.github.io/posts/climblab-ja-and-climbmix-ja/}},
note = {Datasets: \url{https://huggingface.co/collections/KantaHayashiAI/climblab-ja-and-climbmix-ja}}
}
```
## Cluster Token Shares / クラスター別トークン比率
| ID | Cluster / クラスター | ClimbLab-Ja | ClimbMix-Ja |
|---:|---|---:|---:|
| 1 | Engineering & Industrial Tech<br>工学・産業技術 | 15.64% | 0.039% |
| 2 | Academic Research<br>学術研究 | 5.53% | <0.001% |
| 3 | Education & Schools<br>教育・学校 | 2.90% | <0.001% |
| 4 | Government, Welfare & Law<br>行政・福祉・法制度 | 11.28% | 0.70% |
| 5 | IT & Digital Devices<br>IT・デジタル機器 | 3.02% | 0.39% |
| 6 | Business & Career<br>ビジネス・キャリア | 2.90% | <0.001% |
| 7 | Corporate, Finance & Practical Affairs<br>企業・金融・制度実務 | 6.60% | **20.22%** |
| 8 | Anime, Manga & Games<br>アニメ・漫画・ゲーム | 6.80% | **21.22%** |
| 9 | Sports<br>スポーツ | 3.81% | <0.001% |
| 10 | Music & Performing Arts<br>音楽・舞台 | 3.67% | <0.001% |
| 11 | Film, Drama & Entertainment<br>映画・ドラマ・芸能 | 4.17% | 1.69% |
| 12 | Food & Cooking<br>食・料理 | 2.72% | <0.001% |
| 13 | Domestic Travel & Regional Info<br>国内観光・地域情報 | 4.41% | **10.97%** |
| 14 | Pets & Animal Care<br>ペット | 1.26% | <0.001% |
| 15 | Vehicles & Cycling<br>車・バイク・自転車 | 1.80% | <0.001% |
| 16 | Hobbies, Nature & Personal Blogs<br>趣味・自然・日記 | 6.03% | **14.15%** |
| 17 | Medicine & Healthcare<br>医療・ヘルスケア | 3.39% | 1.37% |
| 18 | Psychology, Family & Self-Help<br>心理・家族・自己啓発 | 4.81% | **14.07%** |
| 19 | Overseas Travel & Languages<br>海外旅行・留学・語学 | 3.29% | <0.001% |
| 20 | Culture, History & Social Commentary<br>文化・歴史・社会論評 | 5.97% | **15.18%** |