Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ with gr.Blocks() as demo:
|
|
95 |
submit = gr.Button("Submit")
|
96 |
box_for_plot = gr.Image(label="Visualization", type="pil")
|
97 |
|
98 |
-
with gr.Accordion("π
|
99 |
gr.Markdown("""
|
100 |
This heatmap shows **how each token is processed** across layers of a language model. Here's how to read it:
|
101 |
|
@@ -115,6 +115,8 @@ This heatmap shows **how each token is processed** across layers of a language m
|
|
115 |
|
116 |
Use this tool to **peek inside the black box** β it reveals which layers matter most, which tokens carry the most memory, and how LLMs evolve their predictions.
|
117 |
|
|
|
|
|
118 |
You can also use `llm-microscope` as a Python library to run these analyses on **your own models and data**.
|
119 |
|
120 |
Just install it with: `pip install llm-microscope`
|
|
|
95 |
submit = gr.Button("Submit")
|
96 |
box_for_plot = gr.Image(label="Visualization", type="pil")
|
97 |
|
98 |
+
with gr.Accordion("π More Info and Explanation", open=False):
|
99 |
gr.Markdown("""
|
100 |
This heatmap shows **how each token is processed** across layers of a language model. Here's how to read it:
|
101 |
|
|
|
115 |
|
116 |
Use this tool to **peek inside the black box** β it reveals which layers matter most, which tokens carry the most memory, and how LLMs evolve their predictions.
|
117 |
|
118 |
+
---
|
119 |
+
|
120 |
You can also use `llm-microscope` as a Python library to run these analyses on **your own models and data**.
|
121 |
|
122 |
Just install it with: `pip install llm-microscope`
|