Update mscoco_jsonl_full.py
Browse files- mscoco_jsonl_full.py +3 -1
mscoco_jsonl_full.py
CHANGED
@@ -33,7 +33,9 @@ class ImageCaptionsEmbeddings(datasets.GeneratorBasedBuilder):
|
|
33 |
features=datasets.Features(
|
34 |
{
|
35 |
"id": datasets.Value('string'),
|
36 |
-
"embedding": datasets.Array2D((1, self.config.embeddingSize), 'float32')
|
|
|
|
|
37 |
}
|
38 |
),
|
39 |
)
|
|
|
33 |
features=datasets.Features(
|
34 |
{
|
35 |
"id": datasets.Value('string'),
|
36 |
+
"embedding": datasets.Array2D((1, self.config.embeddingSize), 'float32'),
|
37 |
+
"en_caption": datasets.Value('string'),
|
38 |
+
"ar_caption": datasets.Value('string'),
|
39 |
}
|
40 |
),
|
41 |
)
|