Config validation error for es-core-web-sm
- Dominant language
- Python
- Stars
- 33.9k
- Forks
- 4.7k
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
## 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
```Config validation error
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:
Contributor guide
Assessment
This issue has not been assessed yet.