Spaces:
Running
Running
Standard -> Basic
Browse files
app.py
CHANGED
|
@@ -90,11 +90,11 @@ if not compact_layout:
|
|
| 90 |
)
|
| 91 |
|
| 92 |
generation_mode = st.radio(
|
| 93 |
-
"Mode", ["
|
| 94 |
horizontal=True, label_visibility="collapsed"
|
| 95 |
) == "Generation mode"
|
| 96 |
st.caption(
|
| 97 |
-
"In
|
| 98 |
"In generation mode, we generate a continuation of the input text (prompt) "
|
| 99 |
"and visualize the contributions of different contexts to each generated token."
|
| 100 |
)
|
|
|
|
| 90 |
)
|
| 91 |
|
| 92 |
generation_mode = st.radio(
|
| 93 |
+
"Mode", ["Basic mode", "Generation mode"],
|
| 94 |
horizontal=True, label_visibility="collapsed"
|
| 95 |
) == "Generation mode"
|
| 96 |
st.caption(
|
| 97 |
+
"In basic mode, we analyze the model's one-step-ahead predictions on the input text. "
|
| 98 |
"In generation mode, we generate a continuation of the input text (prompt) "
|
| 99 |
"and visualize the contributions of different contexts to each generated token."
|
| 100 |
)
|