Optimize RelationClassifier by adding the option to filter long sentences and truncate context #2572
Annotations
4 errors and 1 warning
test:
tests/model_test_utils.py#L109
TestRelationExtractor.test_train_load_use_model[False]
AssertionError: assert 'place_of_birth' == 'founded_by'
- founded_by
+ place_of_birth
|
test:
tests/test_datasets.py#L379
test_load_conllu_plus_corpus[False]
assert 5 == 4
+ where 5 = len(<torch.utils.data.dataset.ConcatDataset object at 0x7f3d7a666a90>)
+ where <torch.utils.data.dataset.ConcatDataset object at 0x7f3d7a666a90> = <flair.datasets.sequence_labeling.ColumnCorpus object at 0x7f3dbff7f970>.train
|
test:
tests/test_datasets.py#L396
test_load_conllu_corpus_plus_in_memory[False]
assert 5 == 4
+ where 5 = len(<torch.utils.data.dataset.ConcatDataset object at 0x7f3d7a50b4f0>)
+ where <torch.utils.data.dataset.ConcatDataset object at 0x7f3d7a50b4f0> = <flair.datasets.sequence_labeling.ColumnCorpus object at 0x7f3d7a50b7f0>.train
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|