Update README.md
Browse files
README.md
CHANGED
|
@@ -1,68 +1,38 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
| 3 |
library_name: transformers
|
| 4 |
model_name: Qwen-7B_THIP
|
| 5 |
-
tags:
|
| 6 |
-
- generated_from_trainer
|
| 7 |
-
- grpo
|
| 8 |
-
- trl
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
This model is a fine-tuned version of [Thrillcrazyer/Qwen-7B_THIP](https://huggingface.co/Thrillcrazyer/Qwen-7B_THIP).
|
| 15 |
-
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 16 |
-
|
| 17 |
-
## Quick start
|
| 18 |
-
|
| 19 |
-
```python
|
| 20 |
-
from transformers import pipeline
|
| 21 |
-
|
| 22 |
-
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 23 |
-
generator = pipeline("text-generation", model="Thrillcrazyer/Qwen-7B_THIP", device="cuda")
|
| 24 |
-
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 25 |
-
print(output["generated_text"])
|
| 26 |
-
```
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/pthpark1/TAC/runs/whtsmb9d)
|
| 31 |
|
| 32 |
|
| 33 |
-
This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
|
| 34 |
|
| 35 |
-
### Framework versions
|
| 36 |
|
| 37 |
-
- TRL: 0.27.0
|
| 38 |
-
- Transformers: 4.57.6
|
| 39 |
-
- Pytorch: 2.8.0
|
| 40 |
-
- Datasets: 4.5.0
|
| 41 |
-
- Tokenizers: 0.22.2
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
-
|
| 48 |
-
@article{shao2024deepseekmath,
|
| 49 |
-
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
| 50 |
-
author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
|
| 51 |
-
year = 2024,
|
| 52 |
-
eprint = {arXiv:2402.03300},
|
| 53 |
-
}
|
| 54 |
|
| 55 |
-
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
@misc{vonwerra2022trl,
|
| 61 |
-
title = {{TRL: Transformer Reinforcement Learning}},
|
| 62 |
-
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
|
| 63 |
-
year = 2020,
|
| 64 |
-
journal = {GitHub repository},
|
| 65 |
-
publisher = {GitHub},
|
| 66 |
-
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 67 |
-
}
|
| 68 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
|
| 3 |
+
datasets: DeepMath-103k
|
| 4 |
library_name: transformers
|
| 5 |
model_name: Qwen-7B_THIP
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
licence: license
|
| 7 |
---
|
| 8 |
|
| 9 |
+
<h1 align= "center"> Reasoning-Aware GRPO using Process Mining </h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
<p align="center">
|
| 12 |
+
<a href="https://pnubaelab.github.io/"><b>BAELAB</b></a>, Pusan National University, Busan, Korea
|
| 13 |
+
</p>
|
| 14 |
+
<p align="center">
|
| 15 |
+
Taekyhun Park<sup>*</sup> , Yongjae Lee<sup>*</sup>, Hyerim Bae<sup>†</sup>
|
| 16 |
+
</p>
|
| 17 |
|
|
|
|
| 18 |
|
| 19 |
|
|
|
|
| 20 |
|
|
|
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
<p align="center">
|
| 24 |
+
<a href="https://github.com/Thrillcrazyer/TACReward"><b>🌟 Github</b></a> |
|
| 25 |
+
<a href="https://huggingface.co/Thrillcrazyer/Qwen-1.5B_THIP"><b>📥 1.5B Download</b></a> |
|
| 26 |
+
<a href="https://huggingface.co/Thrillcrazyer/TACReward7B"><b>📥 7B Download</b></a> |
|
| 27 |
+
<a href="https://arxiv.org/abs/2510.25065"><b>📄 Arxiv Paper Link</b></a> |
|
| 28 |
+
</p>
|
| 29 |
|
| 30 |
+
# Abstract
|
| 31 |
|
| 32 |
+
Reinforcement learning (RL)-based post-training has been crucial for enabling multi-step reasoning in large reasoning models (LRMs), yet current reward schemes are typically outcome-centric. We propose **PM4GRPO**, a reasoning-aware Group Relative Policy Optimization (GRPO) that augments standard answer/format rewards with signals over the reasoning procedure. To this end, process mining techniques are utilized to compute a scalar conformance reward that measures how closely a policy model's reasoning aligns with the pretrained teacher model. The empirical results on five benchmarks demonstrate that **PM4GRPO** significantly outperforms existing methodologies for GRPO-based post-training. These results highlight that leveraging process mining for reasoning-aware GRPO effectively enhances the reasoning capabilities of policy models.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
+
# Illustration of PM4GRPO
|
| 35 |
|
| 36 |
+
<div align="center">
|
| 37 |
+
<img src="https://arxiv.org/html/2510.25065v1/x1.png" width="600"/>
|
| 38 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|