majumderb / pabst

Code for "Unsupervised Enrichment of Persona-grounded Dialog with Background Stories", ACL 2021

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any sample code or script to run run_pplm.py?

jeesoobang opened this issue · comments

I constantly got problems with running run_pplm.py.
first, the COMPAC_MODEL is set to None, so I set it with the model which was learned from run_pplm_discrim_train.py.
then, as the most arguments are set with None value, running code constantly fails.
And when I set the persona argument with "persona sentence", the model fails as it is a string type.

Could you provide a script for running the code?
and could you assure the code is working?