Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: substring not found #94

Open
EnzoBustos opened this issue Jan 12, 2022 · 1 comment
Open

ValueError: substring not found #94

EnzoBustos opened this issue Jan 12, 2022 · 1 comment

Comments

@EnzoBustos
Copy link

Hello, I need to use this Question Generation, for one of my projects, but I´m having trouble with the input text. Always seems to get this error "ValueError: substring not found", and I remove commas and special characters in my text, but I don´t have a clue why this keeps happening.

@moelllerniklas
Copy link

moelllerniklas commented Apr 22, 2022

This propably happens because your transformers version does not meet the requirement of transformers==3.0.0, alternatively check out my fork https://github.com/niklaspm/question_generation which includes pull requests #87 and #34 (fixed substring error and therefore support for current transfomers==4.18.0 version; and added installation via setup.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants