Yield final x value in FBDialogTeacher
Adds a condition to setup_data in FBDialogTeacher to yield the final line in a dataset if 'x' is non empty
@@ -203,3 +203,5 @@ class FbDialogTeacher(DialogTeacher):
# reset x in case there is unlabeled data still left
x = ''
reward = 0
+ if x:
+ yield [x, None, reward], start
