rajeshradhakrishnan commited on
Commit
f7e2cb5
1 Parent(s): ae1f60b

removed the int conversion of literal

Browse files
Files changed (1) hide show
  1. malayalam_news.py +1 -1
malayalam_news.py CHANGED
@@ -102,7 +102,7 @@ class MalayalamNews(datasets.GeneratorBasedBuilder):
102
  # Original labels are [1, 2, 3, 4] ->
103
  # ['World', 'Sports', 'Business', 'Sci/Tech']
104
  # Re-map to [0, 1, 2, 3].
105
- label = int(label) - 1
106
  #text = " ".join((title, description))
107
  text = description
108
  yield id_, {"text": text, "label": label}
 
102
  # Original labels are [1, 2, 3, 4] ->
103
  # ['World', 'Sports', 'Business', 'Sci/Tech']
104
  # Re-map to [0, 1, 2, 3].
105
+ #label = int(label) - 1
106
  #text = " ".join((title, description))
107
  text = description
108
  yield id_, {"text": text, "label": label}