meta-math/MetaMathQA
Viewer • Updated • 395k • 63.3k • 457
How to use LoRID-Math/MATH-LLaMA-2-7B-IR with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf")
model = PeftModel.from_pretrained(base_model, "LoRID-Math/MATH-LLaMA-2-7B-IR")The models for "Can Large Models Teach Student Models to Solve Mathematical Problems Like Human Beings? A Reasoning Distillation Method via Multi-LoRA Interaction" [IJCAI 2025].
If this work is helpful, please kindly cite as:
@misc{li2025largemodelsteachstudent,
title={Can Large Models Teach Student Models to Solve Mathematical Problems Like Human Beings? A Reasoning Distillation Method via Multi-LoRA Interaction},
author={Xinhe Li and Jiajun Liu and Peng Wang},
year={2025},
eprint={2508.13037},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2508.13037},
}
Base model
meta-llama/Llama-2-7b-hf