Downloads · 30 days
35
9% of all-time downloads
RickyDeSkywalker/GAR_DeepSeek-Prover-V2
GAR_DeepSeek-Prover-V2 is a text generation model from RickyDeSkywalker. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This is the official model for GAR: Generative Adversarial Reinforcement Learning, a framework that jointly trains a problem composer and solver in an adversarial loop for formal theorem proving.
Downloads · 30 days
35
9% of all-time downloads
All-time downloads
382
Public
Parameters
1.7B
27.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors27.6 GB · 100%
From the Hugging Face model README
This is the official model for GAR: Generative Adversarial Reinforcement Learning, a framework that jointly trains a problem composer and solver in an adversarial loop for formal theorem proving.

We introduce GAR: Generative Adversarial Reinforcement Learning, an RL training method that intends to solve inefficiency and suboptimial performance in formal theorem prover training caused by fixed problem sets. GAR jointly trains the problem composer and solver in an adversarial loop, which introduces an implicit curriculum learning mechanism, aligning the task difficulty with the prover's evolving capability to improve training efficiency and enabling stronger model performance.
Experiments indicates that GAR trained models (such as Goedel-Prover-V2-8B and DeepSeek-Prover-V2-7B) achieve an average of 4.20% of enhancement on MiniF2F-Test under pass@32, and improve the DeepSeek-Prover-V2's pass@32 performance on ProofNet-Test from 22.58% to 25.81%.
Clone the repo using the following command:
git clone --recurse-submodules [email protected]:RickySkywalker/GAR-Official.git
We apply KiminaLeanServer as the Lean verification server. It can be initialized by:
cd KiminaLeanServer
cp .env.template .env
docker compose up -d
The environment can be set up by running the following command:
conda env create -f environment.yaml
Clone and transform the dataset into JSON form:
from datasets import load_dataset
ds = load_dataset("RickyDeSkywalker/GAR_baseDataset_NuminaMath")
ds["train"].to_json("./base_data/GAR_base_data_Numina-Math.json")
The GAR training can be initialized through the following command, detailed training config can be found in ./main.py.
python -u ./main.py \
--training_name GAR-Prover \
--base_data_path ./base_data/GAR_base_data_Numina-Math.json
@article{wang2025gar,
title={GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Proving},
author={Wang, Ruida and Yao, Jiarui and Pan, Rui and Diao, Shizhe and Zhang, Tong},
journal={arXiv preprint arXiv:2510.11769},
year={2025}
}
This material is based upon work supported partially by NSF under Grant No. 2416897, Grant No. 2505932, and by ORN under Grant No. N000142512318. This research used both Delta (NSF award OAC 2005572) and DeltaAI (NSF award OAC 2320345) advanced computing systems, and computing resources provided by NAIRR Pilot NAIRR250157.