Update IndicSentenceSummarization.py
Browse files
IndicSentenceSummarization.py
CHANGED
@@ -81,19 +81,19 @@ class IndicSentenceSummarization(datasets.GeneratorBasedBuilder):
|
|
81 |
datasets.SplitGenerator(
|
82 |
name=datasets.Split.TRAIN,
|
83 |
gen_kwargs={
|
84 |
-
"filepath": os.path.join(data_dir,
|
85 |
},
|
86 |
),
|
87 |
datasets.SplitGenerator(
|
88 |
name=datasets.Split.TEST,
|
89 |
gen_kwargs={
|
90 |
-
"filepath": os.path.join(data_dir,
|
91 |
},
|
92 |
),
|
93 |
datasets.SplitGenerator(
|
94 |
name=datasets.Split.VALIDATION,
|
95 |
gen_kwargs={
|
96 |
-
"filepath": os.path.join(data_dir,
|
97 |
},
|
98 |
),
|
99 |
]
|
|
|
81 |
datasets.SplitGenerator(
|
82 |
name=datasets.Split.TRAIN,
|
83 |
gen_kwargs={
|
84 |
+
"filepath": os.path.join(data_dir,"content",lang + "_train.jsonl"),
|
85 |
},
|
86 |
),
|
87 |
datasets.SplitGenerator(
|
88 |
name=datasets.Split.TEST,
|
89 |
gen_kwargs={
|
90 |
+
"filepath": os.path.join(data_dir,"content",lang + "_test.jsonl"),
|
91 |
},
|
92 |
),
|
93 |
datasets.SplitGenerator(
|
94 |
name=datasets.Split.VALIDATION,
|
95 |
gen_kwargs={
|
96 |
+
"filepath": os.path.join(data_dir,"content",lang + "_dev.jsonl"),
|
97 |
},
|
98 |
),
|
99 |
]
|