nb-asr-morfologisk-stil-nob
收藏资源简介:
该数据集专为文档条件化的布克莫尔形态风格转换任务设计,旨在训练模型根据同一源文档中观察到的5–20个词形(形态风格)重写一个句子。每个列出的词形均在 AltMorph 中有已验证的替代形式,证据来自另一个句子,且与目标的替代家族不相交。数据集的提示格式适用于序列到序列训练,包含形态风格选择和带替代项的句子。此外,还提供了因果配置(causal),包含28,791对匹配样本,其中带括号的句子固定,但两个不同的参考文档提供对比风格列表,从而生成两种不同的完整句子。数据集共有396,706行,源自84,101个不同目标句子,按近重复文档聚类哈希划分为训练集(327,912行)、验证集(34,032行)和测试集(34,762行),确保无文档跨划分。数据源自 NbAiLab/nb-asr-supermorphed-nob 数据集,每行保留原始来源、修订版本、文档标识符、来源类型和行级许可证。构建过程中,替代块精确对齐人工编写的源文本,风格形式仅保留每个候选为单一词形的情况,并保留文字Markdown、数学和编辑括号。每个行包含每个风格形式的替代项和证据句子、目标家族元数据以及近重复聚类ID。随附 manifest.json、audit.json、source_profile.json 和 human_inspection.json 文件以提供可复现性和检查记录。注意,风格列表是证据而非全局一致的语言学标签,源文档可能包含引用、多个作者或真实变异,评估时应分开报告带括号和打乱模式,并与基于规则和未改变的基线进行比较。
This dataset is designed for document-conditioned Bokmål morphological style transfer, aiming to train models to rewrite a sentence based on 5–20 word forms (morphological styles) observed in the same source document. Each listed word form has a verified alternative form in AltMorph, with evidence from another sentence, and is disjoint from the targets alternative family. The datasets prompt format is suitable for sequence-to-sequence training, including morphological style selection and sentences with alternatives. Additionally, a causal configuration is provided, containing 28,791 pairs of matched samples, where the bracketed sentence is fixed, but two different reference documents provide contrasting style lists, generating two different complete sentences. The dataset has a total of 396,706 rows, derived from 84,101 distinct target sentences, and is split into training (327,912 rows), validation (34,032 rows), and test (34,762 rows) sets based on near-duplicate document clustering hashing, ensuring no cross-partition documents. The data originates from the NbAiLab/nb-asr-supermorphed-nob dataset, with each row preserving original source, revision version, document identifier, source type, and row-level license. During construction, replacement blocks are precisely aligned with manually written source texts, style forms are retained only when each candidate is a single word form, and textual Markdown, mathematical notation, and editing brackets are preserved. Each row contains alternatives and evidence sentences for each style form, target family metadata, and near-duplicate cluster ID. Accompanying manifest.json, audit.json, source_profile.json, and human_inspection.json files are provided for reproducibility and inspection records. Note that style lists are evidence rather than globally consistent linguistic labels; source documents may contain citations, multiple authors, or genuine variation. Evaluation should separately report bracketed and shuffled patterns and compare against rule-based and unmodified baselines.
数据集概述
该数据集名为 Document-conditioned Bokmål morphological style(文档条件化的书面挪威语形态风格),由 NbAiLab 发布,旨在训练模型根据同一源文档中观察到的 5–20 个词形,将一句话重写为该文档的形态风格。
基本信息
- 语言:书面挪威语(nob)
- 许可证:other(每条数据行均带有独立的许可证字段,需查阅上游数据集卡片)
- 任务类别:文本生成(text-generation)
任务格式
数据集提供两种输入模式:
- sequence-to-sequence 模式:
prompt字段直接包含风格词形列表(如hytta | hosta)及带有替代选项的句子(如[Jenta|Jenten] [kasta|kastet] ballen.)。 - 因果模式(causal config):输入为打乱顺序的表层句子,目标为完整的完成句。
所有样本的目标输出仅为补全后的句子,不包含隐藏推理或结构化中间目标。
数据划分
| 划分 | 行数 |
|---|---|
| train | 327,912 |
| validation | 34,032 |
| test | 34,762 |
| 总计 | 396,706 |
- 划分基于近重复文档簇的固定哈希分配,确保源文档及其近重复簇不会跨划分。
- 测试集分配时未查看目标句子,且未纳入人工检查包。
数据来源与许可
- 源数据集为
NbAiLab/nb-asr-supermorphed-nob(修订版本346754624582a2858864a18c685aa365d338504e)。 - 每一行保留上游数据集、修订版本、行/文档标识符、源类型及行级许可证。
- 整个语料库采用多种兼容的开放许可证,因此 Hub 级别许可证标记为
other。
构建与审核
- 数据集包含 396,706 行,源自 84,101 个不同的目标句子。
- 替代块与人工撰写的源文本精确对齐;风格词形仅在所有候选项均为单一词法形式时保留。
- 字面的 Markdown、数学及编辑括号被保留,而非当作 AltMorph 语法处理。
- 每行包含所有风格词形的替代选项与证据句、目标族元数据及近重复簇 ID。
- 随附
manifest.json、audit.json、source_profile.json和human_inspection.json文件,用于可复现性与检查记录。
因果配置
因果配置包含 28,791 对匹配样本。每对样本中,带括号的句子保持不变,而两个不同的参考文档提供不同的风格列表,从而允许两个不同的完成句。因此,该任务无法通过单一的全局多数形式解决。
局限性
- 风格列表是证据而非保证全局连贯的语言学标签,源文档可能包含引文、多位作者或真实的文体变异。
- 评估时应分别报告带括号模式和打乱模式的结果,并与不变基线及基于规则的基线进行比较,同时包含匹配的对比风格列表因果测试。




