luulinh90s
commited on
Commit
•
19201aa
1
Parent(s):
0c987e6
update
Browse files- templates/attribution.html +6 -9
- templates/index.html +5 -5
- templates/introduction.html +2 -2
templates/attribution.html
CHANGED
@@ -79,11 +79,11 @@
|
|
79 |
<div class="container">
|
80 |
<h1>Understanding Attribution Explanations</h1>
|
81 |
<p>
|
82 |
-
Attribution explanations highlight specific parts of a table—such as rows, columns, or cells—that are most relevant to the answer
|
83 |
</p>
|
84 |
<h2>Example: 1947 Kentucky Wildcats Football Team</h2>
|
85 |
<p>
|
86 |
-
Statement to verify: "The Wildcats kept the opposing team scoreless in
|
87 |
</p>
|
88 |
<table>
|
89 |
<tr>
|
@@ -142,25 +142,22 @@
|
|
142 |
</tr>
|
143 |
</table>
|
144 |
<p>
|
145 |
-
In this example, the TableQA
|
146 |
</p>
|
147 |
<ul style="text-align: left;">
|
148 |
<li>The entire rows for games 2, 4, 5, and 9 are highlighted in yellow.</li>
|
149 |
-
<li>Within these rows, the "Opponents" column cells containing "0" are highlighted in green.</li>
|
150 |
</ul>
|
151 |
<p>
|
152 |
-
These highlights indicate that the system identified four games where the opposing team did not score, verifying the statement as
|
153 |
</p>
|
154 |
<p>
|
155 |
By using different colors for highlighting, the system provides a more nuanced explanation:
|
156 |
</p>
|
157 |
<ul style="text-align: left;">
|
158 |
<li>Yellow highlights (rows): Show the overall context of the relevant games.</li>
|
159 |
-
<li>Green highlights (cells): Pinpoint the exact
|
160 |
</ul>
|
161 |
-
<p>
|
162 |
-
This multi-level highlighting helps users quickly grasp both the broad context and the specific details that support the system's answer.
|
163 |
-
</p>
|
164 |
<p>
|
165 |
During the experiment, you will use explanations to simulate model prediction. Your task will be to look at the provided explanations and simulate the model prediction on the Statement (TRUE or FALSE).
|
166 |
</p>
|
|
|
79 |
<div class="container">
|
80 |
<h1>Understanding Attribution Explanations</h1>
|
81 |
<p>
|
82 |
+
Attribution explanations highlight specific parts of a table—such as rows, columns, or cells—that are most relevant to the answer predicted by a TableQA model. These explanations help you understand which information of the input the system considered important when predicting the answer.
|
83 |
</p>
|
84 |
<h2>Example: 1947 Kentucky Wildcats Football Team</h2>
|
85 |
<p>
|
86 |
+
Statement to verify: "The Wildcats kept the opposing team scoreless in 4 games."
|
87 |
</p>
|
88 |
<table>
|
89 |
<tr>
|
|
|
142 |
</tr>
|
143 |
</table>
|
144 |
<p>
|
145 |
+
In this example, the TableQA model has highlighted specific rows and cells to explain its prediction:
|
146 |
</p>
|
147 |
<ul style="text-align: left;">
|
148 |
<li>The entire rows for games 2, 4, 5, and 9 are highlighted in yellow.</li>
|
149 |
+
<li>Within these rows, the "Opponents" column cells containing "0" or "scoreless" are highlighted in green.</li>
|
150 |
</ul>
|
151 |
<p>
|
152 |
+
These highlights indicate that the system identified four games where the opposing team did not score, verifying the statement as TRUE. The yellow highlighting shows the relevant rows, while the green highlighting represents the cells containing fine-grained information needed to verify the statement.
|
153 |
</p>
|
154 |
<p>
|
155 |
By using different colors for highlighting, the system provides a more nuanced explanation:
|
156 |
</p>
|
157 |
<ul style="text-align: left;">
|
158 |
<li>Yellow highlights (rows): Show the overall context of the relevant games.</li>
|
159 |
+
<li>Green highlights (cells): Pinpoint the exact information (opposing team's score of 0) that directly answer the question.</li>
|
160 |
</ul>
|
|
|
|
|
|
|
161 |
<p>
|
162 |
During the experiment, you will use explanations to simulate model prediction. Your task will be to look at the provided explanations and simulate the model prediction on the Statement (TRUE or FALSE).
|
163 |
</p>
|
templates/index.html
CHANGED
@@ -133,10 +133,10 @@
|
|
133 |
</head>
|
134 |
<body>
|
135 |
<div class="container">
|
136 |
-
<h1>
|
137 |
-
<div class="instruction"
|
138 |
-
Let's get started! Please input your name, enter a random number as your seed, and select one of the explanation methods for your experiment
|
139 |
-
</div
|
140 |
<form id="method-form" action="{{ url_for('index') }}" method="post" onsubmit="return validateForm();">
|
141 |
<label for="username">Hi there 👋👋👋 ! What is your name?</label>
|
142 |
<input type="text" id="username" name="username" required>
|
@@ -160,7 +160,7 @@
|
|
160 |
</div>
|
161 |
</div>
|
162 |
|
163 |
-
<button type="submit">Start
|
164 |
</form>
|
165 |
</div>
|
166 |
</body>
|
|
|
133 |
</head>
|
134 |
<body>
|
135 |
<div class="container">
|
136 |
+
<h1>Let's get started! Please input your name, a random number, and select one of the 4 explanation methods for your experiment.</h1>
|
137 |
+
<!-- <div class="instruction">-->
|
138 |
+
<!-- Let's get started! Please input your name, enter a random number as your seed, and select one of the explanation methods for your experiment.-->
|
139 |
+
<!-- </div>-->
|
140 |
<form id="method-form" action="{{ url_for('index') }}" method="post" onsubmit="return validateForm();">
|
141 |
<label for="username">Hi there 👋👋👋 ! What is your name?</label>
|
142 |
<input type="text" id="username" name="username" required>
|
|
|
160 |
</div>
|
161 |
</div>
|
162 |
|
163 |
+
<button type="submit">Start</button>
|
164 |
</form>
|
165 |
</div>
|
166 |
</body>
|
templates/introduction.html
CHANGED
@@ -194,14 +194,14 @@
|
|
194 |
</tr>
|
195 |
</table>
|
196 |
</body></html>
|
197 |
-
<h3>Model
|
198 |
</body></html>
|
199 |
"></iframe>
|
200 |
</div>
|
201 |
|
202 |
<div class="outro">
|
203 |
<h2>Your Task</h2>
|
204 |
-
<p>Your task in this experiment is to evaluate
|
205 |
</div>
|
206 |
|
207 |
<div class="button-container">
|
|
|
194 |
</tr>
|
195 |
</table>
|
196 |
</body></html>
|
197 |
+
<h3>Model thinks this Statement is:</span> TRUE</h3>
|
198 |
</body></html>
|
199 |
"></iframe>
|
200 |
</div>
|
201 |
|
202 |
<div class="outro">
|
203 |
<h2>Your Task</h2>
|
204 |
+
<p>Your task in this experiment is to evaluate methods that explain how a TableQA works. You will be given an explanation and asked to simulate what the TableQA model will predict (The model will verify as TRUE or FALSE).</p>
|
205 |
</div>
|
206 |
|
207 |
<div class="button-container">
|