cointegrated commited on
Commit
dbc3e80
1 Parent(s): f3d48bc

fix variable names

Browse files
Files changed (1) hide show
  1. blaser_2_0_qe.py +2 -2
blaser_2_0_qe.py CHANGED
@@ -73,8 +73,8 @@ class BLASER20QE(evaluate.Metric):
73
  inputs_description=_KWARGS_DESCRIPTION,
74
  # This defines the format of each prediction and reference
75
  features=datasets.Features({
76
- 'predictions': datasets.Value('string'),
77
- 'references': datasets.Value('string'),
78
  }),
79
  # See https://arrow.apache.org/docs/python/api/datatypes.html#factory-functions for the data types
80
  # Homepage of the module for documentation
 
73
  inputs_description=_KWARGS_DESCRIPTION,
74
  # This defines the format of each prediction and reference
75
  features=datasets.Features({
76
+ 'sources': datasets.Value('string'),
77
+ 'translations': datasets.Value('string'),
78
  }),
79
  # See https://arrow.apache.org/docs/python/api/datatypes.html#factory-functions for the data types
80
  # Homepage of the module for documentation