---
title: mistral-7b-sft
canonical_url: "https://www.modelscope.cn/models/AI-ModelScope/mistral-7b-sft"
md_url: "https://www.modelscope.cn/models/AI-ModelScope/mistral-7b-sft.md"
repository: AI-ModelScope/mistral-7b-sft
last_updated: 2024-10-22
model_type:
  - llama
architectures:
  - LlamaForCausalLM
library_name:
  - pytorch
frameworks:
  - pytorch
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy 0.9.1"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 1467
stars: 0
---

# mistral-7b-sft

> mistral-7b-sft - AI-ModelScope 在 ModelScope 开源的模型。Mistral 7B fine-tuned on MetaMATH [1] used in Math-Shepherd.

AI-ModelScope/mistral-7b-sft 是 ModelScope 魔搭社区上的机器学习模型，可用 deploy_task text/emb、lmdeploy 0.9.1、lmdeploy_turbomind 0.9.1 部署。

- **Repository**: AI-ModelScope/mistral-7b-sft
- **Inference backends**: deploy_task text/emb, lmdeploy 0.9.1, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Downloads**: 1467
- **Stars**: 0
- **Last updated**: 2024-10-22

Source: https://www.modelscope.cn/models/AI-ModelScope/mistral-7b-sft

---

Mistral 7B fine-tuned on MetaMATH [1] used in [Math-Shepherd](https://arxiv.org/pdf/2312.08935.pdf).

Pass@1:
- GSM8K: 77.9
- MATH:  28.6

`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.
