Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

running in Jupyter #51

Open
Mandyrose opened this issue Jan 11, 2020 · 0 comments
Open

running in Jupyter #51

Mandyrose opened this issue Jan 11, 2020 · 0 comments

Comments

@Mandyrose
Copy link

Hi,
I'm trying to run the code in Jupyter, I have everything installed. but when running:

import sys
sys.path.insert(0, '/the/path/in/my/computer')

import qas
from qas import adam
import spacy
from qas.constants import EN_MODEL_MD, EN_MODEL_DEFAULT, EN_MODEL_SM

adam.main("when was WW2?")

I get the error:

usage: ipykernel_launcher.py [-h] [--version] [-l XX] [-n Y] [--lite]
[--model XXX_XX] [-v] [-vv]
"QUESTION"
ipykernel_launcher.py: error: unrecognized arguments: h e n w a s W W 2 ?

An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

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

No branches or pull requests

1 participant