Skip to content
Discussion options

You must be logged in to vote

These particular configs were probably partially written by hand.

For any component, you should be able to generate a working default config with spacy init config -p component, but it probably won't be identical to the configs in the demos. The default configs are usually intended for use with tok2vec, so you may need to adjust the config further if you switch to transformer.

spacy init config supports a lot of the transformer adjustments automatically with -G for built-in components like tagger, but for experimental or custom components, you may need to make more adjustments by hand, also in the [training] block.

Currently, we can recommend starting with a transformer config for a built…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / config Feature: Training config feat / rel Feature: Relation Extractor
2 participants