---
title: math-shepherd-mistral-7b-rl-GGUF
canonical_url: "https://www.modelscope.cn/models/QuantFactory/math-shepherd-mistral-7b-rl-GGUF"
md_url: "https://www.modelscope.cn/models/QuantFactory/math-shepherd-mistral-7b-rl-GGUF.md"
repository: QuantFactory/math-shepherd-mistral-7b-rl-GGUF
last_updated: 2024-10-19
pipeline_tag: text-generation
tasks:
  - text-generation
library_name:
  - gguf
  - pytorch
frameworks:
  - pytorch
downloads: 2918
stars: 0
tags:
  - gguf
---

# math-shepherd-mistral-7b-rl-GGUF

> math-shepherd-mistral-7b-rl-GGUF - QuantFactory 在 ModelScope 开源的模型。QuantFactory/math-shepherd-mistral-7b-rl-GGUF This is quantized version of peiyi9979/math-shepherd-mistral-7b-rl created using llama.cpp

- **Repository**: QuantFactory/math-shepherd-mistral-7b-rl-GGUF
- **Tasks**: text-generation
- **Tags**: gguf
- **Downloads**: 2918
- **Stars**: 0
- **Last updated**: 2024-10-19

Source: https://www.modelscope.cn/models/QuantFactory/math-shepherd-mistral-7b-rl-GGUF

---

[![QuantFactory Banner](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeiuCm7c8lEwEJuRey9kiVZsRn2W-b4pWlu3-X534V3YmVuVc2ZL-NXg2RkzSOOS2JXGHutDuyyNAUtdJI65jGTo8jT9Y99tMi4H4MqL44Uc5QKG77B0d6-JfIkZHFaUA71-RtjyYZWVIhqsNZcx8-OMaA?key=xt3VSDoCbmTY7o-cwwOFwQ)](https://hf.co/QuantFactory)


# QuantFactory/math-shepherd-mistral-7b-rl-GGUF
This is quantized version of [peiyi9979/math-shepherd-mistral-7b-rl](https://huggingface.co/peiyi9979/math-shepherd-mistral-7b-rl) created using llama.cpp

# Original Model Card
Mistral-7b-MetaMATH with step-by-step PPO in [Math-Shepherd](https://arxiv.org/pdf/2312.08935.pdf).


Base model: [mistral-7b-sft](https://huggingface.co/peiyi9979/mistral-7b-sft).

PRM: [math-shepherd-mistral-7b-prm](https://huggingface.co/peiyi9979/math-shepherd-mistral-7b-prm). 

PPO training set: questions in MetaMATH [1].

Pass@1:
- GSM8K: 84.1
- MATH:  33.0

`Input`: only the math problem, without any system prompt, e.g., 
```
Janet\u2019s ducks lay 16 eggs per day. She eats three for breakfast every morning and bakes muffins for her friends every day with four. She sells the remainder at the farmers' market daily for $2 per fresh duck egg. How much in dollars does she make every day at the farmers' market?
```
`Output`: Step-by-step solutions with a special step tag `ки`, e.g.,
```
Step 1: Janet's ducks lay 16 eggs per day. ки\nStep 2: She eats three for breakfast every morning, so she has 16 - 3 = 13 eggs left. ки\nStep 3: She bakes muffins for her friends every day with four eggs, so she has 13 - 4 = 9 eggs left. ки\nStep 4: She sells the remainder at the farmers' market daily for $2 per fresh duck egg, so she makes 9 * $2 = $18 every day at the farmers' market. The answer is: 18 ки
```

[1] MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models.
