Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -76,7 +76,19 @@ This dataset contains disaggregated mid-twentieth century science fiction books
|
|
| 76 |
Use the following code to load the dataset in a Python environment (note: does not work with repo set to private)
|
| 77 |
```
|
| 78 |
from datasets import load_dataset
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
## Dataset Creation
|
| 82 |
|
|
|
|
| 76 |
Use the following code to load the dataset in a Python environment (note: does not work with repo set to private)
|
| 77 |
```
|
| 78 |
from datasets import load_dataset
|
| 79 |
+
|
| 80 |
+
# If the dataset is gated/private, make sure you have run huggingface-cli login
|
| 81 |
+
dataset = load_dataset("SF-Corpus/extracted_features")
|
| 82 |
+
Or just clone the dataset repo
|
| 83 |
+
|
| 84 |
+
Copy
|
| 85 |
+
Copied
|
| 86 |
+
git lfs install
|
| 87 |
+
git clone https://huggingface.co/datasets/SF-Corpus/extracted_features
|
| 88 |
+
# if you want to clone without large files – just their pointers
|
| 89 |
+
# prepend your git clone with the following env var:
|
| 90 |
+
GIT_LFS_SKIP_SMUDGE=1
|
| 91 |
+
```
|
| 92 |
|
| 93 |
## Dataset Creation
|
| 94 |
|