Spaces:
Running
on
Zero
Running
on
Zero
da03
commited on
Commit
•
b8ed883
1
Parent(s):
92db246
app.py
CHANGED
@@ -85,7 +85,6 @@ def predict_product(num1, num2):
|
|
85 |
finished_per_model[model_name] = True
|
86 |
if valid_input:
|
87 |
if len([item for item in predicted_annotations_per_model[model_name] if item[1] is not None]) < len(ground_truth_digits_reversed):
|
88 |
-
print ('jjere')
|
89 |
predicted_annotations_per_model[model_name].insert(0, ('⠀', 'wrong'))
|
90 |
continue
|
91 |
|
@@ -155,7 +154,8 @@ demo = gr.Interface(
|
|
155 |
title='Predicting Multiplication with GPT-2: Implicit vs. Explicit CoT',
|
156 |
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.',
|
157 |
article="""
|
158 |
-
- [Paper:
|
|
|
159 |
- [Code Repository](https://github.com/da03/Internalize_CoT_Step_by_Step)
|
160 |
- [Tweet Announcement](https://twitter.com/yuntiandeng/status/1795854740879774036)
|
161 |
""",
|
|
|
85 |
finished_per_model[model_name] = True
|
86 |
if valid_input:
|
87 |
if len([item for item in predicted_annotations_per_model[model_name] if item[1] is not None]) < len(ground_truth_digits_reversed):
|
|
|
88 |
predicted_annotations_per_model[model_name].insert(0, ('⠀', 'wrong'))
|
89 |
continue
|
90 |
|
|
|
154 |
title='Predicting Multiplication with GPT-2: Implicit vs. Explicit CoT',
|
155 |
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.',
|
156 |
article="""
|
157 |
+
- [Paper 1: Implicit Chain of Thought Reasoning via Knowledge Distillation](https://arxiv.org/pdf/2311.01460)
|
158 |
+
- [Paper 2: From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step](https://arxiv.org/pdf/2405.14838)
|
159 |
- [Code Repository](https://github.com/da03/Internalize_CoT_Step_by_Step)
|
160 |
- [Tweet Announcement](https://twitter.com/yuntiandeng/status/1795854740879774036)
|
161 |
""",
|