Update bias_auc.py
Browse fileschanged label input format
- bias_auc.py +1 -1
bias_auc.py
CHANGED
|
@@ -67,7 +67,7 @@ class BiasAUC(evaluate.Metric):
|
|
| 67 |
features=datasets.Features(
|
| 68 |
{
|
| 69 |
'target': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None),
|
| 70 |
-
'label': Value(dtype='int64', id=None),
|
| 71 |
'output': Sequence(feature=Value(dtype='float32', id=None), length=-1, id=None),
|
| 72 |
}
|
| 73 |
),
|
|
|
|
| 67 |
features=datasets.Features(
|
| 68 |
{
|
| 69 |
'target': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None),
|
| 70 |
+
'label': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None),
|
| 71 |
'output': Sequence(feature=Value(dtype='float32', id=None), length=-1, id=None),
|
| 72 |
}
|
| 73 |
),
|