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.
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.