You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: