Hani Park
commited on
Commit
·
b538968
1
Parent(s):
6876249
Fix usage part in README
Browse files
README.md
CHANGED
|
@@ -86,14 +86,16 @@ then, from within python load the datasets library.
|
|
| 86 |
>>> from datasets import load_dataset, Features, Value
|
| 87 |
|
| 88 |
Specifiy column types to prevent pyarrow error.
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
|
|
|
|
|
|
| 97 |
|
| 98 |
Now load one of the 'ChAFF' datasets, e.g.,
|
| 99 |
|
|
|
|
| 86 |
>>> from datasets import load_dataset, Features, Value
|
| 87 |
|
| 88 |
Specifiy column types to prevent pyarrow error.
|
| 89 |
+
```python
|
| 90 |
+
features = Features({
|
| 91 |
+
"Type": Value("string"),
|
| 92 |
+
"DatasetName": Value("string"),
|
| 93 |
+
"AID": Value("int64"),
|
| 94 |
+
"ID": Value("string"),
|
| 95 |
+
"IDType": Value("string"),
|
| 96 |
+
"SMILES": Value("string")
|
| 97 |
+
})
|
| 98 |
+
|
| 99 |
|
| 100 |
Now load one of the 'ChAFF' datasets, e.g.,
|
| 101 |
|