Skip to content

Commit

Permalink
add label candidates to sentence index edit teacher
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily Dinan authored Jul 27, 2018
1 parent 93e419c commit f6f0355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parlai/tasks/squad/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def get(self, episode_idx, entry_idx=None):
'id': 'squad',
'text': context + '\n' + question,
'labels': labels,
'label_candidates': edited_sentences,
'episode_done': True,
'answer_starts': label_starts
}
Expand Down

0 comments on commit f6f0355

Please sign in to comment.