theAIguy commited on
Commit
801872c
1 Parent(s): 9d6aca3

change float to int32

Browse files
Files changed (1) hide show
  1. triplet_margin_loss.py +3 -3
triplet_margin_loss.py CHANGED
@@ -88,9 +88,9 @@ class TripletMarginLoss(evaluate.EvaluationModule):
88
  inputs_description=_KWARGS_DESCRIPTION,
89
  features=datasets.Features(
90
  {
91
- "anchor": datasets.Sequence(datasets.Value("float"), id="sequence"),
92
- "positive": datasets.Sequence(datasets.Value("float"), id="sequence"),
93
- "negative": datasets.Sequence(datasets.Value("float"), id="sequence")
94
  }
95
  ),
96
  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("int32")),
92
+ "positive": datasets.Sequence(datasets.Value("int32")),
93
+ "negative": datasets.Sequence(datasets.Value("int32"))
94
  }
95
  ),
96
  reference_urls=["https://proceedings.neurips.cc/paper/2003/hash/d3b1fb02964aa64e257f9f26a31f72cf-Abstract.html"],