Skip to content
Discussion options

You must be logged in to vote

Hi Premshay,

Stepping back a bit, what's the overall goal of using the encoder-decoder model?

spaCy is very focussed on adding markup to Doc objects -- adding information to them calculated from statistical models, and then letting you access that information while iterating over tokens, spans, etc.

Encoder-decoder models don't necessarily fit within this paradigm well. The output of the model is other text, rather than the original text. So it doesn't work well within the API design of spaCy.

Rather than generalise things to handle all sorts of input and output structures, we want to keep spaCy's purpose specific to its use-cases, which centre on natural language understanding. We think …

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@Premshay
Comment options

@rmitsch
Comment options

@Premshay
Comment options

@adrianeboyd
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Comment options

You must be logged in to vote
1 reply
@honnibal
Comment options

Comment options

You must be logged in to vote
1 reply
@GenVr
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / transformer Feature: Transformer
5 participants