huggingface / transfer-learning-conv-ai

🦄 State-of-the-Art Conversational AI with Transfer Learning
MIT License
1.74k stars 430 forks source link

personalities = [dialog["personality"] for dataset in dataset.values() for dialog in dataset], TypeError: list indices must be integers or slices, not str #84

Open RisabBiswas opened 4 years ago

RisabBiswas commented 4 years ago

This error does make sense, "personality is a str not int and thus can't be used as an index. Do we have any fix for this?

RisabBiswas commented 4 years ago

@sshleifer Please kindly help :(