Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
676b027
1
Parent(s):
c0079fe
Update make_dataset.py
Browse files- src/data/make_dataset.py +0 -1
src/data/make_dataset.py
CHANGED
@@ -7,7 +7,6 @@ import pprint
|
|
7 |
|
8 |
def make_dataset(dataset="cnn_dailymail", split="train"):
|
9 |
"""make dataset for summarisation"""
|
10 |
-
dataset = load_dataset(dataset, '3.0.0', split=split)
|
11 |
if not os.path.exists("data/raw"):
|
12 |
df = pd.DataFrame()
|
13 |
df['article'] = dataset['article']
|
|
|
7 |
|
8 |
def make_dataset(dataset="cnn_dailymail", split="train"):
|
9 |
"""make dataset for summarisation"""
|
|
|
10 |
if not os.path.exists("data/raw"):
|
11 |
df = pd.DataFrame()
|
12 |
df['article'] = dataset['article']
|