JLD commited on
Commit
2c68a0f
1 Parent(s): 4746ea0

Convert embeddings into float 32

Browse files
data/unsplash_embeddings.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:49d3555585a3de05b2d600676e2694050bb1cc797699a00719cc37a673e6c2b2
3
- size 25595990
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0970f7dc19912cd6e4b88807a60797a03a125d97a26b3f98e03a328a2bf4a9b0
3
+ size 51191894
unsplash25k-image-embeddings.py CHANGED
@@ -49,7 +49,7 @@ class Unsplash25kImageEmbeddingsDataset(datasets.GeneratorBasedBuilder):
49
  {
50
  "image_id": datasets.Value("string"),
51
  # "image_embedding": datasets.Features({'x': datasets.Array2D(shape=(1, 512), dtype='float16')})
52
- "image_embedding": datasets.Array2D(shape=(1, 512), dtype='float16')
53
  }
54
  )
55
  return datasets.DatasetInfo(
 
49
  {
50
  "image_id": datasets.Value("string"),
51
  # "image_embedding": datasets.Features({'x': datasets.Array2D(shape=(1, 512), dtype='float16')})
52
+ "image_embedding": datasets.Array2D(shape=(1, 512), dtype='float32')
53
  }
54
  )
55
  return datasets.DatasetInfo(