Spaces:
Runtime error
Runtime error
paul hilders
commited on
Commit
•
fbfde1a
1
Parent(s):
beb163b
Add warning
Browse files
app.py
CHANGED
@@ -66,7 +66,9 @@ description = """A demonstration based on the Generic Attention-model Explainabi
|
|
66 |
This demo shows attributions scores on both the image and the text input when presenting CLIP with a
|
67 |
<text,image> pair. Attributions are computed as Gradient-weighted Attention Rollout (Chefer et al.,
|
68 |
2021), and can be thought of as an estimate of the effective attention CLIP pays to its input when
|
69 |
-
computing a multimodal representation.""
|
|
|
|
|
70 |
|
71 |
iface = gr.Interface(fn=run_demo,
|
72 |
inputs=inputs,
|
|
|
66 |
This demo shows attributions scores on both the image and the text input when presenting CLIP with a
|
67 |
<text,image> pair. Attributions are computed as Gradient-weighted Attention Rollout (Chefer et al.,
|
68 |
2021), and can be thought of as an estimate of the effective attention CLIP pays to its input when
|
69 |
+
computing a multimodal representation. <span style="color:red">Warning:</span> Note that attribution
|
70 |
+
methods such as the one from this demo can only give an estimate of the real underlying behavior
|
71 |
+
of the model."""
|
72 |
|
73 |
iface = gr.Interface(fn=run_demo,
|
74 |
inputs=inputs,
|