Hani Park
commited on
Commit
·
dd2b8d2
1
Parent(s):
50ed0c8
Make README code simpler
Browse files
README.md
CHANGED
|
@@ -84,19 +84,6 @@ First, from the command line install the `datasets` library
|
|
| 84 |
then, from within python load the datasets library.
|
| 85 |
|
| 86 |
>>> import datasets
|
| 87 |
-
>>> from datasets import load_dataset, Features, Value
|
| 88 |
-
|
| 89 |
-
Specifiy column types to prevent pyarrow error.
|
| 90 |
-
```python
|
| 91 |
-
features = Features({
|
| 92 |
-
"Type": Value("string"),
|
| 93 |
-
"DatasetName": Value("string"),
|
| 94 |
-
"AID": Value("int64"),
|
| 95 |
-
"ID": Value("string"),
|
| 96 |
-
"IDType": Value("string"),
|
| 97 |
-
"SMILES": Value("string")
|
| 98 |
-
})
|
| 99 |
-
```
|
| 100 |
|
| 101 |
Now load one of the 'ChAFF' datasets, e.g.,
|
| 102 |
|
|
|
|
| 84 |
then, from within python load the datasets library.
|
| 85 |
|
| 86 |
>>> import datasets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
Now load one of the 'ChAFF' datasets, e.g.,
|
| 89 |
|