Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| import time | |
| # Initialize slide index in session state if not already set | |
| if "slide_idx" not in st.session_state: | |
| st.session_state.slide_idx = 0 | |
| # Define a list of 10 slides (each with left and right pages), built from 40 paper entries. | |
| slides = [ | |
| { | |
| "left": """ | |
| ### 07 Sep 2023 | [Structured Chain-of-Thought Prompting for Code Generation](https://arxiv.org/abs/2305.06599) | [⬇️](https://arxiv.org/pdf/2305.06599) | |
| *Jia Li, Ge Li, Yongmin Li, Zhi Jin* | |
| ### 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) | |
| *Yongqi Tong, Yifan Wang, Dawei Li, Sizhe Wang, Zi Lin, Simeng Han, Jingbo Shang* | |
| """, | |
| "right": """ | |
| ### 04 Jun 2023 | [Evaluating and Improving Tool-Augmented Computation-Intensive Math Reasoning](https://arxiv.org/abs/2306.02408) | [⬇️](https://arxiv.org/pdf/2306.02408) | |
| *Beichen Zhang, Kun Zhou, Xilin Wei, Wayne Xin Zhao, Jing Sha, Shijin Wang, Ji-Rong Wen* | |
| ### 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) | |
| *Wenhu Chen, Xueguang Ma, Xinyi Wang, William W. Cohen* | |
| """ | |
| }, | |
| { | |
| "left": """ | |
| ### 04 Jan 2024 | [Text2MDT: Extracting Medical Decision Trees from Medical Texts](https://arxiv.org/abs/2401.02034) | [⬇️](https://arxiv.org/pdf/2401.02034) | |
| *Wei Zhu, Wenfeng Li, Xing Tian, Pengfei Wang, Xiaoling Wang, Jin Chen, Yuanbin Wu, Yuan Ni, Guotong Xie* | |
| ### 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) | |
| *Tung Phung, Victor-Alexandru Pădurean, Anjali Singh, Christopher Brooks, José Cambronero, Sumit Gulwani, Adish Singla, Gustavo Soares* | |
| """, | |
| "right": """ | |
| ### 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) | |
| *Shalev Lifshitz, Keiran Paster, Harris Chan, Jimmy Ba, Sheila McIlraith* | |
| ### 20 May 2021 | [Data-Efficient Reinforcement Learning with Self-Predictive Representations](https://arxiv.org/abs/2007.05929) | [⬇️](https://arxiv.org/pdf/2007.05929) | |
| *Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, Philip Bachman* | |
| """ | |
| }, | |
| { | |
| "left": """ | |
| ### 06 Jul 2022 | [Learning Invariant World State Representations with Predictive Coding](https://arxiv.org/abs/2207.02972) | [⬇️](https://arxiv.org/pdf/2207.02972) | |
| *Avi Ziskind, Sujeong Kim, and Giedrius T. Burachas* | |
| ### 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) | |
| *Devleena Das, Sonia Chernova, Been Kim* | |
| """, | |
| "right": """ | |
| ### 17 May 2023 | [LeTI: Learning to Generate from Textual Interactions](https://arxiv.org/abs/2305.10314) | [⬇️](https://arxiv.org/pdf/2305.10314) | |
| *Xingyao Wang, Hao Peng, Reyhaneh Jabbarvand, Heng Ji* | |
| ### 01 Dec 2022 | [A General Purpose Supervisory Signal for Embodied Agents](https://arxiv.org/abs/2212.01186) | [⬇️](https://arxiv.org/pdf/2212.01186) | |
| *Kunal Pratap Singh, Jordi Salvador, Luca Weihs, Aniruddha Kembhavi* | |
| """ | |
| }, | |
| { | |
| "left": """ | |
| ### 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) | |
| *Sanyam Jain* | |
| ### 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) | |
| *Jan Górecki* | |
| """, | |
| "right": """ | |
| ### 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) | |
| *Difei Gao, Lei Ji, Luowei Zhou, Kevin Qinghong Lin, Joya Chen, Zihan Fan, Mike Zheng Shou* | |
| ### 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) | |
| *Ainaz Eftekhar, Kuo-Hao Zeng, Jiafei Duan, Ali Farhadi, Ani Kembhavi, Ranjay Krishna* | |
| """ | |
| }, | |
| { | |
| "left": """ | |
| ### 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) | |
| *Gerhard Paaß and Sven Giesselbach* | |
| ### 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) | |
| *Tung Phung, Victor-Alexandru Pădurean, Anjali Singh, Christopher Brooks, José Cambronero, Sumit Gulwani, Adish Singla, Gustavo Soares* | |
| """, | |
| "right": """ | |
| ### 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) | |
| *Shalev Lifshitz, Keiran Paster, Harris Chan, Jimmy Ba, Sheila McIlraith* | |
| ### 20 May 2021 | [Data-Efficient Reinforcement Learning with Self-Predictive Representations](https://arxiv.org/abs/2007.05929) | [⬇️](https://arxiv.org/pdf/2007.05929) | |
| *Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, Philip Bachman* | |
| """ | |
| }, | |
| { | |
| "left": """ | |
| ### 06 Jul 2022 | [Learning Invariant World State Representations with Predictive Coding](https://arxiv.org/abs/2207.02972) | [⬇️](https://arxiv.org/pdf/2207.02972) | |
| *Avi Ziskind, Sujeong Kim, and Giedrius T. Burachas* | |
| ### 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) | |
| *Devleena Das, Sonia Chernova, Been Kim* | |
| """, | |
| "right": """ | |
| ### 17 May 2023 | [LeTI: Learning to Generate from Textual Interactions](https://arxiv.org/abs/2305.10314) | [⬇️](https://arxiv.org/pdf/2305.10314) | |
| *Xingyao Wang, Hao Peng, Reyhaneh Jabbarvand, Heng Ji* | |
| ### 01 Dec 2022 | [A General Purpose Supervisory Signal for Embodied Agents](https://arxiv.org/abs/2212.01186) | [⬇️](https://arxiv.org/pdf/2212.01186) | |
| *Kunal Pratap Singh, Jordi Salvador, Luca Weihs, Aniruddha Kembhavi* | |
| """ | |
| }, | |
| { | |
| "left": """ | |
| ### 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) | |
| *Sanyam Jain* | |
| ### 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) | |
| *Jan Górecki* | |
| """, | |
| "right": """ | |
| ### 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) | |
| *Difei Gao, Lei Ji, Luowei Zhou, Kevin Qinghong Lin, Joya Chen, Zihan Fan, Mike Zheng Shou* | |
| ### 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) | |
| *Ainaz Eftekhar, Kuo-Hao Zeng, Jiafei Duan, Ali Farhadi, Ani Kembhavi, Ranjay Krishna* | |
| """ | |
| }, | |
| { | |
| "left": """ | |
| ### 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) | |
| *Gerhard Paaß and Sven Giesselbach* | |
| ### 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) | |
| *Tung Phung, Victor-Alexandru Pădurean, Anjali Singh, Christopher Brooks, José Cambronero, Sumit Gulwani, Adish Singla, Gustavo Soares* | |
| """, | |
| "right": """ | |
| ### 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) | |
| *Shalev Lifshitz, Keiran Paster, Harris Chan, Jimmy Ba, Sheila McIlraith* | |
| ### 20 May 2021 | [Data-Efficient Reinforcement Learning with Self-Predictive Representations](https://arxiv.org/abs/2007.05929) | [⬇️](https://arxiv.org/pdf/2007.05929) | |
| *Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, Philip Bachman* | |
| """ | |
| } | |
| ] | |
| num_slides = len(slides) | |
| current_slide = slides[st.session_state.slide_idx] | |
| # Display slide header (e.g., "Slide 1 of 10") | |
| st.markdown(f"## Slide {st.session_state.slide_idx + 1} of {num_slides}") | |
| # Display left and right pages side by side | |
| col_left, col_right = st.columns(2) | |
| with col_left: | |
| st.markdown("### Left Page") | |
| st.markdown(current_slide["left"], unsafe_allow_html=True) | |
| with col_right: | |
| st.markdown("### Right Page") | |
| st.markdown(current_slide["right"], unsafe_allow_html=True) | |
| # Countdown timer (15 seconds) for auto-advancement | |
| for remaining in range(15, 0, -1): | |
| st.markdown(f"**Advancing in {remaining} seconds...**") | |
| time.sleep(1) | |
| # Advance to the next slide (wrap around at the end) | |
| st.session_state.slide_idx = (st.session_state.slide_idx + 1) % num_slides | |
| # Rerun the app to display the next slide | |
| st.rerun() | |