Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run the scripts in multilingual #4

Open
happyMinionVic opened this issue Nov 20, 2020 · 0 comments
Open

Unable to run the scripts in multilingual #4

happyMinionVic opened this issue Nov 20, 2020 · 0 comments

Comments

@happyMinionVic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant