Update app.py
Browse files
app.py
CHANGED
@@ -163,8 +163,8 @@ with gr.Blocks(theme=gr.themes.Default(), css=css) as demo:
|
|
163 |
We will follow the SelfIE implementation in this space for concreteness. Patchscopes are so general that they encompass many other interpretation techniques too!!!
|
164 |
''', line_breaks=True)
|
165 |
|
166 |
-
|
167 |
-
|
168 |
gr.Markdown(
|
169 |
'''If I give a model a prompt of the form ``User: [X] Assistant: Sure'll I'll repeat your message`` and replace ``[X]`` *during computation* with the hidden state we want to understand,
|
170 |
we hope to get back a summary of the information that exists inside the hidden state, because it is encoded in a latent space the model uses itself!! How cool is that! π―π―π―
|
|
|
163 |
We will follow the SelfIE implementation in this space for concreteness. Patchscopes are so general that they encompass many other interpretation techniques too!!!
|
164 |
''', line_breaks=True)
|
165 |
|
166 |
+
with gr.Accordion(label='πΎ The idea is really simple: models are able to understand their own hidden states by nature! πΎ',
|
167 |
+
elem_classes=['explanation_accordion']):
|
168 |
gr.Markdown(
|
169 |
'''If I give a model a prompt of the form ``User: [X] Assistant: Sure'll I'll repeat your message`` and replace ``[X]`` *during computation* with the hidden state we want to understand,
|
170 |
we hope to get back a summary of the information that exists inside the hidden state, because it is encoded in a latent space the model uses itself!! How cool is that! π―π―π―
|