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

error in google colab in qg=QGen() #75

Open
VAIBHAVSING opened this issue Apr 14, 2024 · 1 comment
Open

error in google colab in qg=QGen() #75

VAIBHAVSING opened this issue Apr 14, 2024 · 1 comment

Comments

@VAIBHAVSING
Copy link

error in google colab due to
TypeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 qg=QGen()

/usr/local/lib/python3.10/dist-packages/Questgen/main.py in init(self)
44 self.device = device
45 self.model = model
---> 46 self.nlp = spacy.load('en_core_web_sm', quiet=True)
47
48 self.s2v = Sense2Vec().from_disk('s2v_old')

TypeError: load() got an unexpected keyword argument 'quiet'

@srkanyalcinkaya
Copy link

I tried like this:

# self.nlp = spacy.load('en_core_web_sm', quiet=True)
self.nlp = spacy.load('en_core_web_sm')

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