Commit ·
38ad02a
1
Parent(s): fda2ea6
fix typo
Browse files
aihub_document_summarization.py
CHANGED
|
@@ -14,8 +14,8 @@
|
|
| 14 |
|
| 15 |
import os
|
| 16 |
from typing import List, Tuple
|
| 17 |
-
import textwrap
|
| 18 |
import json
|
|
|
|
| 19 |
import zipfile
|
| 20 |
|
| 21 |
import datasets
|
|
@@ -186,11 +186,11 @@ class AIHubDocumentSummarization(datasets.GeneratorBasedBuilder):
|
|
| 186 |
|
| 187 |
BUILDER_CONFIG_CLASS = AIHubDocumentSummarizationConfig
|
| 188 |
DEFAULT_CONFIG_NAME = "default"
|
| 189 |
-
|
| 190 |
manual_download_instructions = textwrap.dedent(f"""
|
| 191 |
You need to manually download the data file on AIHub (${_URL}).
|
| 192 |
The folder containing the saved file can be used to load the dataset
|
| 193 |
-
via 'datasets.load_dataset("
|
| 194 |
""")
|
| 195 |
|
| 196 |
def _info(self):
|
|
|
|
| 14 |
|
| 15 |
import os
|
| 16 |
from typing import List, Tuple
|
|
|
|
| 17 |
import json
|
| 18 |
+
import textwrap
|
| 19 |
import zipfile
|
| 20 |
|
| 21 |
import datasets
|
|
|
|
| 186 |
|
| 187 |
BUILDER_CONFIG_CLASS = AIHubDocumentSummarizationConfig
|
| 188 |
DEFAULT_CONFIG_NAME = "default"
|
| 189 |
+
|
| 190 |
manual_download_instructions = textwrap.dedent(f"""
|
| 191 |
You need to manually download the data file on AIHub (${_URL}).
|
| 192 |
The folder containing the saved file can be used to load the dataset
|
| 193 |
+
via 'datasets.load_dataset("aihub_document_summarization.py", data_dir="<path/to/folder>")'
|
| 194 |
""")
|
| 195 |
|
| 196 |
def _info(self):
|