Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,66 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# π mmrag benchmark
|
| 2 |
+
|
| 3 |
+
## π Files Overview
|
| 4 |
+
|
| 5 |
+
- `mmrag_train.json`: Training set for model training.
|
| 6 |
+
- `mmrag_dev.json`: Validation set for hyperparameter tuning and development.
|
| 7 |
+
- `mmrag_test.json`: Test set for evaluation.
|
| 8 |
+
- `processed_documents.json`: The document pool used for document retrieval.
|
| 9 |
+
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
## π Query Datasets: `mmrag_train.json`, `mmrag_dev.json`, `mmrag_test.json`
|
| 13 |
+
|
| 14 |
+
The three files are all lists of dictionaries. Each dictionary contains the following fields:
|
| 15 |
+
|
| 16 |
+
### π `id`
|
| 17 |
+
|
| 18 |
+
- **Description**: Unique query identifier, structured as `dataset_queryID`.
|
| 19 |
+
- **Example**: `ott_144`.
|
| 20 |
+
|
| 21 |
+
### β `query`
|
| 22 |
+
|
| 23 |
+
- **Description**: Text of the question.
|
| 24 |
+
- **Example**: `"What is the capital of France?"`
|
| 25 |
+
|
| 26 |
+
### β
`answer`
|
| 27 |
+
|
| 28 |
+
- **Description**: The gold-standard answer corresponding to the query.
|
| 29 |
+
- **Example**: `"Paris"`
|
| 30 |
+
|
| 31 |
+
### π `relevant_chunks`
|
| 32 |
+
|
| 33 |
+
- **Description**: Dictionary of relevant document IDs and their corresponding relevance scores. The document IDs are structured as `dataset_documentID_chunkIndex`, equivalent to `dataset_queryID_chunkIndex`
|
| 34 |
+
- **Example**: `{"ott_23573_2": 1}`
|
| 35 |
+
|
| 36 |
+
### π `ori_context`
|
| 37 |
+
|
| 38 |
+
- **Description**: A list of the original document IDs related to the query.
|
| 39 |
+
- **Example**: `["ott_6104"]`
|
| 40 |
+
|
| 41 |
+
### π `dataset_score`
|
| 42 |
+
|
| 43 |
+
- **Description**: The relevance score of all datasets regarding this query.
|
| 44 |
+
- **Example**: `{"tat": 0, "triviaqa": 2, "ott": 4, "kg": 1, "nq": 0}`
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## π Knowledge Base: `processed_documents.json`
|
| 49 |
+
|
| 50 |
+
This file is a list of documents used for document retrieval, which contains the following fields:
|
| 51 |
+
|
| 52 |
+
### π `id`
|
| 53 |
+
|
| 54 |
+
- **Description**: Unique document identifier, structured as `dataset_documentID_chunkIndex`, equivalent to `dataset_queryID_chunkIndex`
|
| 55 |
+
- **example**: `ott_8075_0`
|
| 56 |
+
|
| 57 |
+
### π `text`
|
| 58 |
+
|
| 59 |
+
- **Description**: Text of the document.
|
| 60 |
+
- **Example**: `A molecule editor is a computer program for creating and modifying representations of chemical structures.`
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## π License
|
| 65 |
+
|
| 66 |
+
This dataset is licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|