Spaces:
Sleeping
Sleeping
remove id
Browse files- triplet_margin_loss.py +4 -4
triplet_margin_loss.py
CHANGED
@@ -88,10 +88,10 @@ class TripletMarginLoss(evaluate.EvaluationModule):
|
|
88 |
inputs_description=_KWARGS_DESCRIPTION,
|
89 |
features=datasets.Features(
|
90 |
{
|
91 |
-
"anchor": datasets.Sequence(datasets.Value("
|
92 |
-
"positive": datasets.Sequence(datasets.Value("
|
93 |
-
"negative": datasets.Sequence(datasets.Value("
|
94 |
-
"margin": datasets.Value("
|
95 |
}
|
96 |
),
|
97 |
reference_urls=["https://proceedings.neurips.cc/paper/2003/hash/d3b1fb02964aa64e257f9f26a31f72cf-Abstract.html"],
|
|
|
88 |
inputs_description=_KWARGS_DESCRIPTION,
|
89 |
features=datasets.Features(
|
90 |
{
|
91 |
+
"anchor": datasets.Sequence(datasets.Value("float")),
|
92 |
+
"positive": datasets.Sequence(datasets.Value("float")),
|
93 |
+
"negative": datasets.Sequence(datasets.Value("float")),
|
94 |
+
"margin": datasets.Value("float")
|
95 |
}
|
96 |
),
|
97 |
reference_urls=["https://proceedings.neurips.cc/paper/2003/hash/d3b1fb02964aa64e257f9f26a31f72cf-Abstract.html"],
|