nanochat-jp-eval-bundle
收藏资源简介:
nanochat-jp-eval-bundle 是一个日语评估数据集捆绑包,专为 nanochat-jp(nanochat 的日语分支)设计。该数据集将现有的公开日语基准转换为 nanochat 评估代码可直接读取的格式,并附带配置文件一并发布。评估分为两个体系:CORE 和 Chat。CORE 面向基础模型(预训练后),采用 few-shot 的似然比较(多项选择)或连续生成(语言建模)进行评分,任务定义在 core.yaml 中,包含 6 个任务:JAQKET(2,000 样本,语言建模,10-shot)、COPA-ja(500 样本,2 选 1,0-shot)、Global-PIQA parallel(103 样本,4 选 1,10-shot)、Global-PIQA nonparallel(100 样本,2 选 1,10-shot)、JCommonsenseQA(1,118 样本,5 选 1,10-shot)、JSQuAD(4,420 样本,语言建模,10-shot)。Chat 面向 SFT 或 RL 后的聊天模型,使用 few-shot 示例作为 user/assistant 轮次,对生成结果评分,包含 5 个任务:JMMLU(7,097 样本,4 选 1,4-shot)、JamC-QA(2,309 样本,4 选 1,4-shot)、PFGen(50 样本,基于 n-gram/关键词的流畅性、准确性、有用性平均,20-shot)、YOMI-Bench 生成(2,880 样本,生成一致,3-shot)、YOMI-Bench 分类(5,760 样本,选项标签似然比较,4-shot)。当所有 5 个 Chat 任务结果齐全时,可计算以随机基线为中心的平均值 ChatCORE。数据集包含 dev 文件(jamcqa_dev.jsonl,32 样本)用于兼容性。许可证方面,由于集成了多个不同来源的基准,数据集整体采用混合许可证(other),每个文件继承原典的许可证(如 CC BY-SA 4.0、BSD 2-Clause、Apache-2.0 等)。该数据集仅限评估使用,禁止混入训练数据,转换后的评分可能与官方基准不可直接比较。
nanochat-jp-eval-bundle is a Japanese evaluation dataset bundle designed for nanochat-jp (the Japanese branch of nanochat). This dataset converts existing public Japanese benchmarks into a format directly readable by nanochat evaluation code and releases them with configuration files. The evaluation is divided into two systems: CORE and Chat. CORE targets base models (after pre-training) and uses few-shot likelihood comparison (multiple choice) or continuous generation (language modeling) for scoring. Tasks are defined in core.yaml, including 6 tasks: JAQKET (2,000 samples, language modeling, 10-shot), COPA-ja (500 samples, 2-choice, 0-shot), Global-PIQA parallel (103 samples, 4-choice, 10-shot), Global-PIQA nonparallel (100 samples, 2-choice, 10-shot), JCommonsenseQA (1,118 samples, 5-choice, 10-shot), JSQuAD (4,420 samples, language modeling, 10-shot). Chat targets chat models after SFT or RL, uses few-shot examples as user/assistant turns, and scores generation results. It includes 5 tasks: JMMLU (7,097 samples, 4-choice, 4-shot), JamC-QA (2,309 samples, 4-choice, 4-shot), PFGen (50 samples, average of n-gram/keyword-based fluency, accuracy, and usefulness, 20-shot), YOMI-Bench generation (2,880 samples, generation consistency, 3-shot), YOMI-Bench classification (5,760 samples, option label likelihood comparison, 4-shot). When all 5 Chat task results are available, the average ChatCORE centered on a random baseline can be computed. The dataset includes a dev file (jamcqa_dev.jsonl, 32 samples) for compatibility. Regarding licenses, due to integration of multiple benchmarks from different sources, the overall dataset adopts a mixed license (other), with each file inheriting the original sources license (e.g., CC BY-SA 4.0, BSD 2-Clause, Apache-2.0, etc.). This dataset is for evaluation only, and mixing into training data is prohibited. The converted scores may not be directly comparable with official benchmarks.
nanochat-jp-eval-bundle 数据集详情
数据集概述
- 语言:日语(ja)
- 任务类型:多项选择、问答、文本生成
- 用途:为 nanochat 的日语分支 nanochat-jp 提供的日语评估数据包(eval bundle),将现有公开日语基准转换为 nanochat 评估代码可读的格式,并附带配置文件。
- 许可协议:混合来源许可(
other),整体不设单一开源许可,各文件继承原典数据集各自的许可。
评估体系
数据集包含两套评估系统:
- CORE:面向基础模型(预训练刚完成),通过 few-shot 的似然比较(多项选择)或持续生成(语言建模)打分,任务及 shot 数在
core.yaml中定义。 - Chat:面向 SFT / RL 后的聊天模型,将 few-shot 示例作为 user/assistant 轮次输入,对生成结果进行打分,任务注册于 nanochat-jp 的
chat_eval_common.py中。
CORE 评估任务
| 任务 | 文件 | 格式 | shot 数 | 数量 | 随机基线 |
|---|---|---|---|---|---|
| JAQKET | world_knowledge/jaqket.jsonl |
语言建模 | 10 | 2,000 | 0% |
| COPA-ja | commonsense_reasoning/copa_ja.jsonl |
多项选择(2选) | 0 | 500 | 50% |
| Global-PIQA(平行) | commonsense_reasoning/global_piqa_parallel.jsonl |
多项选择(4选) | 10 | 103 | 25% |
| Global-PIQA(非平行) | commonsense_reasoning/global_piqa_nonparallel.jsonl |
多项选择(2选) | 10 | 100 | 50% |
| JCommonsenseQA | commonsense_reasoning/jcommonsenseqa.jsonl |
多项选择(5选) | 10 | 1,118 | 20% |
| JSQuAD | reading_comprehension/jsquad.jsonl |
语言建模 | 10 | 4,420 | 0% |
Chat 评估任务
| 任务 | 文件 | 评分方式 | shot 数 | 数量 | 随机基线 |
|---|---|---|---|---|---|
| JMMLU | jmmlu/jmmlu.jsonl |
生成文本中的最后一个 A–D 标签 | 4(同一科目) | 7,097 | 25% |
| JamC-QA | jamcqa/jamcqa.jsonl |
生成文本中的最后一个 A–D 标签 | 4(同一类别) | 2,309 | 25% |
| PFGen | pfgen/pfgen.jsonl |
n-gram / 关键词的流畅性、正确性、有用性平均 | 20 | 50 | 0 |
| YOMI-Bench(生成) | yomi_bench/generation.jsonl |
读音、韵律生成一致性 | 3 | 2,880 | 0 |
| YOMI-Bench(分类) | yomi_bench/classification.jsonl |
选择标签的似然比较 | 4 | 5,760 | 37.5% |
jamcqa/jamcqa_dev.jsonl(32件)当前评估不加载,仅为兼容历史评估而随附。- 5个任务全部完成后,以随机基线为中心计算平均得到 ChatCORE 指标。
数据来源与许可
| 任务 | 来源 | 许可 |
|---|---|---|
| JAQKET(v2.0 test) | kumapo/JAQKET(原典:AI王) | CC BY-SA 4.0 |
| COPA-ja | nlp-titech/copa-japanese | BSD 2-Clause |
| Global-PIQA(平行 / 非平行日语部分) | mrlbenchmarks/global-piqa-parallel、同 nonparallel | CC BY-SA 4.0 |
| JCommonsenseQA、JSQuAD | yahoojapan/JGLUE | CC BY-SA 4.0 |
| JMMLU | nlp-waseda/JMMLU | CC BY-SA 4.0(不含 CC BY-NC-ND 的 JMMLU_NC_ND 科目) |
| JamC-QA | sbintuitions/JamC-QA | CC BY-SA 4.0 |
| PFGen | pfnet-research/pfgen-bench | Apache-2.0 |
| YOMI-Bench | benchmark-release/YOMI-Bench | CC BY-SA 4.0 |
core.yaml 和 eval_meta_data.csv 的格式源自上游 nanochat(和 Mosaic Eval Gauntlet)。
重要注意事项
- 仅供评估使用,不得混入训练数据。
- 转换过程中已调整了提示格式、shot 数和打分方式以适配 nanochat 评估代码,因此不能与各基准的官方分数直接比较。
- 数据多源自网络文本,内容准确性以原典为准。




