add dataset with maximum sequence length 512
Browse files- binding_affinity.py +9 -0
- data/.gitattributes +1 -0
- data/all_512.parquet +3 -0
binding_affinity.py
CHANGED
@@ -49,6 +49,7 @@ _LICENSE = "BSD two-clause"
|
|
49 |
_URL = "https://huggingface.co/datasets/jglaser/binding_affinity/resolve/main/"
|
50 |
_data_dir = "data/"
|
51 |
_file_names = {'default': _data_dir+'all.parquet',
|
|
|
52 |
'no_kras': _data_dir+'all_nokras.parquet'}
|
53 |
|
54 |
_URLs = {name: _URL+_file_names[name] for name in _file_names}
|
@@ -124,6 +125,14 @@ class BindingAffinity(datasets.ArrowBasedBuilder):
|
|
124 |
},
|
125 |
),
|
126 |
datasets.SplitGenerator(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
name='no_kras',
|
128 |
# These kwargs will be passed to _generate_examples
|
129 |
gen_kwargs={
|
|
|
49 |
_URL = "https://huggingface.co/datasets/jglaser/binding_affinity/resolve/main/"
|
50 |
_data_dir = "data/"
|
51 |
_file_names = {'default': _data_dir+'all.parquet',
|
52 |
+
'default_512': _data_dir+'all_512.parquet',
|
53 |
'no_kras': _data_dir+'all_nokras.parquet'}
|
54 |
|
55 |
_URLs = {name: _URL+_file_names[name] for name in _file_names}
|
|
|
125 |
},
|
126 |
),
|
127 |
datasets.SplitGenerator(
|
128 |
+
name='train_512',
|
129 |
+
# These kwargs will be passed to _generate_examples
|
130 |
+
gen_kwargs={
|
131 |
+
"filepath": files["default_512"],
|
132 |
+
},
|
133 |
+
),
|
134 |
+
|
135 |
+
datasets.SplitGenerator(
|
136 |
name='no_kras',
|
137 |
# These kwargs will be passed to _generate_examples
|
138 |
gen_kwargs={
|
data/.gitattributes
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
all_512.parquet filter=lfs diff=lfs merge=lfs -text
|
data/all_512.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01b0ca5508d914e94ca65376d6e6fe930a19707c601df20fef0a5c33a442fce1
|
3 |
+
size 88016217
|