da03 commited on
Commit
859f68f
·
1 Parent(s): 38a5e5e
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,13 +33,13 @@ def predict_answer(question):
33
  demo = gr.Interface(
34
  fn=predict_answer,
35
  inputs=[
36
- gr.Textbox(label='Question', value='A set of 7 spoons costs $21. If each spoon would be sold separately, how much would 5 spoons cost?'),
37
  ],
38
  outputs=[
39
  gr.Textbox(label='Implicit CoT Prediction'),
40
  ],
41
- title='Solving Grade School Math Problems with Implicit CoT',
42
- description='This demo showcases Mistral-7B\'s ability to solve grade school math problems without producing intermediate steps, using our stepwise internalization method.',
43
  article="""
44
  - [Paper 1: Implicit Chain of Thought Reasoning via Knowledge Distillation](https://arxiv.org/pdf/2311.01460)
45
  - [Paper 2: From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step](https://arxiv.org/pdf/2405.14838)
 
33
  demo = gr.Interface(
34
  fn=predict_answer,
35
  inputs=[
36
+ gr.Textbox(label='Question', value='Asumi\'s bookshelf has 120 books. She has 10 books on history, twice that many books on literature, and the rest are science books. How many science books does Asumi have?'),
37
  ],
38
  outputs=[
39
  gr.Textbox(label='Implicit CoT Prediction'),
40
  ],
41
+ title='Solving Grade School Math Problems without Intermediate Reasoning Steps',
42
+ description='This demo showcases Mistral-7B\'s ability to solve grade school math problems without producing intermediate steps, using our stepwise internalization approach linked below.',
43
  article="""
44
  - [Paper 1: Implicit Chain of Thought Reasoning via Knowledge Distillation](https://arxiv.org/pdf/2311.01460)
45
  - [Paper 2: From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step](https://arxiv.org/pdf/2405.14838)