Akira Kinoshita commited on
Commit
d1d2a52
·
verified ·
1 Parent(s): ab9ab33

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -1
README.md CHANGED
@@ -22,10 +22,18 @@ Rename each downloaded file according to the file name specified in the local_fi
22
  (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.)
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/jgraphqa directory.
26
  (You will need to create the jgraphqa directory if it does not already exist.)
 
 
 
 
 
 
 
27
 
28
  ## 🤗Usage
 
29
  ```python
30
  CUDA_VISIBLE_DEVICES=0,1 python -m lmms_eval \
31
  --model llava_onevision \
 
22
  (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.)
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).
29
+ ```python
30
+
31
+
32
+
33
+ ```
34
 
35
  ## 🤗Usage
36
+ - Using the lmms-eval framework, please run the following command:
37
  ```python
38
  CUDA_VISIBLE_DEVICES=0,1 python -m lmms_eval \
39
  --model llava_onevision \