Instructions to use Interplay-LM-Reasoning/extrapolation_midtrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Interplay-LM-Reasoning/extrapolation_midtrain with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Interplay-LM-Reasoning/extrapolation_midtrain", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add pipeline tag, GitHub link, and improved model description
#1
by nielsr HF Staff - opened
1234517 unmodified lines2324252627282930---license: mit---<h1 align="center">17 unmodified lines</div>This repository contains mid-training related checkpoints in the extrapolation tasks.## 📚 Citation12345617 unmodified lines2425262728293031323334353637383940414243444546474849505152---license: mitpipeline_tag: text-generation---<h1 align="center">17 unmodified lines</div>## Does Reinforcement Learning Truly Extend Reasoning?This work explores the discrepancy in views on RL's effectiveness in extending language models' reasoning abilities. Some characterize RL as a capability refiner, while others see it as inducing new compositional skills. This challenge stems from a lack of control in modern training pipelines. Our work aims to resolve this conflict through controlled analysis, going beyond the initial description that this repository contains mid-training related checkpoints in the extrapolation tasks.## 🔍 OverviewOur paper builds a fully controlled experimental framework to analyze how pre-training, mid-training, and RL-based post-training jointly shape the reasoning abilities of language models. Using synthetic math-style reasoning tasks with explicit atomic operations and process-verifiable reasoning traces, we study:* **Extrapolative generalization** to more complex compositions (deeper dependency graphs).* **Contextual generalization** across diverse surface forms and linguistic contexts.* How **RL interacts** with prior knowledge, and when it yields **genuine capability gains** beyond pre-training.## 🧠 Key findings<div align="center"><h1 align="center"><img src="assets/findings.png" width="500" /></h1></div>You may also find the comic generated by Notebook LLM [here](assets/Interplay-LM-Reasoning.pdf).## CodeThe code and data for this work will be released soon at the following GitHub repository: [https://github.com/Interplay-LM-Reasoning/Interplay-LM-Reasoning](https://github.com/Interplay-LM-Reasoning/Interplay-LM-Reasoning)## 📚 Citation
README.md+23-1