Added support for biomedical datasets with multiple entity types #2075
Annotations
4 errors
test:
flair/__init__.py#L1
mypy-status
mypy exited with status 1.
|
test:
flair/data.py#L1
flair/data.py
1730: error: Argument 1 to "len" has incompatible type "Dataset[Any]"; expected "Sized" [arg-type]
|
test:
flair/models/sequence_tagger_model.py#L341
ruff
pytest_ruff.RuffError: flair/models/sequence_tagger_model.py:22:28: F401 [*] `flair.nn.model.get_non_abstract_subclasses` imported but unused
|
20 | from flair.models.sequence_tagger_utils.crf import CRF
21 | from flair.models.sequence_tagger_utils.viterbi import ViterbiDecoder, ViterbiLoss
22 | from flair.nn.model import get_non_abstract_subclasses
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ F401
23 | from flair.training_utils import store_embeddings
|
= help: Remove unused import: `flair.nn.model.get_non_abstract_subclasses`
|
test
Process completed with exit code 1.
|