Text Classification
Transformers
Safetensors
English
Chinese
qwen2
feature-extraction
reward model
custom_code
text-embeddings-inference
Instructions to use Qwen/Qwen2.5-Math-PRM-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen2.5-Math-PRM-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Qwen/Qwen2.5-Math-PRM-7B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-Math-PRM-7B", trust_remote_code=True) model = AutoModel.from_pretrained("Qwen/Qwen2.5-Math-PRM-7B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files23 unmodified lines24252627282992 unmodified lines12212312412512612712812913013123 unmodified lines## Requirements* `transformers>=4.40.0` for Qwen2.5-Math models. The latest version is recommended.92 unmodified linesIf you find our work helpful, feel free to give us a citation.```@article{yang2024qwen25mathtechnicalreportmathematical,title={Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement},author={An Yang and Beichen Zhang and Binyuan Hui and Bofei Gao and Bowen Yu and Chengpeng Li and Dayiheng Liu and Jianhong Tu and Jingren Zhou and Junyang Lin and Keming Lu and Mingfeng Xue and Runji Lin and Tianyu Liu and Xingzhang Ren and Zhenru Zhang},journal={arXiv preprint arXiv:2409.12122},year={2024}}```23 unmodified lines2425262728293031323392 unmodified lines12612712812913013113213313413513613723 unmodified lines## Model DetailsFor more details, please refer to our [paper](https://arxiv.org/pdf/2501.07301).## Requirements* `transformers>=4.40.0` for Qwen2.5-Math models. The latest version is recommended.92 unmodified linesIf you find our work helpful, feel free to give us a citation.```@article{prmlessons,title={The Lessons of Developing Process Reward Models in Mathematical Reasoning},author={Zhenru Zhang and Chujie Zheng and Yangzhen Wu and Beichen Zhang and Runji Lin and Bowen Yu and Dayiheng Liu and Jingren Zhou and Junyang Lin},journal={arXiv preprint arXiv:2501.07301},year={2025}}```
README.md+11-5