theAIguy commited on
Commit
c3cc6a6
1 Parent(s): 910988a

int32 to float

Browse files
Files changed (1) hide show
  1. triplet_margin_loss.py +3 -3
triplet_margin_loss.py CHANGED
@@ -77,9 +77,9 @@ class TripletMarginLoss(evaluate.EvaluationModule):
77
  inputs_description=_KWARGS_DESCRIPTION,
78
  features=datasets.Features(
79
  {
80
- "anchor": datasets.Sequence(datasets.Value("int32")),
81
- "positive": datasets.Sequence(datasets.Value("int32")),
82
- "negative": datasets.Sequence(datasets.Value("int32"))
83
  }
84
  ),
85
  reference_urls=["https://proceedings.neurips.cc/paper/2003/hash/d3b1fb02964aa64e257f9f26a31f72cf-Abstract.html"],
 
77
  inputs_description=_KWARGS_DESCRIPTION,
78
  features=datasets.Features(
79
  {
80
+ "anchor": datasets.Sequence(datasets.Value("float")),
81
+ "positive": datasets.Sequence(datasets.Value("float")),
82
+ "negative": datasets.Sequence(datasets.Value("float"))
83
  }
84
  ),
85
  reference_urls=["https://proceedings.neurips.cc/paper/2003/hash/d3b1fb02964aa64e257f9f26a31f72cf-Abstract.html"],