Closed thatbudakguy closed 2 years ago
it looks like all we'd need to do is borrow https://github.com/explosion/spaCy/blob/master/spacy/ml/models/tagger.py and change the Softmax
Layer to MultiSoftmax
. then all of the configuration happens on the component, not on the model, since the model (called something like MultiTagger
, maybe) only cares at runtime what the output vector sizes are.
probably should depend on #10
see https://thinc.ai/docs/api-layers#multisoftmax