CoSER is a high-quality dataset for role-playing LLMs, sourced from 771 renowned novels. The dataset contains authentic multi-turn, multi-character dialogues extracted from acclaimed literary works.
CoSER/
├── train/sft_conversations_sharegpt.json # Data formatted for SFT training
├── test/test_set.json # 200 test samples used in our paper
└── full/ # Complete extracted data from all books
├── A Game of Thrones (A Song of Ice and Fire, #1).json
├── A Tale of Two Cities.json
└── ...The dataset files are in JSON format. Due to the size and complexity of the data structure, the Hugging Face dataset viewer may have difficulty displaying it. We recommend referring to our example files on GitHub: https://github.com/Neph0s/CoSER/tree/main/data
We have conducted safety checks on the dataset and removed potentially problematic content. Specifically, we truncated 110 sensitive conversations and removed a total of 602 messages. These conversations are marked with truncated_for_safety_concerns=True in the dataset.
If you use this dataset in your research, please cite our paper:
@misc{wang2025cosercoordinatingllmbasedpersona,
title={CoSER: Coordinating LLM-Based Persona Simulation of Established Roles},
author={Xintao Wang and Heng Wang and Yifei Zhang and Xinfeng Yuan and Rui Xu and Jen-tse Huang and Siyu Yuan and Haoran Guo and Jiangjie Chen and Wei Wang and Yanghua Xiao and Shuchang Zhou},
year={2025},
eprint={2502.09082},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2502.09082},
}