You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A NER model is trained using the spanish model, es-core-web-sm and the pipeline is saved with cloudpickle.dumps(). Upon deserialization, with a .get("config") method, the error below occurs
Bad value substitution: option 'width' in section 'components.morphologizer.model.tok2vec' contains an interpolation key 'components.tok2vec.model.encode:width' which is not a valid option name. Raw value: '${components.tok2vec.model.encode:width}'
Upon inspection of the config on model init, '${components.tok2vec.model.encode:width}' is the option for the tok2vec width in the mophologizer component. This only seems to be the case with the spanish model, the english model has width 96.
Your Environment
Operating System: windows 11
Python Version Used: 3.10
spaCy Version Used: 3.7.2
Environment Information:
The text was updated successfully, but these errors were encountered:
How to reproduce the behaviour
A NER model is trained using the spanish model, es-core-web-sm and the pipeline is saved with cloudpickle.dumps(). Upon deserialization, with a .get("config") method, the error below occurs
Upon inspection of the config on model init, '${components.tok2vec.model.encode:width}' is the option for the tok2vec width in the mophologizer component. This only seems to be the case with the spanish model, the english model has width 96.
Your Environment
The text was updated successfully, but these errors were encountered: