HLTCHKUST / Xpersona

XPersona: Evaluating Multilingual Personalized Chatbot
MIT License
68 stars 16 forks source link

Unable to run the scripts in multilingual #4

Open happyMinionVic opened 3 years ago

happyMinionVic commented 3 years ago

There seem to be some changes in the dataset format or the code in multilingual. And a common error here is:

Traceback (most recent call last): File "interact_decoder_only.py", line 254, in run() File "interact_decoder_only.py", line 184, in run personalities = [dialog["persona"] for dialog in dataset["test"][LANG_MAP[lang]]] TypeError: list indices must be integers or slices, not str

Not only in interact_decoder_only.py but also in other python scripts.