Commit
·
cb5259a
1
Parent(s):
5a37558
feat: Add toy datasets for testing
Browse files
nucleotide_transformer_downstream_tasks_multilabel.py
CHANGED
@@ -41,7 +41,14 @@ _HOMEPAGE = "https://github.com/instadeepai/nucleotide-transformer"
|
|
41 |
|
42 |
_LICENSE = "https://github.com/instadeepai/nucleotide-transformer/LICENSE.md"
|
43 |
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
|
47 |
class NucleotideTransformerDownstreamTasksConfig(datasets.BuilderConfig):
|
|
|
41 |
|
42 |
_LICENSE = "https://github.com/instadeepai/nucleotide-transformer/LICENSE.md"
|
43 |
|
44 |
+
# The toy_classification and toy_regression are two manually created configurations
|
45 |
+
# with 5 samples in both the train and test fasta files. It is notably used in order to
|
46 |
+
# test the scripts.
|
47 |
+
_TASKS_NUM_LABELS_DTYPE = [
|
48 |
+
("deepstarr", 6, "float32"),
|
49 |
+
("toy_classification", 2, "int32"),
|
50 |
+
("toy_regression", 2, "float32"),
|
51 |
+
]
|
52 |
|
53 |
|
54 |
class NucleotideTransformerDownstreamTasksConfig(datasets.BuilderConfig):
|
toy_classification/test.fna
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abded44c702e2a9eca8334108085654d79815ab48491e0756c51e2ea27ffea85
|
3 |
+
size 1630
|
toy_classification/train.fna
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abded44c702e2a9eca8334108085654d79815ab48491e0756c51e2ea27ffea85
|
3 |
+
size 1630
|
toy_regression/test.fna
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3973ac97c2ae27922545c26c1b8900eb6dd021f876e09c4380f5176023c2488
|
3 |
+
size 1705
|
toy_regression/train.fna
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3973ac97c2ae27922545c26c1b8900eb6dd021f876e09c4380f5176023c2488
|
3 |
+
size 1705
|