AnanthZeke commited on
Commit
1dd0b53
·
1 Parent(s): d82334e

Update naamapadam.py

Browse files
Files changed (1) hide show
  1. naamapadam.py +1 -1
naamapadam.py CHANGED
@@ -90,4 +90,4 @@ class Naamapadam(datasets.GeneratorBasedBuilder):
90
  with open(filepath, encoding="utf-8") as f:
91
  for idx_, row in enumerate(f):
92
  data = json.loads(row)
93
- yield idx_, {"tokens": data["words"], "ner_tags": data["ner"]}
 
90
  with open(filepath, encoding="utf-8") as f:
91
  for idx_, row in enumerate(f):
92
  data = json.loads(row)
93
+ yield idx_, {"tokens": data["words"], "tags": data["ner"]}