Created
February 8, 2019 06:18
-
-
Save HarshSingh16/749520093bb766d5f05eecfb07ed6b07 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Mapping Questions and Answers | |
Questions=[] | |
Answers=[] | |
for conversation in conversation_ids: | |
for i in range(len(conversation)-1): | |
Questions.append(id2line[conversation[i]]) | |
Answers.append(id2line[conversation[i+1]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment