Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,15 +16,31 @@ with gr.Blocks(css="""
|
|
16 |
}
|
17 |
""") as demo:
|
18 |
gr.HTML("""
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
<div align="center">
|
20 |
-
|
21 |
-
<
|
22 |
-
|
23 |
-
<
|
|
|
|
|
|
|
|
|
|
|
24 |
</div>
|
|
|
|
|
|
|
|
|
25 |
<br>
|
26 |
</div>
|
27 |
""")
|
|
|
28 |
gr.HTML("""
|
29 |
<div style="display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;">
|
30 |
<a href="https://arxiv.org/pdf/2505.05315">
|
@@ -68,9 +84,7 @@ training.
|
|
68 |
gr.Image("figs/codetable.png", label="Framework", show_label=False, elem_id="my-img")
|
69 |
gr.HTML("""
|
70 |
<div align="center">
|
71 |
-
<
|
72 |
-
<h3>Part 2:Fractured Chain-of-Thought (Fractured Chain-of-Thought Reasoning) π
|
73 |
-
</div>
|
74 |
<br>
|
75 |
</div>
|
76 |
""")
|
@@ -144,6 +158,11 @@ This joint sampling strategy leverages the complementary strengths of each dimen
|
|
144 |
}
|
145 |
```
|
146 |
""")
|
|
|
|
|
|
|
|
|
|
|
147 |
|
148 |
|
149 |
if __name__ == "__main__":
|
|
|
16 |
}
|
17 |
""") as demo:
|
18 |
gr.HTML("""
|
19 |
+
<div align="center" style="padding: 10px;">
|
20 |
+
<a href="#part1" style="margin-right: 20px; font-size: 18px;">πΉ Part 1: Elastic Reasoning</a>
|
21 |
+
<a href="#part2" style="font-size: 18px;">πΉ Part 2: Fractured CoT</a>
|
22 |
+
</div>
|
23 |
+
""")
|
24 |
+
gr.HTML("""
|
25 |
<div align="center">
|
26 |
+
<h1 id="top">Efficient Reasoning</h1>
|
27 |
+
<p>
|
28 |
+
This demo is structured in two parts, each showcasing a recent advancement in scalable and efficient reasoning with large language models:
|
29 |
+
<br><br>
|
30 |
+
<b>Part 1:</b> <i>Elastic Reasoning</i> focuses on budget-aware generation by explicitly separating thinking and solution stages.
|
31 |
+
<br>
|
32 |
+
<b>Part 2:</b> <i>Fractured Chain-of-Thought</i> explores sampling efficiency by fragmenting the reasoning process along multiple dimensions.
|
33 |
+
</p>
|
34 |
+
<br>
|
35 |
</div>
|
36 |
+
""")
|
37 |
+
gr.HTML("""
|
38 |
+
<div align="center">
|
39 |
+
<h3 id="part1">Part 1: Elastic Reasoning π</h3>
|
40 |
<br>
|
41 |
</div>
|
42 |
""")
|
43 |
+
|
44 |
gr.HTML("""
|
45 |
<div style="display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;">
|
46 |
<a href="https://arxiv.org/pdf/2505.05315">
|
|
|
84 |
gr.Image("figs/codetable.png", label="Framework", show_label=False, elem_id="my-img")
|
85 |
gr.HTML("""
|
86 |
<div align="center">
|
87 |
+
<h3 id="part2">Part 2: Fractured Chain-of-Thought π</h3>
|
|
|
|
|
88 |
<br>
|
89 |
</div>
|
90 |
""")
|
|
|
158 |
}
|
159 |
```
|
160 |
""")
|
161 |
+
gr.HTML("""
|
162 |
+
<div align="center" style="margin-top: 30px;">
|
163 |
+
<a href="#top" style="font-size: 16px;">β¬οΈ Back to Top</a>
|
164 |
+
</div>
|
165 |
+
""")
|
166 |
|
167 |
|
168 |
if __name__ == "__main__":
|