Skip to content

wyshi/consistency

Repository files navigation

0. Install the environment

conda env create -f environment.yml

python -m spacy download en_core_web_sm

1. download the imitation classifier and dialog act classifier

download here

labelencoder_A

labelencoder_B

python imitation_learning/load_model.py

2. inconsistency/repetition detection

under AgentProfile/

3. RL, PPO

python PPO.py

4. Persuasion agent class

PersuasionInteract.py: a persuasion chatbot, also the actor in PPO.py

a good reference

https://github.com/qywu/TextGAIL

future steps

Automate the inconsistency/repetition detection steps, other related tasks, be aware

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages