question_generation
question_generation copied to clipboard
Fixed substring not found error
Fixed substring not found error by keeping skip_special_tokens=True for ans_tokenizer.decode in _extract answers.
@Hemanth21k Thanks a lot for this answer. Spent a lot of time debugging the issue but was unable to debug it until I found this. Keep on doing the good job.