Run this model with HF Jobs
Run LoRID-Math/MATH-Mistral-7B-KG on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/LoRID-Math/MATH-Mistral-7B-KG. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/LoRID-Math/MATH-Mistral-7B-KG on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/LoRID-Math/MATH-Mistral-7B-KG. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/LoRID-Math/MATH-Mistral-7B-KG. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use LoRID-Math/MATH-Mistral-7B-KG with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use LoRID-Math/MATH-Mistral-7B-KG with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1") model = PeftModel.from_pretrained(base_model, "LoRID-Math/MATH-Mistral-7B-KG") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files123---license: apache-2.0---12345678910111213141516171819202122232425262728293031323334353637383940414243444546---license: apache-2.0datasets:- LoRID-Math/MATHlanguage:- enmetrics:- accuracybase_model:- mistralai/Mistral-7B-v0.1pipeline_tag: text-generationlibrary_name: pefttags:- math- reasoning---# LoRID: A Reasoning Distillation Method via Multi-LoRA Interaction📃 [Paper](https://arxiv.org/abs/2508.13037) • 💻 [Code](https://github.com/Xinhe-Li/LoRID) • 🤗 [HF Repo](https://huggingface.co/LoRID-Math)## AbstractThe models for "[Can Large Models Teach Student Models to Solve Mathematical Problems Like Human Beings? A Reasoning Distillation Method via Multi-LoRA Interaction](https://arxiv.org/abs/2508.13037)" [IJCAI 2025].## Key Contributions- We focus on the mathematical reasoning distillation task and propose a novel method **LoRID**, which draws inspiration from the human beings teaching and learning pattern.- We introduce knowledge during data augmentation and propose multi-LoRA interaction during model distillation, which improves the student’s reasoning abilities.- Experimental results show that with the interaction between System 1 and System 2, **LoRID** outperforms previous state-of-the-art approaches and can be easily and effectively integrated into any Chain-of-Thought distillation method.## CitationIf this work is helpful, please kindly cite as:```bibtex@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},}```
README.md+46-3