talgatzh commited on
Commit
da37c29
1 Parent(s): 65b1c36

Update xsum-kk3.py

Browse files
Files changed (1) hide show
  1. 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[8].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}