question_generation icon indicating copy to clipboard operation
question_generation copied to clipboard

Fixed substring not found error

Open Hemanth21k opened this issue 3 years ago • 1 comments

Fixed substring not found error by keeping skip_special_tokens=True for ans_tokenizer.decode in _extract answers.

Hemanth21k avatar Oct 11 '21 13:10 Hemanth21k

@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.

iamdarkangel avatar Feb 05 '22 17:02 iamdarkangel