Update xsum-kk3.py
Browse files- xsum-kk3.py +1 -1
xsum-kk3.py
CHANGED
@@ -165,5 +165,5 @@ class Xsum(datasets.GeneratorBasedBuilder):
|
|
165 |
# is the reference summary and TITLE is unused:
|
166 |
# https://github.com/EdinburghNLP/XSum/issues/22
|
167 |
segs = text.split("[SN]")
|
168 |
-
print(segs[6].strip())
|
169 |
yield i, {_DOCUMENT: segs[8].strip(), _SUMMARY: segs[6].strip(), _ID: i}
|
|
|
165 |
# is the reference summary and TITLE is unused:
|
166 |
# https://github.com/EdinburghNLP/XSum/issues/22
|
167 |
segs = text.split("[SN]")
|
168 |
+
#print(segs[6].strip())
|
169 |
yield i, {_DOCUMENT: segs[8].strip(), _SUMMARY: segs[6].strip(), _ID: i}
|