Skip to content
Discussion options

You must be logged in to vote

When you add an NER component to your pipeline without a config, it uses the default config. The default config uses an embedded CNN tok2vec rather than a listener, so it has no way to interact with the Transformer.

I would recommend you use the training widget to generate a config with a transformer and examine it for an example of working settings. Even if you must use a training loop, you can copy the config settings into your code.

Can you elaborate on why you can't use a config file?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ml-mar
Comment options

@adrianeboyd
Comment options

Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / transformer Feature: Transformer
3 participants