Support for NoisyNER dataset #2300
Annotations
2 errors and 1 warning
test:
flair/datasets/__init__.py#L341
ruff
pytest_ruff.RuffError: flair/datasets/__init__.py:2:1: I001 [*] Import block is un-sorted or un-formatted
|
1 | # Expose base classses
2 | / from .base import (
3 | | DataLoader,
4 | | FlairDatapointDataset,
5 | | MongoDataset,
6 | | SentenceDataset,
7 | | StringDataset,
8 | | )
9 | |
10 | | # Expose all biomedical data sets used for the evaluation of BioBERT
11 | | # -
12 | | # -
13 | | # -
14 | | # -
15 | | # Expose all biomedical data sets using the HUNER splits
16 | | # Expose all biomedical data sets
17 | | from .biomedical import (
18 | | ANAT_EM,
19 | | AZDZ,
20 | | BC2GM,
21 | | BIO_INFER,
22 | | BIOBERT_CHEMICAL_BC4CHEMD,
23 | | BIOBERT_CHEMICAL_BC5CDR,
24 | | BIOBERT_DISEASE_BC5CDR,
25 | | BIOBERT_DISEASE_NCBI,
26 | | BIOBERT_GENE_BC2GM,
27 | | BIOBERT_GENE_JNLPBA,
28 | | BIOBERT_SPECIES_LINNAEUS,
29 | | BIOBERT_SPECIES_S800,
30 | | BIONLP2013_CG,
31 | | BIONLP2013_PC,
32 | | BIOSEMANTICS,
33 | | CDR,
34 | | CELL_FINDER,
35 | | CEMP,
36 | | CHEMDNER,
37 | | CLL,
38 | | CRAFT,
39 | | CRAFT_V4,
40 | | DECA,
41 | | FSU,
42 | | GELLUS,
43 | | GPRO,
44 | | HUNER_CELL_LINE,
45 | | HUNER_CELL_LINE_CELL_FINDER,
46 | | HUNER_CELL_LINE_CLL,
47 | | HUNER_CELL_LINE_GELLUS,
48 | | HUNER_CELL_LINE_JNLPBA,
49 | | HUNER_CHEMICAL,
50 | | HUNER_CHEMICAL_CDR,
51 | | HUNER_CHEMICAL_CEMP,
52 | | HUNER_CHEMICAL_CHEBI,
53 | | HUNER_CHEMICAL_CHEMDNER,
54 | | HUNER_CHEMICAL_CRAFT_V4,
55 | | HUNER_CHEMICAL_SCAI,
56 | | HUNER_DISEASE,
57 | | HUNER_DISEASE_CDR,
58 | | HUNER_DISEASE_MIRNA,
59 | | HUNER_DISEASE_NCBI,
60 | | HUNER_DISEASE_PDR,
61 | | HUNER_DISEASE_SCAI,
62 | | HUNER_DISEASE_VARIOME,
63 | | HUNER_GENE,
64 | | HUNER_GENE_BC2GM,
65 | | HUNER_GENE_BIO_INFER,
66 | | HUNER_GENE_CELL_FINDER,
67 | | HUNER_GENE_CHEBI,
68 | | HUNER_GENE_CRAFT_V4,
69 | | HUNER_GENE_DECA,
70 | | HUNER_GENE_FSU,
71 | | HUNER_GENE_GPRO,
72 | | HUNER_GENE_IEPA,
73 | | HUNER_GENE_JNLPBA,
74 | | HUNER_GENE_LOCTEXT,
75 | | HUNER_GENE_MIRNA,
76 | | HUNER_GENE_OSIRIS,
77 | | HUNER_GENE_VARIOME,
78 | | HUNER_SPECIES,
79 | | HUNER_SPECIES_CELL_FINDER,
80 | | HUNER_SPECIES_CHEBI,
81 | | HUNER_SPECIES_CRAFT_V4,
82 | | HUNER_SPECIES_LINNEAUS,
83 | | HUNER_SPECIES_LOCTEXT,
84 | | HUNER_SPECIES_MIRNA,
85 | | HUNER_SPECIES_S800,
86 | | HUNER_SPECIES_VARIOME,
87 | | IEPA,
88 | | JNLPBA,
89 | | LINNEAUS,
90 | | LOCTEXT,
91 | | MIRNA,
92 | | NCBI_DISEASE,
93 | | OSIRIS,
94 | | PDR,
95 | | S800,
96 | | SCAI_CHEMICALS,
97 | | SCAI_DISEASE,
98 | | VARIOME,
99 | | )
100 | |
101 | | # Expose all document classification datasets
102 | | from .document_classification import (
103 | | AGNEWS,
104 | | AMAZON_REVIEWS,
105 | | COMMUNICATIVE_FUNCTIONS,
106 | | GERMEVAL_2018_OFFENSIVE_LANGUAGE,
107 | | GLUE_COLA,
108 | | GLUE_SST2,
109 | | GO_EMOTIONS,
110 | | IMDB,
111 | | NEWSGROUPS,
112 | | SENTEVAL_CR,
113 | | SENTEVAL_MPQA,
114 | | SENTEVAL_MR,
115 | | SENTEVAL_SST_BINARY,
116 | | SENTEVAL_SST_GRANULAR,
117 | | SENTEVAL_SUBJ,
118 | | SENTIMENT_140,
119 | | STACKOVERFLOW,
120 | | TREC_6,
121 | | TREC_50,
122 | | WASSA_ANGER,
123 | | WASSA_FEAR,
124 | | WASSA_JOY,
125 | | WASSA_SADNESS,
126 | | YAHOO_ANSWERS,
127 | | ClassificationCorpus,
128 | | ClassificationDataset,
129 | | CSVClassificationCorpus,
130 | | CSVClassificationDataset,
131 | | )
132 | |
133 | | # word sense disambiguation
134 | | # Expose all entity linking datasets
135 | | from .entity_linking import (
136 | | CTD_CHEMICALS_DICTIONARY,
137 | | CTD_DISEASES_DICTIONARY,
138 | | NCBI_GENE_HUMAN_DICTIONARY,
139 | | NCBI_TAXONOMY_DICTIO
|
test
Process completed with exit code 1.
|
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|