lim142857
commited on
Commit
·
7580699
1
Parent(s):
0abb6eb
Update ReadME
Browse files
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
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
Candidate Pool (JSONL File)
|
| 22 |
-
The Candidate Pool contains potential matching documents for the queries.
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
| 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
|