Instructions to use GAIR/ReasonEval-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GAIR/ReasonEval-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="GAIR/ReasonEval-7B")# Load model directly from transformers import AutoTokenizer, ReasonEval_7B tokenizer = AutoTokenizer.from_pretrained("GAIR/ReasonEval-7B") model = ReasonEval_7B.from_pretrained("GAIR/ReasonEval-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
metadata
license: apache-2.0
language:
- en
pipeline_tag: text-classification
ReasonEval-7B Model Card
Model Description
ReasonEval-7B is a 7B parameter decoder-only language model fine-tuned from WizardMath-7B-V1.1. Given a mathematical problem and the solution, ReasonEval-7B assesses the problem-solving process in a step-by-step format from the following perspectives:
- Validity: The step contains no mistakes in calculation and logic.
- Redundancy: The step lacks utility in solving the problem but is still valid.
With ReasonEval, you can
📏 quantify the quality of reasoning steps free of human or close-source models.
🤖 find the potential invalid or redundant steps in the solutions even with the correct results.
🛠️ select high-quality training data for downstream tasks (e.g., fine-tuning).
Model Details
- Model type:
ReasonEval-7B's architecture is identical toWizardMath-7B-V1.1, except that the classification head for next-token prediction is replaced with a classification head for outputting the possibilities of each class of reasong steps. - Language(s): English
- Paper: Evaluating Mathematical Reasoning Beyond Accuracy
- Github: https://github.com/GAIR-NLP/ReasonEval
- Finetuned from model: https://huggingface.co/WizardLM/WizardMath-7B-V1.1
- Fine-tuning Data: PRM800K
For detailed instructions on how to use the ReasonEval-7B model, visit our GitHub repository at https://github.com/GAIR-NLP/ReasonEval.
How to Cite
@article{xia2024evaluating,
title={Evaluating Mathematical Reasoning Beyond Accuracy},
author={Xia, Shijie and Li, Xuefeng and Liu, Yixin and Wu, Tongshuang and Liu, Pengfei},
journal={arXiv preprint arXiv:2404.05692},
year={2024},
}