Kingfall-Roleplay
收藏资源简介:
Kingfall-Roleplay 是一个用于角色扮演任务的合成对话数据集,作为由 Gemini Kingfall 模型生成的大规模语料库的预览子集公开发布。该数据集包含 10,000 条经过改写和筛选的对话样本,旨在展示 Kingfall 模型在角色理解、世界知识和叙事生成方面的能力,同时通过技术处理降低了数据溯源风险。数据来源于一个长期合作伙伴,在 Kingfall 模型短暂可用的窗口期内通过 Gemini API 于 EEA 地区批量生成,并确保符合相关数据使用条款。数据集中的对话围绕来自各类作品(如小说、影视等)的虚构角色展开,这些角色选自 Kingfall 模型在知识蒸馏任务中表现出色的样本。数据构建过程基于原作品的角色关系和设定,为每对角色生成了双向的角色扮演对话,并经过后处理以提升对话的一致性、相关性以及角色人格的保持度。每条数据记录为一个对话列表,其中包含交替的 Human 和 Assistant 消息。Human 消息通常用于发起或参与角色扮演场景,而 Assistant 消息则严格遵循特定的系统提示:在首轮回复中,助手会清晰概述双方角色的性格特征和当前场景的背景设定,随后以符合角色的开场台词和动作进入对话,并在后续交互中始终保持一致的角色扮演。数据集支持英语、中文、日语和德语四种语言。该数据集主要用于训练或评估沉浸式角色扮演对话系统,研究大语言模型在角色扮演、人物一致性保持和叙事生成等任务上的表现。作为预览版本,它提供了高质量的研究样例,其完整版本或更多衍生数据可能在后续发布。
Kingfall-Roleplay is a synthetic dialogue dataset for role-playing tasks, publicly released as a preview subset of a large-scale corpus generated by the Gemini Kingfall model. The dataset contains 10,000 rewritten and filtered dialogue samples, designed to showcase the Kingfall models capabilities in character understanding, world knowledge, and narrative generation, while reducing data traceability risks through technical processing. The data originates from a long-term partner, batch-generated via the Gemini API in the EEA region during a brief availability window of the Kingfall model, ensuring compliance with relevant data usage terms. Dialogues in the dataset revolve around fictional characters from various works (e.g., novels, films), selected from samples where the Kingfall model excelled in knowledge distillation tasks. The data construction process is based on the original works character relationships and settings, generating bidirectional role-playing dialogues for each pair of characters, with post-processing to enhance dialogue consistency, relevance, and character persona retention. Each data record is a dialogue list containing alternating Human and Assistant messages. Human messages typically initiate or participate in role-playing scenarios, while Assistant messages strictly follow a specific system prompt: in the first response, the assistant clearly outlines the personality traits of both characters and the background setting of the current scene, then enters the dialogue with opening lines and actions consistent with the characters, maintaining consistent role-playing in subsequent interactions. The dataset supports four languages: English, Chinese, Japanese, and German. It is primarily used for training or evaluating immersive role-playing dialogue systems and studying the performance of large language models in tasks such as role-playing, character consistency maintenance, and narrative generation. As a preview version, it provides high-quality research examples, with the full version or more derivative data potentially released later.
数据集概述
- 数据集名称: CausalLM/Kingfall-Roleplay
- 类型: 大规模合成语料库的预览子集,由 Gemini Kingfall 模型生成。
- 规模: 包含 1 万条经过改写的样本,供公开预览和研究使用。
- 语言: 支持英语 (en)、中文 (zh)、日语 (ja)、德语 (de) 四种语言。
- 许可证: wtfpl (无任何限制许可证)。
数据来源与发布背景
- 源模型: 数据集基于一个被称为 Kingfall 的保密 Gemini 系列模型生成,据推测可能为 Ultra 级别或高于 Pro 级别,尤其在角色理解方面表现突出。
- 生成方式: 原始样本通过 Gemini API 在 Kingfall 模型短暂可用期间(A/B 测试)批量生成,生成地点为 EEA 地区。
- 数据提供: 由长期数据合作伙伴提供,经过改写以降低直接追溯风险。
- 发布状态: 此为预览版本,并非完整语料库。未来可能发布更多 Kingfall 衍生数据资源。
数据构建方法
- 角色选择: 角色选自 Kingfall 生成的知识蒸馏样本中出现的角色名称,聚焦于模型掌握程度高的作品与角色。
- 对话配对: 基于原设定中的角色关系,构建双向角色扮演对话对。
- 质量筛选: 生成后的对话经过自我审查和验证,以提升一致性、相关性、人格保持能力和角色扮演质量。
数据格式
- 特征: 包含
conversations字段,其下有两个子字段:from: 字符串类型,标识对话者(如 "Human" 或 "Assistant")。value: 字符串类型,对话内容。
- 划分: 仅包含训练集 (train),共 10,000 个样本。
- 文件路径: 数据文件位于
data/train-*。
预期系统提示词
该数据集设计为配合以下系统提示词使用: text You are an immersive roleplay assistant. Place every sentence on a new line. In the first turn, outline the traits for both characters and describe the scene settings. After establishing the background, provide your opening line and actions. Maintain your persona consistently throughout the conversation.
注意:系统提示词未包含在具体数据条目中。
对话结构
- 起始: 每条对话以 Human 消息开始,邀请模型开启角色扮演。
- 登场: Assistant 的首次回复先介绍双方角色特征和场景背景。
- 展开: 完成设定后,Assistant 以开场台词和动作启动角色扮演,并在整个对话中保持一致的角色人格。




