Issue with creating a Language object from a loaded config. #9072
-
Hi all!
output from Spyder console:
I tried change in Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi all!
|
Beta Was this translation helpful? Give feedback.
-
In general, we strongly recommend using the train CLI because there can be a lot of details to get right in the training loop and it manages a lot of them for you. If you don't want the use the CLI part of the equation, you should still consider using (or at least taking a careful look at) the If you are in doubt when loading manually like this, step through what happens in |
Beta Was this translation helpful? Give feedback.
In general, we strongly recommend using the train CLI because there can be a lot of details to get right in the training loop and it manages a lot of them for you. If you don't want the use the CLI part of the equation, you should still consider using (or at least taking a careful look at) the
train_while_improving
method fromspacy.training.loop
.If you are in doubt when loading manually like this, step through what happens in
spacy.load
in the code to understand what the required steps are here.