Role-playing Prompt Framework: Generation and Evaluation

Xun Liu, Zhengwei Ni
6/2/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) exhibit impressive proficiency in natural language generation, understanding user instructions, and emulating human-like language use, which has led to significant interest in their application to role-playing scenarios. However, the manual collection of role-specific script data and the evaluation of model performance are resource-intensive processes.

Show full abstract

This paper introduces a prompt-based framework designed to leverage GPT's capabilities for the generation of role-playing dialogue datasets and the evaluation of role-playing performance. To validate the effectiveness of the GPT-based generation and evaluation, we further incorporate the recall-oriented Rouge-L metric, providing an additional quantitative measure of performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2024roleplaying,
  title  = {Role-playing Prompt Framework: Generation and Evaluation},
  author = {Xun Liu and Zhengwei Ni},
  year   = {2024},
  eprint = {2406.00627},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.00627v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.00627.svg)](https://codeofpaper.com/paper/2406.00627)

Discussion