Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config validation error for es-core-web-sm #13546

Open
tramiitized opened this issue Jun 24, 2024 · 0 comments
Open

Config validation error for es-core-web-sm #13546

tramiitized opened this issue Jun 24, 2024 · 0 comments

Comments

@tramiitized
Copy link

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

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant