Skip to content

fix _all_scores_for_token in ViterbiDecoder #2182

fix _all_scores_for_token in ViterbiDecoder

fix _all_scores_for_token in ViterbiDecoder #2182

Triggered via pull request May 13, 2024 14:49
Status Failure
Total duration 39m 31s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test: flair/__init__.py#L1
mypy-status mypy exited with status 1.
test: flair/models/sequence_tagger_utils/viterbi.py#L1
flair/models/sequence_tagger_utils/viterbi.py 224: error: Argument 2 to "_all_scores_for_token" of "ViterbiDecoder" has incompatible type "Tensor"; expected "IntTensor" [arg-type]
test: tests/embedding_test_utils.py#L44
TestTransformerDocumentEmbeddings.test_embedding_works_with_weird_text[False-Hybrid mesons , qq \u0304 states with an admixture] FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
test: tests/embedding_test_utils.py#L44
TestTransformerDocumentEmbeddings.test_embedding_works_with_weird_text[False-typical proportionalities of \u223c 1nmV \u2212 1 [ 3,4 ] .] FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
test: tests/embedding_test_utils.py#L44
TestTransformerDocumentEmbeddings.test_embedding_works_with_weird_text[False-\U0001f91f \U0001f91f \U0001f91f h\xfcllo] FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
test: tests/embedding_test_utils.py#L44
TestTransformerDocumentEmbeddings.test_embedding_works_with_weird_text[False-\U0001f91fhallo \U0001f91f \U0001f91f \U0001f91f \U0001f91f] FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
test: tests/embedding_test_utils.py#L44
TestTransformerDocumentEmbeddings.test_embedding_works_with_weird_text[False-\U0001f91f] FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
test: tests/embedding_test_utils.py#L44
TestTransformerDocumentEmbeddings.test_embedding_works_with_weird_text[False-\uf8f9] FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
test: tests/embedding_test_utils.py#L86
TestTransformerDocumentEmbeddings.test_keep_batch_order[False] FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
test: tests/embedding_test_utils.py#L158
TestTransformerDocumentEmbeddings.test_default_embeddings_stay_the_same_after_saving_and_loading[False] FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.