Token Classification
Transformers
Safetensors
qwen2
Generated from Trainer
trl
prm
axolotl
text-generation-inference
Instructions to use jacopo-minniti/Qwen2.5-Math-7B-PUM-half_entropy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jacopo-minniti/Qwen2.5-Math-7B-PUM-half_entropy with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="jacopo-minniti/Qwen2.5-Math-7B-PUM-half_entropy")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("jacopo-minniti/Qwen2.5-Math-7B-PUM-half_entropy") model = AutoModelForTokenClassification.from_pretrained("jacopo-minniti/Qwen2.5-Math-7B-PUM-half_entropy", device_map="auto") - Notebooks
- Google Colab
- Kaggle
metadata
base_model: Qwen/Qwen2.5-Math-7B
library_name: transformers
model_name: Qwen2.5-Math-7B-PUM-half_entropy
tags:
- generated_from_trainer
- trl
- prm
- axolotl
licence: license
Model Card for Qwen2.5-Math-7B-PUM-half_entropy
This model is a fine-tuned version of Qwen/Qwen2.5-Math-7B. It has been trained using TRL.
Quick start
from transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="jacopo-minniti/Qwen2.5-Math-7B-PUM-half_entropy", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
Training procedure
This model was trained with PRM.
Framework versions
- TRL: 0.21.0
- Transformers: 4.55.2
- Pytorch: 2.7.1
- Datasets: 4.0.0
- Tokenizers: 0.21.4
Citations
Cite PRM as:
@article{uesato2022solving,
title = {{Solving Math Word Problems With Process- and Outcome-Based Feedback}},
author = {Uesato, Jonathan and Kushman, Nate and Kumar, Ramana and Song, Francis and Siegel, Noah and Wang, Lisa and Creswell, Antonia and Irving, Geoffrey and Higgins, Irina},
year = 2022,
journal = {arXiv preprint arXiv:2211.14275}
}
Cite TRL as:
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}