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 colav in this line qg=QGen() #76

Open
VAIBHAVSING opened this issue Apr 14, 2024 · 2 comments
Open

error in google colav in this line qg=QGen() #76

VAIBHAVSING opened this issue Apr 14, 2024 · 2 comments

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')

@Aditya-AJ-19
Copy link

@srkanyalcinkaya Where did you write the above code in colab or you make changes in github code by cloning it

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

3 participants