Extend Pipeline using Config File #10035
-
I would like to extend an existing trained pipeline and be able to use the command-line interface to run things like an evaluation on it. Is there a way of doing this? So the code looks currently like this: nlp = spacy.load("en_core_web_trf")
nlp.add_pipe("sentencizer") I know that you can evaluate the I was hoping that I could create a config file that looks somewhat like this:
and run Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you create your pipeline in code like that and save it to disk you can specify it from the command line just like |
Beta Was this translation helpful? Give feedback.
If you create your pipeline in code like that and save it to disk you can specify it from the command line just like
en_core_web_trf
. Just pass the path to the model you saved instead ofen_core_web_trf
.