rgreenberg1 commited on
Commit
c981d70
1 Parent(s): 5c67b56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
app.py CHANGED
@@ -6,21 +6,6 @@ deepsparse.cpu.print_hardware_capability()
6
 
7
  MODEL_ID = "hf:neuralmagic/mpt-7b-gsm8k-pruned60-quant"
8
 
9
- DESCRIPTION = f"""
10
- # MPT Sparse Finetuned on GSM8k with DeepSparse
11
- <img src="https://cdn-uploads.huggingface.co/production/uploads/60466e4b4f40b01b66151416/DOV5q6andhMq83TpAgaU9.jpeg" alt="NM Logo" width="200"/>
12
- Model ID: {MODEL_ID}
13
-
14
- 🚀 **Experience the power of LLM mathematical reasoning** through [our MPT sparse finetuned](https://arxiv.org/abs/2310.06927) on the [GSM8K dataset](https://huggingface.co/datasets/gsm8k).
15
- GSM8K, short for Grade School Math 8K, is a collection of 8.5K high-quality linguistically diverse grade school math word problems, designed to challenge question-answering systems with multi-step reasoning.
16
- Observe the model's performance in deciphering complex math questions, such as "Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?" and offering detailed step-by-step solutions.
17
- ## Accelerated Inference on CPUs
18
- The MPT model runs purely on CPU courtesy of [sparse software execution by DeepSparse](https://github.com/neuralmagic/deepsparse/tree/main/research/mpt).
19
- DeepSparse provides accelerated inference by taking advantage of the MPT model's weight sparsity to deliver tokens fast!
20
-
21
- ![Speedup](https://cdn-uploads.huggingface.co/production/uploads/60466e4b4f40b01b66151416/qMW-Uq8xAawhANTZYB7ZI.png)
22
- """
23
-
24
  MAX_MAX_NEW_TOKENS = 1024
25
  DEFAULT_MAX_NEW_TOKENS = 200
26
 
 
6
 
7
  MODEL_ID = "hf:neuralmagic/mpt-7b-gsm8k-pruned60-quant"
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  MAX_MAX_NEW_TOKENS = 1024
10
  DEFAULT_MAX_NEW_TOKENS = 200
11