Skip to content
Discussion options

You must be logged in to vote

This is the right repo. We intentionally disable issues on spacy-transformers to keep things in one place.

Sorry this is confusing. I would need more time to figure out exactly what's going wrong but I think the issue is just that you're not initializing the transformer component (the way this works is a little special).

In particular note here:

nlp.add_pipe("transformer")

This just adds a transformer with default config, everything you did with the trf object above is ignored. See here for an example of actually passing the config.

Not sure if those docs alone will clear things up for you, can you clarify what you're actually trying to do?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@robertsonwang
Comment options

@polm
Comment options

@robertsonwang
Comment options

@polm
Comment options

@robertsonwang
Comment options

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

This discussion was converted from issue #10637 on April 10, 2022 12:00.