Transformers How to use hzy/Qwen2.5-Math-7B-Instruct-PRM-Modified-math_shepherd with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="hzy/Qwen2.5-Math-7B-Instruct-PRM-Modified-math_shepherd") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("hzy/Qwen2.5-Math-7B-Instruct-PRM-Modified-math_shepherd")
model = AutoModelForTokenClassification.from_pretrained("hzy/Qwen2.5-Math-7B-Instruct-PRM-Modified-math_shepherd")