ckb commited on
Commit
54a903b
1 Parent(s): 565d89c

i have no idea how this feature thing works

Browse files
Files changed (1) hide show
  1. unigram.py +2 -2
unigram.py CHANGED
@@ -67,8 +67,8 @@ class unigram(evaluate.Metric):
67
  inputs_description=_KWARGS_DESCRIPTION,
68
  # This defines the format of each prediction and reference
69
  features=datasets.Features({
70
- 'predictions': datasets.Sequence(datasets.Sequence(datasets.Value('int64'))),
71
- 'references': datasets.Sequence(datasets.Sequence(datasets.Value('int64'))),
72
  }),
73
  # Homepage of the module for documentation
74
  homepage="http://module.homepage",
 
67
  inputs_description=_KWARGS_DESCRIPTION,
68
  # This defines the format of each prediction and reference
69
  features=datasets.Features({
70
+ 'predictions': datasets.Sequence(datasets.Value('int64')),
71
+ 'references': datasets.Sequence(datasets.Value('int64')),
72
  }),
73
  # Homepage of the module for documentation
74
  homepage="http://module.homepage",