lim142857
commited on
Commit
·
bf41854
1
Parent(s):
41c0453
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
+
## Dataset Structure Overview
|
| 5 |
+
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().
|