ArkaAcharya commited on
Commit
8b7f5c2
·
verified ·
1 Parent(s): 591a7ac

Update M3Retrieve.py

Browse files
Files changed (1) hide show
  1. M3Retrieve.py +15 -15
M3Retrieve.py CHANGED
@@ -61,21 +61,21 @@ class M3Retrieve(datasets.GeneratorBasedBuilder):
61
  # )
62
 
63
  def _info(self):
64
- return datasets.DatasetInfo(
65
- description="M3Retrieve: Benchmarking Multimodal Retrieval for Medicine",
66
- features=datasets.Features(
67
- {
68
- "_id": datasets.Value("string"),
69
- "caption": datasets.Value("string"),
70
- "image_path": datasets.Value("string"),
71
- "text": datasets.Value("string"),
72
- "query-id": datasets.Value("string"),
73
- "corpus-id": datasets.Value("string"),
74
- "score": datasets.Value("float32"),
75
- }
76
- ),
77
- supervised_keys=None,
78
- )
79
 
80
 
81
  def _split_generators(self, dl_manager):
 
61
  # )
62
 
63
  def _info(self):
64
+ return datasets.DatasetInfo(
65
+ description="M3Retrieve: Benchmarking Multimodal Retrieval for Medicine",
66
+ features=datasets.Features(
67
+ {
68
+ "_id": datasets.Value("string"),
69
+ "caption": datasets.Value("string"),
70
+ "image_path": datasets.Value("string"),
71
+ "text": datasets.Value("string"),
72
+ "query-id": datasets.Value("string"),
73
+ "corpus-id": datasets.Value("string"),
74
+ "score": datasets.Value("float32"),
75
+ }
76
+ ),
77
+ supervised_keys=None,
78
+ )
79
 
80
 
81
  def _split_generators(self, dl_manager):