Feature Extraction
Transformers
Safetensors
qwen2
prm
process-reward-model
math
custom_code
text-embeddings-inference
Instructions to use ZaandaTeika/Qwen2.5-1.5B-SHARP-Span with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZaandaTeika/Qwen2.5-1.5B-SHARP-Span with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ZaandaTeika/Qwen2.5-1.5B-SHARP-Span", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ZaandaTeika/Qwen2.5-1.5B-SHARP-Span", trust_remote_code=True) model = AutoModel.from_pretrained("ZaandaTeika/Qwen2.5-1.5B-SHARP-Span", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Qwen2.5-1.5B-SHARP-GSM8K-proc_30-70-Math-proc_10-90
Process Reward Model (PRM) based on Qwen/Qwen2.5-Math-1.5B-Instruct.
Training
Two-stage fine-tuning:
- proc_30-70 โ GSM8K-style process supervision (SHARP)
- proc_10-90 โ Math dataset (SHARP)
Weights are stored in bfloat16.
Load
from transformers import AutoModel, AutoTokenizer
model_id = "ZaandaTeika/Qwen2.5-1.5B-SHARP-GSM8K-proc_30-70-Math-proc_10-90"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModel.from_pretrained(model_id, torch_dtype="bfloat16", trust_remote_code=True)
Custom architecture: Qwen2ForProcessRewardModel (see modeling_qwen2_rm.py in the repo).
Format
Step separator: \n\n. Each completion step is labeled at its last token (0 = error, 1 = correct).
- Downloads last month
- 2
Model tree for ZaandaTeika/Qwen2.5-1.5B-SHARP-Span
Base model
Qwen/Qwen2.5-1.5B Finetuned
Qwen/Qwen2.5-Math-1.5B Finetuned
Qwen/Qwen2.5-Math-1.5B-Instruct