File size: 2,613 Bytes
67b805c
 
 
 
 
 
87ca67c
ad8c9cc
67b805c
 
215bcb4
67b805c
 
c4a9f22
 
 
 
 
67b805c
 
c4a9f22
 
 
 
 
 
 
 
 
 
67b805c
c4a9f22
 
 
 
 
 
 
 
 
 
 
 
 
 
181f3f8
c4a9f22
 
 
 
67b805c
 
c4a9f22
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<div align="center">
  <h2>GeoX: Geometric Problem Solving Through Unified Formalized Vision-Language Pre-training</h2>
  <p align="center">
    <a href="">💡Project Page</a> •
    <a href="">📃Arxiv Paper</a> •
    <a href="https://huggingface.co/datasets/U4R/GeoX-data">🗂Dataset</a> •
    <a href="https://huggingface.co/U4R/GeoX">🤗Checkpoint • 
    <a href="#-citation"> 📖Citation
  </p>
  <br>
  <!-- <img src="https://github.com/UniModal4Reasoning/GeoX/assets/teaser.png?raw=true" height="85%"> -->
</div>


## Introduction to GeoX

**GeoX** is a multi-modal large model designed for automatic geometric problem solving, utilizing three progressive training stages to enhance diagram understanding and reasoning. In this paper, we validate that the **formal vision-language training** paradigm is a simple-yet-effective solution for complex mathematical diagram learning.



## Data Preparation for GeoX

### Step 1. Data for Unimodal Pre-training

**Update 2024-07-16:** You can download our collected diagram images from [this link](https://huggingface.co/datasets/U4R/GeoX-data/pretrain-data.zip).

Additionally, we used existing geometric text to build a corpus, detailed in [our paper]().

### Step 2. Data for Geometry-Language Alignment


To train the GS-Former, please prepare the [unified formal annotations](https://huggingface.co/datasets/U4R/GeoX-data/unified_formal_annotations.json) and paired [images](https://huggingface.co/datasets/U4R/GeoX-data/images.zip).

### Step 3. Data for End-to-End Visual Instruction Tuning




We use the GeoQA, UniGeo, Geometry3K, and PGPS9K datasets for fine-tuning and evaluation:

1. **GeoQA**: Follow the instructions [here](https://github.com/chen-judge/GeoQA) to download the `GeoQA` dataset.
2. **UniGeo**: Follow the instructions [here](https://github.com/chen-judge/UniGeo) to download the `UniGeo` dataset.
3. **Geometry3K and PGPS9K**: Follow the instructions [here](https://github.com/mingliangzhang2018/PGPS) to download the `PGPS9K` datasets. The `Geometry3K` is also provided in this database.


<font color="#dd0000">Note:</font> Due to copyright restrictions, we are currently only providing links for these datasets. Full datasets for tuning and evaluation organized by us will be provided via email. If you need it, please contact us by [email](mailto:limc22@m.fudan.edu.cn).


For more details, please refer to [our paper]() and our [GitHub repository](https://github.com/UniModal4Reasoning/GeoX). If you find our work helpful, please consider starring ⭐ in this repository and citing us:


## Citation
```bibtex

```