luulinh90s commited on
Commit
4ef1c1d
1 Parent(s): f4ba3a7
templates/attribution.html CHANGED
@@ -81,7 +81,7 @@
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>
@@ -149,7 +149,7 @@
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:
@@ -159,7 +159,7 @@
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>
164
  <button onclick="location.href='{{ url_for('index') }}'">Proceed to Experiment</button>
165
  </div>
 
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>Table caption: 1947 Kentucky Wildcats Football Team</h2>
85
  <p>
86
  Statement to verify: "The Wildcats kept the opposing team scoreless in 4 games."
87
  </p>
 
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 CORRECT. 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:
 
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 (CORRECT or WRONG).
163
  </p>
164
  <button onclick="location.href='{{ url_for('index') }}'">Proceed to Experiment</button>
165
  </div>
templates/experiment.html CHANGED
@@ -129,11 +129,11 @@
129
  <div class="buttons">
130
  <form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
131
  <input type="hidden" name="session_id" value="{{ session_id }}">
132
- <button type="submit" name="prediction" value="TRUE">Model predicts: Correct</button>
133
  </form>
134
  <form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
135
  <input type="hidden" name="session_id" value="{{ session_id }}">
136
- <button type="submit" name="prediction" value="FALSE">Model predicts: Wrong</button>
137
  </form>
138
  </div>
139
  </div>
 
129
  <div class="buttons">
130
  <form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
131
  <input type="hidden" name="session_id" value="{{ session_id }}">
132
+ <button type="submit" name="prediction" value="TRUE"><h1>Model predicts: Correct</h1></button>
133
  </form>
134
  <form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
135
  <input type="hidden" name="session_id" value="{{ session_id }}">
136
+ <button type="submit" name="prediction" value="FALSE"><h1>Model predicts: Wrong</h1></button>
137
  </form>
138
  </div>
139
  </div>
templates/introduction.html CHANGED
@@ -61,11 +61,11 @@
61
  <div class="container">
62
  <div class="intro">
63
  <h1>Introduction to Table Question Answering</h1>
64
- <p>In this experiment, you will interact with Table Question Answering (TableQA) models. TableQA involves answering questions based on data provided in tables, similar to spreadsheets.</p>
65
  </div>
66
 
67
  <div class="sample-container">
68
- <h2>Verify if the following Statement is TRUE or FALSE</h2>
69
  <iframe srcdoc="
70
  <html><head>
71
  <style>
@@ -90,7 +90,7 @@
90
  </head><body>
91
  <hr>
92
  <h3><span>Statement:</span> the wildcats kept the opposing team scoreless in four games</h3>
93
- <h3>Input Table: 1947 kentucky wildcats football team</h3>
94
  <div class='step'>
95
  <table>
96
  <tr>
@@ -194,14 +194,14 @@
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">
 
61
  <div class="container">
62
  <div class="intro">
63
  <h1>Introduction to Table Question Answering</h1>
64
+ <p>In this experiment, you will interact with Table Question Answering (TableQA) models. TableQA involves answering questions based on data provided in tables.</p>
65
  </div>
66
 
67
  <div class="sample-container">
68
+ <h2>Verify if the following Statement is CORRECT or WRONG</h2>
69
  <iframe srcdoc="
70
  <html><head>
71
  <style>
 
90
  </head><body>
91
  <hr>
92
  <h3><span>Statement:</span> the wildcats kept the opposing team scoreless in four games</h3>
93
+ <h3>Input Table Caption: 1947 kentucky wildcats football team</h3>
94
  <div class='step'>
95
  <table>
96
  <tr>
 
194
  </tr>
195
  </table>
196
  </body></html>
197
+ <h3>Model thinks this Statement is:</span> CORRECT</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 (Correct or Wrong).</p>
205
  </div>
206
 
207
  <div class="button-container">