Skip to content

Instantly share code, notes, and snippets.

@HarshSingh16
Created February 8, 2019 06:18
Show Gist options
  • Save HarshSingh16/749520093bb766d5f05eecfb07ed6b07 to your computer and use it in GitHub Desktop.
Save HarshSingh16/749520093bb766d5f05eecfb07ed6b07 to your computer and use it in GitHub Desktop.
##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