RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Sampling
Paper • 2506.08672 • Published • 30
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("RuleReasoner/RuleReasoner-8B")
model = AutoModelForCausalLM.from_pretrained("RuleReasoner/RuleReasoner-8B")If you use the model in your research, please cite the original papers as below.
@article{liu2025rulereasoner,
title={RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Sampling},
author={Yang Liu and Jiaqi Li and Zilong Zheng},
year={2025},
eprint={2506.08672},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2506.08672},
}
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="RuleReasoner/RuleReasoner-8B")