xVerify-3B-Ia / README.md
Ding Chen
nielsr's picture
nielsr HF Staff
Add library_name, pipeline_tag and link to paper (#1)
67fdb18 verified
|
Raw History Blame Contribute Delete
3.17 kB
metadata
base_model:
  - meta-llama/Llama-3.2-3B-Instruct
language:
  - en
  - zh
license: cc-by-nc-nd-4.0
tags:
  - instruction-finetuning
  - reasoning
  - evaluation
library_name: transformers
pipeline_tag: text-generation
inference: false

πŸ” xVerify-3B-Ia

xVerify is an evaluation tool fine-tuned from a pre-trained large language model, designed specifically for objective questions with a single correct answer. It accurately extracts the final answer from lengthy reasoning processes and efficiently identifies equivalence across different forms of expressions.

This model was introduced in the paper xVerify: Efficient Answer Verifier for Reasoning Model Evaluations.


✨ Key Features

πŸ“Š Broad Applicability

Suitable for various objective question evaluation scenarios including math problems, multiple-choice questions, classification tasks, and short-answer questions.

⛓️ Handles Long Reasoning Chains

Effectively processes answers with extensive reasoning steps to extract the final answer, regardless of complexity.

🌐 Multilingual Support

Primarily handles Chinese and English responses while remaining compatible with other languages.

πŸ”„ Powerful Equivalence Judgment

  • βœ“ Recognizes basic transformations like letter case changes and Greek letter conversions
  • βœ“ Identifies equivalent mathematical expressions across formats (LaTeX, fractions, scientific notation)
  • βœ“ Determines semantic equivalence in natural language answers
  • βœ“ Matches multiple-choice responses by content rather than just option identifiers

πŸš€ Usage

For detailed instructions on installation and batch evaluation using the xVerify framework, please refer to the official GitHub repository.

Since this is a Llama-based model, you can also use it directly with the transformers library:

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "IAAR-Shanghai/xVerify-3B-Ia"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")

# Your input prompt logic here

πŸ“š Citation

@article{xVerify,
      title={xVerify: Efficient Answer Verifier for Reasoning Model Evaluations}, 
      author={Ding Chen and Qingchen Yu and Pengyuan Wang and Wentao Zhang and Bo Tang and Feiyu Xiong and Xinchi Li and Minchuan Yang and Zhiyu Li},
      journal={arXiv preprint arXiv:2504.10481},
      year={2025},
}