Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- deepsparse
|
4 |
+
---
|
5 |
+
|
6 |
+
# Sparse MPT-7B-GSM8k - DeepSparse
|
7 |
+
|
8 |
+
Sparse finetuned MPT 7b model on GSM8k, pruned to 50% and quantized for inference with DeepSparse
|
9 |
+
|
10 |
+
```python
|
11 |
+
from deepsparse import TextGeneration
|
12 |
+
model = TextGeneration(model="hf:neuralmagic/mpt-7b-gsm8k-pruned50-quant")
|
13 |
+
model("There are twice as many boys as girls at Dr. Wertz's school. If there are 60 girls and 5 students to every teacher, how many teachers are there?", max_new_tokens=50)
|
14 |
+
```
|