awacke1 commited on
Commit
da89aba
·
verified ·
1 Parent(s): 54624f6

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +164 -0
app.py ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import time
3
+
4
+ # Initialize slide index in session state if not already set
5
+ if "slide_idx" not in st.session_state:
6
+ st.session_state.slide_idx = 0
7
+
8
+ # Define a list of 10 slides (each with left and right pages), built from 40 paper entries.
9
+ slides = [
10
+ {
11
+ "left": """
12
+ ### 07 Sep 2023 | [Structured Chain-of-Thought Prompting for Code Generation](https://arxiv.org/abs/2305.06599) | [⬇️](https://arxiv.org/pdf/2305.06599)
13
+ *Jia Li, Ge Li, Yongmin Li, Zhi Jin*
14
+
15
+ ### 15 Nov 2023 | [Eliminating Reasoning via Inferring with Planning: A New Framework to Guide LLMs' Non-linear Thinking](https://arxiv.org/abs/2310.12342) | [⬇️](https://arxiv.org/pdf/2310.12342)
16
+ *Yongqi Tong, Yifan Wang, Dawei Li, Sizhe Wang, Zi Lin, Simeng Han, Jingbo Shang*
17
+ """,
18
+ "right": """
19
+ ### 04 Jun 2023 | [Evaluating and Improving Tool-Augmented Computation-Intensive Math Reasoning](https://arxiv.org/abs/2306.02408) | [⬇️](https://arxiv.org/pdf/2306.02408)
20
+ *Beichen Zhang, Kun Zhou, Xilin Wei, Wayne Xin Zhao, Jing Sha, Shijin Wang, Ji-Rong Wen*
21
+
22
+ ### 23 Oct 2023 | [Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Tasks](https://arxiv.org/abs/2211.12588) | [⬇️](https://arxiv.org/pdf/2211.12588)
23
+ *Wenhu Chen, Xueguang Ma, Xinyi Wang, William W. Cohen*
24
+ """
25
+ },
26
+ {
27
+ "left": """
28
+ ### 04 Jan 2024 | [Text2MDT: Extracting Medical Decision Trees from Medical Texts](https://arxiv.org/abs/2401.02034) | [⬇️](https://arxiv.org/pdf/2401.02034)
29
+ *Wei Zhu, Wenfeng Li, Xing Tian, Pengfei Wang, Xiaoling Wang, Jin Chen, Yuanbin Wu, Yuan Ni, Guotong Xie*
30
+
31
+ ### 21 Dec 2023 | [Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validation](https://arxiv.org/abs/2310.03780) | [⬇️](https://arxiv.org/pdf/2310.03780)
32
+ *Tung Phung, Victor-Alexandru Pădurean, Anjali Singh, Christopher Brooks, José Cambronero, Sumit Gulwani, Adish Singla, Gustavo Soares*
33
+ """,
34
+ "right": """
35
+ ### 04 Feb 2024 | [STEVE-1: A Generative Model for Text-to-Behavior in Minecraft](https://arxiv.org/abs/2306.00937) | [⬇️](https://arxiv.org/pdf/2306.00937)
36
+ *Shalev Lifshitz, Keiran Paster, Harris Chan, Jimmy Ba, Sheila McIlraith*
37
+
38
+ ### 20 May 2021 | [Data-Efficient Reinforcement Learning with Self-Predictive Representations](https://arxiv.org/abs/2007.05929) | [⬇️](https://arxiv.org/pdf/2007.05929)
39
+ *Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, Philip Bachman*
40
+ """
41
+ },
42
+ {
43
+ "left": """
44
+ ### 06 Jul 2022 | [Learning Invariant World State Representations with Predictive Coding](https://arxiv.org/abs/2207.02972) | [⬇️](https://arxiv.org/pdf/2207.02972)
45
+ *Avi Ziskind, Sujeong Kim, and Giedrius T. Burachas*
46
+
47
+ ### 10 Nov 2023 | [State2Explanation: Concept-Based Explanations to Benefit Agent Learning and User Understanding](https://arxiv.org/abs/2309.12482) | [⬇️](https://arxiv.org/pdf/2309.12482)
48
+ *Devleena Das, Sonia Chernova, Been Kim*
49
+ """,
50
+ "right": """
51
+ ### 17 May 2023 | [LeTI: Learning to Generate from Textual Interactions](https://arxiv.org/abs/2305.10314) | [⬇️](https://arxiv.org/pdf/2305.10314)
52
+ *Xingyao Wang, Hao Peng, Reyhaneh Jabbarvand, Heng Ji*
53
+
54
+ ### 01 Dec 2022 | [A General Purpose Supervisory Signal for Embodied Agents](https://arxiv.org/abs/2212.01186) | [⬇️](https://arxiv.org/pdf/2212.01186)
55
+ *Kunal Pratap Singh, Jordi Salvador, Luca Weihs, Aniruddha Kembhavi*
56
+ """
57
+ },
58
+ {
59
+ "left": """
60
+ ### 16 May 2023 | [RAMario: Experimental Approach to Reptile Algorithm -- Reinforcement Learning for Mario](https://arxiv.org/abs/2305.09655) | [⬇️](https://arxiv.org/pdf/2305.09655)
61
+ *Sanyam Jain*
62
+
63
+ ### 31 Mar 2023 | [Pair Programming with Large Language Models for Sampling and Estimation of Copulas](https://arxiv.org/abs/2303.18116) | [⬇️](https://arxiv.org/pdf/2303.18116)
64
+ *Jan Górecki*
65
+ """,
66
+ "right": """
67
+ ### 28 Jun 2023 | [AssistGPT: A General Multi-modal Assistant that can Plan, Execute, Inspect, and Learn](https://arxiv.org/abs/2306.08640) | [⬇️](https://arxiv.org/pdf/2306.08640)
68
+ *Difei Gao, Lei Ji, Luowei Zhou, Kevin Qinghong Lin, Joya Chen, Zihan Fan, Mike Zheng Shou*
69
+
70
+ ### 07 Nov 2023 | [Selective Visual Representations Improve Convergence and Generalization for Embodied AI](https://arxiv.org/abs/2311.04193) | [⬇️](https://arxiv.org/pdf/2311.04193)
71
+ *Ainaz Eftekhar, Kuo-Hao Zeng, Jiafei Duan, Ali Farhadi, Ani Kembhavi, Ranjay Krishna*
72
+ """
73
+ },
74
+ {
75
+ "left": """
76
+ ### 16 Feb 2023 | [Foundation Models for Natural Language Processing -- Pre-trained Language Models Integrating Media](https://arxiv.org/abs/2302.08575) | [⬇️](https://arxiv.org/pdf/2302.08575)
77
+ *Gerhard Paaß and Sven Giesselbach*
78
+
79
+ ### 21 Dec 2023 | [Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validation](https://arxiv.org/abs/2310.03780) | [⬇️](https://arxiv.org/pdf/2310.03780)
80
+ *Tung Phung, Victor-Alexandru Pădurean, Anjali Singh, Christopher Brooks, José Cambronero, Sumit Gulwani, Adish Singla, Gustavo Soares*
81
+ """,
82
+ "right": """
83
+ ### 04 Feb 2024 | [STEVE-1: A Generative Model for Text-to-Behavior in Minecraft](https://arxiv.org/abs/2306.00937) | [⬇️](https://arxiv.org/pdf/2306.00937)
84
+ *Shalev Lifshitz, Keiran Paster, Harris Chan, Jimmy Ba, Sheila McIlraith*
85
+
86
+ ### 20 May 2021 | [Data-Efficient Reinforcement Learning with Self-Predictive Representations](https://arxiv.org/abs/2007.05929) | [⬇️](https://arxiv.org/pdf/2007.05929)
87
+ *Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, Philip Bachman*
88
+ """
89
+ },
90
+ {
91
+ "left": """
92
+ ### 06 Jul 2022 | [Learning Invariant World State Representations with Predictive Coding](https://arxiv.org/abs/2207.02972) | [⬇️](https://arxiv.org/pdf/2207.02972)
93
+ *Avi Ziskind, Sujeong Kim, and Giedrius T. Burachas*
94
+
95
+ ### 10 Nov 2023 | [State2Explanation: Concept-Based Explanations to Benefit Agent Learning and User Understanding](https://arxiv.org/abs/2309.12482) | [⬇️](https://arxiv.org/pdf/2309.12482)
96
+ *Devleena Das, Sonia Chernova, Been Kim*
97
+ """,
98
+ "right": """
99
+ ### 17 May 2023 | [LeTI: Learning to Generate from Textual Interactions](https://arxiv.org/abs/2305.10314) | [⬇️](https://arxiv.org/pdf/2305.10314)
100
+ *Xingyao Wang, Hao Peng, Reyhaneh Jabbarvand, Heng Ji*
101
+
102
+ ### 01 Dec 2022 | [A General Purpose Supervisory Signal for Embodied Agents](https://arxiv.org/abs/2212.01186) | [⬇️](https://arxiv.org/pdf/2212.01186)
103
+ *Kunal Pratap Singh, Jordi Salvador, Luca Weihs, Aniruddha Kembhavi*
104
+ """
105
+ },
106
+ {
107
+ "left": """
108
+ ### 16 May 2023 | [RAMario: Experimental Approach to Reptile Algorithm -- Reinforcement Learning for Mario](https://arxiv.org/abs/2305.09655) | [⬇️](https://arxiv.org/pdf/2305.09655)
109
+ *Sanyam Jain*
110
+
111
+ ### 31 Mar 2023 | [Pair Programming with Large Language Models for Sampling and Estimation of Copulas](https://arxiv.org/abs/2303.18116) | [⬇️](https://arxiv.org/pdf/2303.18116)
112
+ *Jan Górecki*
113
+ """,
114
+ "right": """
115
+ ### 28 Jun 2023 | [AssistGPT: A General Multi-modal Assistant that can Plan, Execute, Inspect, and Learn](https://arxiv.org/abs/2306.08640) | [⬇️](https://arxiv.org/pdf/2306.08640)
116
+ *Difei Gao, Lei Ji, Luowei Zhou, Kevin Qinghong Lin, Joya Chen, Zihan Fan, Mike Zheng Shou*
117
+
118
+ ### 07 Nov 2023 | [Selective Visual Representations Improve Convergence and Generalization for Embodied AI](https://arxiv.org/abs/2311.04193) | [⬇️](https://arxiv.org/pdf/2311.04193)
119
+ *Ainaz Eftekhar, Kuo-Hao Zeng, Jiafei Duan, Ali Farhadi, Ani Kembhavi, Ranjay Krishna*
120
+ """
121
+ },
122
+ {
123
+ "left": """
124
+ ### 16 Feb 2023 | [Foundation Models for Natural Language Processing -- Pre-trained Language Models Integrating Media](https://arxiv.org/abs/2302.08575) | [⬇️](https://arxiv.org/pdf/2302.08575)
125
+ *Gerhard Paaß and Sven Giesselbach*
126
+
127
+ ### 21 Dec 2023 | [Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validation](https://arxiv.org/abs/2310.03780) | [⬇️](https://arxiv.org/pdf/2310.03780)
128
+ *Tung Phung, Victor-Alexandru Pădurean, Anjali Singh, Christopher Brooks, José Cambronero, Sumit Gulwani, Adish Singla, Gustavo Soares*
129
+ """,
130
+ "right": """
131
+ ### 04 Feb 2024 | [STEVE-1: A Generative Model for Text-to-Behavior in Minecraft](https://arxiv.org/abs/2306.00937) | [⬇️](https://arxiv.org/pdf/2306.00937)
132
+ *Shalev Lifshitz, Keiran Paster, Harris Chan, Jimmy Ba, Sheila McIlraith*
133
+
134
+ ### 20 May 2021 | [Data-Efficient Reinforcement Learning with Self-Predictive Representations](https://arxiv.org/abs/2007.05929) | [⬇️](https://arxiv.org/pdf/2007.05929)
135
+ *Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, Philip Bachman*
136
+ """
137
+ }
138
+ ]
139
+
140
+ num_slides = len(slides)
141
+ current_slide = slides[st.session_state.slide_idx]
142
+
143
+ # Display slide header (e.g., "Slide 1 of 10")
144
+ st.markdown(f"## Slide {st.session_state.slide_idx + 1} of {num_slides}")
145
+
146
+ # Display left and right pages side by side
147
+ col_left, col_right = st.columns(2)
148
+ with col_left:
149
+ st.markdown("### Left Page")
150
+ st.markdown(current_slide["left"], unsafe_allow_html=True)
151
+ with col_right:
152
+ st.markdown("### Right Page")
153
+ st.markdown(current_slide["right"], unsafe_allow_html=True)
154
+
155
+ # Countdown timer (15 seconds) for auto-advancement
156
+ for remaining in range(15, 0, -1):
157
+ st.markdown(f"**Advancing in {remaining} seconds...**")
158
+ time.sleep(1)
159
+
160
+ # Advance to the next slide (wrap around at the end)
161
+ st.session_state.slide_idx = (st.session_state.slide_idx + 1) % num_slides
162
+
163
+ # Rerun the app to display the next slide
164
+ st.rerun()