How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="hflog/microsoft-rho-math-1b-v0.1")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMultimodalLM

tokenizer = AutoTokenizer.from_pretrained("hflog/microsoft-rho-math-1b-v0.1")
model = AutoModelForMultimodalLM.from_pretrained("hflog/microsoft-rho-math-1b-v0.1")
Quick Links

Rho-1: Not All Tokens Are What You Need

The Rho-1 series are pretrained language models that utilize Selective Language Modeling (SLM) objectives. In math reasoning pretraining, SLM improves average few-shot accuracy on GSM8k and MATH by over 16%, achieving the baseline performance 5-10x faster.

For more details please check our github and paper.

Downloads last month
2
Safetensors
Model size
1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for hflog/microsoft-rho-math-1b-v0.1