nthngdy commited on
Commit
e236fee
·
1 Parent(s): 8f389a4

Update ccnews_split.py

Browse files
Files changed (1) hide show
  1. ccnews_split.py +1 -1
ccnews_split.py CHANGED
@@ -150,7 +150,7 @@ class CCNews(datasets.GeneratorBasedBuilder):
150
  "image_url": article["image_url"].strip() if article["image_url"] is not None else "",
151
  }
152
  for sent in full_article.split("\n"):
153
- doc_dict["text"] = sent
154
  yield id_, doc_dict
155
  id_ += 1
156
  else:
 
150
  "image_url": article["image_url"].strip() if article["image_url"] is not None else "",
151
  }
152
  for sent in full_article.split("\n"):
153
+ doc_dict["text"] = sent
154
  yield id_, doc_dict
155
  id_ += 1
156
  else: