Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a transformer based encoder-decoder model #3597

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions flair/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .entity_linker_model import SpanClassifier

Check failure on line 1 in flair/models/__init__.py

View workflow job for this annotation

GitHub Actions / test

Black format check --- /home/runner/work/flair/flair/flair/models/__init__.py 2025-01-31 10:30:52.176591+00:00 +++ /home/runner/work/flair/flair/flair/models/__init__.py 2025-01-31 10:34:54.758855+00:00 @@ -37,7 +37,7 @@ "TARSTagger", "TextClassifier", "TextRegressor", "MultitaskModel", "CausalLanguageModelDecoder", - "EncoderDecoderLanguageModel" + "EncoderDecoderLanguageModel", ]
from .entity_mention_linking import EntityMentionLinker
from .language_model import LanguageModel
from .lemmatizer_model import Lemmatizer
Expand All @@ -15,6 +15,7 @@
from .text_regression_model import TextRegressor
from .triple_classification_model import TextTripleClassifier
from .word_tagger_model import TokenClassifier, WordTagger
from .encoder_decoder_model import CausalLanguageModelDecoder, EncoderDecoderLanguageModel

__all__ = [
"EntityMentionLinker",
Expand All @@ -37,4 +38,6 @@
"TextClassifier",
"TextRegressor",
"MultitaskModel",
"CausalLanguageModelDecoder",
"EncoderDecoderLanguageModel"
]
Loading
Loading