houyuhuifei/ekg-writer
收藏资源简介:
EKG-Writer v1.0是一个基于事件知识图(EKG)的AI驱动中文小说生成数据集,专为研究结构化小说生成而设计。它使用5层EKG结构(从L0主题到L4节拍)作为故事蓝图,通过GPT-5管道生成章节级中文散文,并具备自动跨章节一致性跟踪功能。数据集还包括消融实验设计(A/B/C/D组)、post_review质量过滤器(用于检测和重写问题句子),以及跨章节状态机来跟踪事实、伏笔、角色状态等。源材料基于天下霸唱的《鬼吹灯》系列,生成非商业同人创作,涉及原创角色如胡八一、王胖子和明叔。数据集要求Python 3.10-3.12、OpenAI API密钥(支持GPT-5访问)和4GB以上RAM。
EKG-Writer v1.0 is an AI-powered Chinese novel generation dataset using Event Knowledge Graphs (EKG) for structured novel generation research. It employs a 5-layer EKG structure (from L0 theme to L4 beat) as a story blueprint, driving a GPT-5 pipeline to produce chapter-level Chinese prose with automatic cross-chapter consistency tracking. The dataset features an ablation experiment design (A/B/C/D groups), a post_review quality filter for detecting and rewriting problematic sentences (e.g., vague psychological placeholders, summary endings), and a cross-chapter state machine to track confirmed facts, unresolved foreshadowing, character status, props, and location. Based on the source material Ghost Blows Out the Light by Tianxia Bachangg, it generates non-commercial fan fiction with original characters like Hu Bayi, Wang Kaixuan, and Uncle Ming. Requirements include Python 3.10-3.12, an OpenAI API key with GPT-5 access, and 4 GB+ RAM.





