Spaces:
Running
on
Zero
Running
on
Zero
da03
commited on
Commit
•
1efd23b
1
Parent(s):
486c21f
app.py
CHANGED
@@ -61,13 +61,13 @@ demo = gr.Interface(
|
|
61 |
gr.Textbox(label='Second Number (up to 12 digits)', value='67890'),
|
62 |
],
|
63 |
outputs=[
|
64 |
-
gr.Textbox(label='Raw Input to
|
65 |
-
gr.Textbox(label='Raw Output from
|
66 |
gr.Textbox(label='Predicted Product'),
|
67 |
gr.HTML(label='Result Message')
|
68 |
],
|
69 |
-
title='
|
70 |
-
description='This demo uses
|
71 |
article="""
|
72 |
- [Paper: From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step](https://arxiv.org/pdf/2405.14838)
|
73 |
- [Code Repository](https://github.com/da03/Internalize_CoT_Step_by_Step)
|
|
|
61 |
gr.Textbox(label='Second Number (up to 12 digits)', value='67890'),
|
62 |
],
|
63 |
outputs=[
|
64 |
+
gr.Textbox(label='Raw Input to GPT2 (reversed digits and added spaces)'),
|
65 |
+
gr.Textbox(label='Raw Output from GPT2 (reversed digits and with spaces)'),
|
66 |
gr.Textbox(label='Predicted Product'),
|
67 |
gr.HTML(label='Result Message')
|
68 |
],
|
69 |
+
title='GPT2 Direct Multiplication Calculator (Without Using Chain-of-Thought)',
|
70 |
+
description='This demo uses GPT2 to directly predict the product of two numbers without using any intermediate reasoning steps. The GPT2 model has been fine-tuned to internalize chain-of-thought reasoning within its hidden states, following our stepwise internalization approach detailed in the paper linked at the bottom of this page.',
|
71 |
article="""
|
72 |
- [Paper: From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step](https://arxiv.org/pdf/2405.14838)
|
73 |
- [Code Repository](https://github.com/da03/Internalize_CoT_Step_by_Step)
|