Datasets:

Modalities:
Text
Formats:
json
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:
lim142857 commited on
Commit
7580699
·
1 Parent(s): 0abb6eb

Update ReadME

Browse files
Files changed (1) hide show
  1. README.md +32 -18
README.md CHANGED
@@ -6,26 +6,40 @@ M-BEIR dataset comprises two main components: Query Data and Candidate Pool.
6
  Each of these sections consists of structured entries in JSONL format (JSON Lines), meaning each line is a valid JSON object. Below is a detailed breakdown of the components and their respective fields:
7
 
8
  Query Data (JSONL File)
9
- Each line in the Query Data file represents a unique query, formatted as a JSON object with the following fields:
10
-
11
- - Query ID (`qid`): A unique identifier formatted as `{dataset_id}:{query_id}`.
12
- - Query Text (`query_txt`): The text component of the query.
13
- - Query Image Path (`query_img_path`): The file path to the associated query image.
14
- - Query Modality (`query_modality`): The modality type of the query (text, image or text,image)
15
- - Query Source Content (`query_src_content`): Additional content from the original dataset, presented as a string by json.dumps().
16
- - Positive Candidates List (`pos_cand_list`): A list of positive candidate documents, where each entry includes:
17
- - Document ID (`did`): A unique identifier formatted as `{dataset_id}:{doc_id}`.
18
- - Negative Candidates List (`neg_cand_list`): A list of negative candidate documents, where each entry includes:
19
- - Document ID (`did`): A unique identifier formatted as `{dataset_id}:{doc_id}`.
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  Candidate Pool (JSONL File)
22
- The Candidate Pool contains potential matching documents for the queries. Each line in this file is a JSON object representing a candidate document with these fields:
23
-
24
- - Document ID (`did`): A unique identifier for the document, formatted as `{dataset_id}:{doc_id}`.
25
- - Candidate Text (`txt`): The text content of the candidate document.
26
- - Candidate Image Path (`img_path`): The file path to the candidate document's image.
27
- - Candidate Modality (`modality`): The modality type of the candidate (e.g., text, image or text,image).
28
- - Source Content (`src_content`): Additional content from the original dataset, presented as a string by json.dumps().
 
 
 
29
 
30
  ## **How to Use**
31
  ### Downloading the M-BEIR Dataset
 
6
  Each of these sections consists of structured entries in JSONL format (JSON Lines), meaning each line is a valid JSON object. Below is a detailed breakdown of the components and their respective fields:
7
 
8
  Query Data (JSONL File)
9
+ Each line in the Query Data file represents a unique query. The structure of each query JSON object is as follows::
10
+ ```json
11
+ {
12
+ "qid": "A unique identifier formatted as {dataset_id}:{query_id}",
13
+ "query_txt": "The text component of the query",
14
+ "query_img_path": "The file path to the associated query image",
15
+ "query_modality": "The modality type of the query (text, image or text,image)",
16
+ "query_src_content": "Additional content from the original dataset, presented as a string by json.dumps()",
17
+ "pos_cand_list": [
18
+ {
19
+ "did": "A unique identifier formatted as {dataset_id}:{doc_id}"
20
+ }
21
+ // ... more positive candidates
22
+ ],
23
+ "neg_cand_list": [
24
+ {
25
+ "did": "A unique identifier formatted as {dataset_id}:{doc_id}"
26
+ }
27
+ // ... more negative candidates
28
+ ]
29
+ }
30
+ ```
31
 
32
  Candidate Pool (JSONL File)
33
+ The Candidate Pool contains potential matching documents for the queries. The structure of each candidate JSON object in this file is as follows::
34
+ ```json
35
+ {
36
+ "did": "A unique identifier for the document, formatted as {dataset_id}:{doc_id}",
37
+ "txt": "The text content of the candidate document",
38
+ "img_path": "The file path to the candidate document's image",
39
+ "modality": "The modality type of the candidate (e.g., text, image or text,image)",
40
+ "src_content": "Additional content from the original dataset, presented as a string by json.dumps()"
41
+ }
42
+ ```
43
 
44
  ## **How to Use**
45
  ### Downloading the M-BEIR Dataset