misc registry (spacy version 3.6.1) #12971
-
Error Info
How to reproduce the behaviour
base_config_llm.cfg:
few_shot_NER.yml:
Environment============================== Info about spaCy ============================== spaCy version 3.6.1 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi! I've gone in and made your config file more readable by using triple backticks. That said, I still can't run this as-is because I don't have acccess to your few-shot Either way - can you tell us what is the issue exactly? Are you getting an error, and if so, can you please paste the full stack trace? |
Beta Was this translation helpful? Give feedback.
-
Ah, btw it should be
|
Beta Was this translation helpful? Give feedback.
-
I see you've now updated the config in the original post.
How did you install |
Beta Was this translation helpful? Give feedback.
Hmm, those instructions are a little unexpected, since there's no package named
spacy-misc
.I would suggest:
start in a new venv
install all packages in one command with
python -m pip
so that requirements can all be resolved together and you'll see any conflicts (I think you can leave outtransformers[sentencepiece]
for this particular example)python -m pip install "spacy-llm[transformers]"
run
python -m pip check
to see if there any conflicts (there shouldn't be any, so just in case)check the version of
spacy-llm
withpython -m pip list
And then double-check that the
python
command you're using withpython -m pip
is the same python command you're using to run your script.