update script
Browse files- README.md +6 -1
- binding_affinity.py +2 -2
- requirements.txt +1 -0
README.md
CHANGED
@@ -2,7 +2,12 @@
|
|
2 |
|
3 |
### Use the already preprocessed data
|
4 |
|
5 |
-
The file `data/all.parquet` contains the preprocessed data
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
### Pre-process yourself
|
8 |
|
|
|
2 |
|
3 |
### Use the already preprocessed data
|
4 |
|
5 |
+
The file `data/all.parquet` contains the preprocessed data. Load the dataset using
|
6 |
+
|
7 |
+
```
|
8 |
+
from datasets import load_dataset
|
9 |
+
dataset = load_dataset("jglaser/binding_affinity")
|
10 |
+
```
|
11 |
|
12 |
### Pre-process yourself
|
13 |
|
binding_affinity.py
CHANGED
@@ -47,7 +47,7 @@ _LICENSE = "BSD two-clause"
|
|
47 |
# The HuggingFace dataset library don't host the datasets but only point to the original files
|
48 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
49 |
_URLs = {
|
50 |
-
'
|
51 |
}
|
52 |
|
53 |
|
@@ -72,7 +72,7 @@ class BindingAffinity(datasets.ArrowBasedBuilder):
|
|
72 |
# datasets.BuilderConfig(name="second_domain", version=VERSION, description="This part of my dataset covers a second domain"),
|
73 |
#]
|
74 |
|
75 |
-
DEFAULT_CONFIG_NAME = "affinities" # It's not mandatory to have a default configuration. Just use one if it make sense.
|
76 |
|
77 |
def _info(self):
|
78 |
# TODO: This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset
|
|
|
47 |
# The HuggingFace dataset library don't host the datasets but only point to the original files
|
48 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
49 |
_URLs = {
|
50 |
+
'default': "https://huggingface.co/datasets/jglaser/binding_affinity/tree/main/data/all.parquet",
|
51 |
}
|
52 |
|
53 |
|
|
|
72 |
# datasets.BuilderConfig(name="second_domain", version=VERSION, description="This part of my dataset covers a second domain"),
|
73 |
#]
|
74 |
|
75 |
+
#DEFAULT_CONFIG_NAME = "affinities" # It's not mandatory to have a default configuration. Just use one if it make sense.
|
76 |
|
77 |
def _info(self):
|
78 |
# TODO: This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
mpi4py
|
2 |
rdkit
|
3 |
openbabel
|
|
|
|
1 |
mpi4py
|
2 |
rdkit
|
3 |
openbabel
|
4 |
+
pyarrow
|