Spaces:
Running
on
Zero
Running
on
Zero
da03
commited on
Commit
•
dc59d8f
1
Parent(s):
e01b57c
app.py
CHANGED
@@ -137,12 +137,12 @@ demo = gr.Interface(
|
|
137 |
],
|
138 |
outputs=[
|
139 |
gr.HighlightedText(label='Ground Truth Product', combine_adjacent=False, show_legend=False, color_map=color_map),
|
140 |
-
gr.HighlightedText(label='Implicit CoT
|
141 |
-
gr.HighlightedText(label='No CoT
|
142 |
-
gr.HighlightedText(label='Explicit CoT
|
143 |
],
|
144 |
-
title='
|
145 |
-
description='This demo
|
146 |
article="""
|
147 |
- [Paper: From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step](https://arxiv.org/pdf/2405.14838)
|
148 |
- [Code Repository](https://github.com/da03/Internalize_CoT_Step_by_Step)
|
|
|
137 |
],
|
138 |
outputs=[
|
139 |
gr.HighlightedText(label='Ground Truth Product', combine_adjacent=False, show_legend=False, color_map=color_map),
|
140 |
+
gr.HighlightedText(label='Implicit CoT Prediction', combine_adjacent=False, show_legend=False, color_map=color_map, show_inline_category=False),
|
141 |
+
gr.HighlightedText(label='No CoT Prediction', combine_adjacent=False, show_legend=False, color_map=color_map, show_inline_category=False),
|
142 |
+
gr.HighlightedText(label='Explicit CoT Steps & Prediction', combine_adjacent=False, show_legend=False, color_map=color_map, show_inline_category=False),
|
143 |
],
|
144 |
+
title='Predicting Multiplication with GPT-2: Implicit vs. Explicit CoT',
|
145 |
+
description='This demo showcases GPT-2\'s ability to directly predict the product of two large numbers without intermediate steps, using our stepwise internalization method. Compare the performance of implicit CoT (our method), no CoT, and explicit CoT. Implicit CoT offers accuracy and speed, while explicit CoT provides detailed reasoning but is slower.',
|
146 |
article="""
|
147 |
- [Paper: From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step](https://arxiv.org/pdf/2405.14838)
|
148 |
- [Code Repository](https://github.com/da03/Internalize_CoT_Step_by_Step)
|