Update README.md
Browse files
README.md
CHANGED
@@ -34,6 +34,8 @@ git clone https://huggingface.co/datasets/RepoFusion/Stack-Repo <local_path>
|
|
34 |
|
35 |
To load the dataset desired configuration and split:
|
36 |
```
|
|
|
|
|
37 |
ds = datasets.load_dataset(
|
38 |
"RepoFusion/Stack-Repo",
|
39 |
name="<configuration_name>",
|
@@ -42,7 +44,9 @@ ds = datasets.load_dataset(
|
|
42 |
)
|
43 |
```
|
44 |
|
45 |
-
NOTE: The configurations for the repo contexts `bm25_contexts`, `PP_contexts` and `randomNN_contexts` can be loaded directly by specifying the corresponding
|
|
|
|
|
46 |
|
47 |
|
48 |
## Data Format
|
|
|
34 |
|
35 |
To load the dataset desired configuration and split:
|
36 |
```
|
37 |
+
import datasets
|
38 |
+
|
39 |
ds = datasets.load_dataset(
|
40 |
"RepoFusion/Stack-Repo",
|
41 |
name="<configuration_name>",
|
|
|
44 |
)
|
45 |
```
|
46 |
|
47 |
+
NOTE: The configurations for the repo contexts `bm25_contexts`, `PP_contexts` and `randomNN_contexts` can be loaded directly by specifying the corresponding
|
48 |
+
`<configuration_name>` along with the `<split_name>` in the load_dataset command listed above without cloning the repo locally.
|
49 |
+
For the `sources` if not cloned beforehand or `data_dir` not specified, `ManualDownloadError` will be raised.
|
50 |
|
51 |
|
52 |
## Data Format
|