gogoduan commited on
Commit
73900e8
Β·
verified Β·
1 Parent(s): 8b090c0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -41
README.md CHANGED
@@ -21,47 +21,7 @@ The model is built upon the Qwen2.5-VL architecture and is compatible with the `
21
  Β  <img src="https://github.com/HKU-MMLab/Math-VR-CodePlot-CoT/raw/main/figures/teaser.png" width="100%"/>
22
  </div>
23
 
24
- ## Sample Usage
25
-
26
- ### Installation
27
- To get started with CodePlot-CoT, clone the repository and install the required packages:
28
-
29
- ```bash
30
- conda create -n codeplot python==3.10
31
- conda activate codeplot
32
- git clone [email protected]:HKU-MMLab/Math-VR-CodePlot-CoT.git
33
- cd CodePlot-CoT
34
- pip install -r requirements.txt
35
- pip install flash_attn==2.7.4.post1
36
- ```
37
-
38
- For benchmark evaluation only (additional dependencies):
39
- ```bash
40
- pip install openai==4.1.1
41
- pip install datasets==2.0.0
42
- ```
43
-
44
- ### Model Weights
45
- Ensure your directory structure for the models looks like this:
46
- ```
47
- CodePlot-CoT
48
- β”œβ”€β”€ ckpts
49
- β”‚ β”œβ”€β”€ CodePlot-CoT
50
- β”‚ β”œβ”€β”€ MatPlotCode
51
- β”œβ”€β”€ ...
52
- ```
53
-
54
- ### Inference
55
- You can perform inference using the provided scripts:
56
-
57
- ```python
58
- # Convert image to python code with MatPlotCode
59
- python image_to_code.py
60
- # Solve math problems with CodePlot-CoT
61
- python math_infer.py
62
- ```
63
-
64
- For more details on evaluation and benchmarks, please refer to the [project homepage](https://math-vr.github.io) and the [GitHub repository](https://github.com/HKU-MMLab/Math-VR-CodePlot-CoT).
65
 
66
  ## Citation
67
  If you find this work helpful, please consider citing our paper:
 
21
  Β  <img src="https://github.com/HKU-MMLab/Math-VR-CodePlot-CoT/raw/main/figures/teaser.png" width="100%"/>
22
  </div>
23
 
24
+ For more details, please refer to the [project homepage](https://math-vr.github.io) and the [GitHub repository](https://github.com/HKU-MMLab/Math-VR-CodePlot-CoT).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
  ## Citation
27
  If you find this work helpful, please consider citing our paper: