Skip to content

thu-coai/Reverse_Generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse Generation

This is the official repo of the paper "Constructing Highly Inductive Contexts for Dialogue Safety through Controllable Reverse Generation" accepted to Findings of EMNLP 2022.

Data

We put the BAD+ dataset in data/final_ctx.csv. The response is generated by plato2Base.

Reverse Generation Code

For controlling the toxicity and the induction success rate of the context, please see reverse_gen.py

For controlling the category of the context, please see control_code_dialogpt.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages