Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +22 -6
src/streamlit_app.py
CHANGED
|
@@ -387,8 +387,9 @@ def main():
|
|
| 387 |
st.set_page_config(page_title="Jacobian Scopes Demo", page_icon="🔍", layout="centered")
|
| 388 |
st.title("🔍 Jacobian Scopes Demo")
|
| 389 |
st.markdown(
|
| 390 |
-
|
| 391 |
-
'
|
|
|
|
| 392 |
unsafe_allow_html=True,
|
| 393 |
)
|
| 394 |
# Keep scope columns on one line (Streamlit stacks them below ~640px by default)
|
|
@@ -613,10 +614,25 @@ def main():
|
|
| 613 |
plt.close(fig_pred)
|
| 614 |
|
| 615 |
st.divider()
|
| 616 |
-
st.
|
| 617 |
-
"© 2026 Toni Jianbang Liu.
|
| 618 |
-
"
|
| 619 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 620 |
|
| 621 |
|
| 622 |
if __name__ == "__main__":
|
|
|
|
| 387 |
st.set_page_config(page_title="Jacobian Scopes Demo", page_icon="🔍", layout="centered")
|
| 388 |
st.title("🔍 Jacobian Scopes Demo")
|
| 389 |
st.markdown(
|
| 390 |
+
'Interactive demonstrations for <a href="https://arxiv.org/abs/2601.16407"><b>Jacobian Scopes: token-level causal attributions in LLMs</b></a>. <br>'
|
| 391 |
+
'Github Repo: <a href="https://github.com/AntonioLiu97/JacobianScopes">https://github.com/AntonioLiu97/JacobianScopes</a>',
|
| 392 |
+
|
| 393 |
unsafe_allow_html=True,
|
| 394 |
)
|
| 395 |
# Keep scope columns on one line (Streamlit stacks them below ~640px by default)
|
|
|
|
| 614 |
plt.close(fig_pred)
|
| 615 |
|
| 616 |
st.divider()
|
| 617 |
+
with st.expander("Citation Information", expanded=True):
|
| 618 |
+
st.markdown("**Jacobian Scopes Demo © 2026 Toni Jianbang Liu.**")
|
| 619 |
+
st.markdown("If you use this demo in your work, please cite:")
|
| 620 |
+
st.markdown(
|
| 621 |
+
"Liu, T. J., Zadeoğlu, B., Boullé, N., Sarfati, R., & Earls, C. J. (2026). "
|
| 622 |
+
"*Jacobian Scopes: token-level causal attributions in LLMs.* arXiv preprint arXiv:2601.16407."
|
| 623 |
+
)
|
| 624 |
+
st.markdown("**BibTeX:**")
|
| 625 |
+
st.code(
|
| 626 |
+
"""@misc{liu2026jacobianscopestokenlevelcausal,
|
| 627 |
+
title={Jacobian Scopes: token-level causal attributions in LLMs},
|
| 628 |
+
author={Toni J. B. Liu and Baran Zadeoğlu and Nicolas Boullé and Raphaël Sarfati and Christopher J. Earls},
|
| 629 |
+
year={2026},
|
| 630 |
+
eprint={2601.16407},
|
| 631 |
+
archivePrefix={arXiv},
|
| 632 |
+
primaryClass={cs.CL},
|
| 633 |
+
url={https://arxiv.org/abs/2601.16407}, }""",
|
| 634 |
+
language=None,
|
| 635 |
+
)
|
| 636 |
|
| 637 |
|
| 638 |
if __name__ == "__main__":
|