Akira Kinoshita
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -17,12 +17,14 @@ To create JGraphQA, we first conducted a detailed analysis of the existing Chart
|
|
17 |
All questions and answers were manually crafted and verified to ensure accurate and meaningful evaluation.
|
18 |
|
19 |
## Installation
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
23 |
Please place the downloaded PDF files in the ./pdf directory.
|
24 |
-
- Run create_dataset_for_lmms-eval.ipynb to generate jgraphqa.parquet.
|
25 |
-
- Copy jgraphqa.yaml, utils.py, and the generated jgraphqa.parquet file into the [lmms_eval/tasks](https://github.com/EvolvingLMMs-Lab/lmms-eval/tree/main/lmms_eval/tasks)/jgraphqa directory.
|
26 |
(You will need to create the jgraphqa directory if it does not already exist.)
|
27 |
- Please modify [lmms_eval/models/llava_onevision.py](https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/models/llava_onevision.py) as follows.
|
28 |
- Please add the following code below line [284](https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/models/llava_onevision.py#L284).
|
|
|
17 |
All questions and answers were manually crafted and verified to ensure accurate and meaningful evaluation.
|
18 |
|
19 |
## Installation
|
20 |
+
These code snippets were created for evaluation using [lmms-eval](https://github.com/EvolvingLMMs-Lab/lmms-eval/tree/main). Please make sure to install lmms-eval before using this benchmark.
|
21 |
+
|
22 |
+
- Access the URLs listed in the "citation_pdf_url" column of "source.csv" and download the corresponding PDF files.
|
23 |
+
Rename each downloaded file according to the file name specified in the "local_file_name" column of "source.csv".
|
24 |
+
(Alternatively, you may keep the original file names of the downloaded files and instead update the file names in the "local_file_name" column accordingly.)
|
25 |
Please place the downloaded PDF files in the ./pdf directory.
|
26 |
+
- Run "create_dataset_for_lmms-eval.ipynb" to generate "jgraphqa.parquet".
|
27 |
+
- Copy "jgraphqa.yaml", "utils.py", and the generated "jgraphqa.parquet" file into the [lmms_eval/tasks](https://github.com/EvolvingLMMs-Lab/lmms-eval/tree/main/lmms_eval/tasks)/jgraphqa directory.
|
28 |
(You will need to create the jgraphqa directory if it does not already exist.)
|
29 |
- Please modify [lmms_eval/models/llava_onevision.py](https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/models/llava_onevision.py) as follows.
|
30 |
- Please add the following code below line [284](https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/models/llava_onevision.py#L284).
|