Spaces:
Runtime error
Runtime error
Simon Sorg
commited on
Commit
•
57c78cb
1
Parent(s):
24e19ba
fix: add datasets value
Browse files
valid_efficiency_score.py
CHANGED
@@ -75,6 +75,8 @@ class ValidEfficiencyScore(evaluate.Metric):
|
|
75 |
features=datasets.Features({
|
76 |
'predictions': datasets.Value('string'),
|
77 |
'references': datasets.Value('string'),
|
|
|
|
|
78 |
}),
|
79 |
# Homepage of the module for documentation
|
80 |
homepage="http://module.homepage",
|
|
|
75 |
features=datasets.Features({
|
76 |
'predictions': datasets.Value('string'),
|
77 |
'references': datasets.Value('string'),
|
78 |
+
'execute': datasets.Value('function'),
|
79 |
+
'filter_func': datasets.Value('function'),
|
80 |
}),
|
81 |
# Homepage of the module for documentation
|
82 |
homepage="http://module.homepage",
|