You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the upcoming biomedical Flair release ("hunflair") comes a new object called MultiTagger with which multiple different SequenceTagger can be chained.
This tasks monitors the optimization of this model, namely:
If two models use the same static embedding, only one of them should be kept in memory
If two models use the same static embedding, only one of them should be applied during prediction
The idea is to enable us to load several models at once, like this:
# load tagger for POS, chunking, NER and frame detectiontagger=MultiTagger.load(['pos', 'upos', 'chunk', 'ner', 'frame'])
# example sentencesentence=Sentence("George Washington was born in Washington")
# predicttagger.predict(sentence)
The text was updated successfully, but these errors were encountered:
I have a custom flair LM model and a few classifiers that use the same LM embdeddings. Is there an equivalent MultiClassifier? So that the embeddings are reused per inference.
With the upcoming biomedical Flair release ("hunflair") comes a new object called
MultiTagger
with which multiple differentSequenceTagger
can be chained.This tasks monitors the optimization of this model, namely:
The idea is to enable us to load several models at once, like this:
The text was updated successfully, but these errors were encountered: