Hani Park
commited on
Commit
·
67879c9
1
Parent(s):
5a09570
Revise YAML in README
Browse files
README.md
CHANGED
|
@@ -111,25 +111,11 @@ First, from the command line install the `datasets` library
|
|
| 111 |
then, from within python load the datasets library.
|
| 112 |
|
| 113 |
>>> import datasets
|
| 114 |
-
>>> from datasets import load_dataset, Features, Value
|
| 115 |
|
| 116 |
-
|
| 117 |
-
```python
|
| 118 |
-
features = Features({
|
| 119 |
-
"Type": Value("string"),
|
| 120 |
-
"DatasetName": Value("string"),
|
| 121 |
-
"AID": Value("int64"),
|
| 122 |
-
"ID": Value("string"),
|
| 123 |
-
"IDType": Value("string"),
|
| 124 |
-
"SMILES": Value("string")
|
| 125 |
-
})
|
| 126 |
-
```
|
| 127 |
|
| 128 |
-
|
| 129 |
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
You can modify "data/Absorbance.csv" based on your interest (e.g., "data/Reactivity.csv").
|
| 134 |
-
The default is split = "train" as we did not split the datasets.
|
| 135 |
|
|
|
|
|
|
| 111 |
then, from within python load the datasets library.
|
| 112 |
|
| 113 |
>>> import datasets
|
|
|
|
| 114 |
|
| 115 |
+
Now load the 'ChAFF' datasets together,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
|
| 117 |
+
>>> assays = load_dataset("maomlab/ChAFF", split="assays")
|
| 118 |
|
| 119 |
+
If you are interested in the summary file,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
+
>>> summary = load_dataset("maomlab/ChAFF", split="summary")
|