wyshi / consistency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 100.0%