luulinh90s commited on
Commit
215a612
·
1 Parent(s): 72d281f
templates/attribution.html CHANGED
@@ -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 guess model prediction. Your task will be to look at the provided explanations and guess what the model says on the Statement (SUPPORTED or NOT SUPPORTED).
163
  </p>
164
  <button onclick="location.href='{{ url_for('index') }}'">Proceed to Experiment</button>
165
  </div>
 
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 guess model prediction (TRUE or FALSE), regardless of groundtruth.
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"><h1>Model predicts: Supported</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: Not supported</h1></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 will predict: TRUE</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 will predict: FALSE</h1></button>
137
  </form>
138
  </div>
139
  </div>
templates/introduction.html CHANGED
@@ -65,7 +65,7 @@
65
  </div>
66
 
67
  <div class="sample-container">
68
- <h2>Verify if the following Statement is SUPPORTED or NOT SUPPORTED</h2>
69
  <iframe srcdoc="
70
  <html><head>
71
  <style>
@@ -194,14 +194,14 @@
194
  </tr>
195
  </table>
196
  </body></html>
197
- <h3>Model thinks this Statement is:</span> SUPPORTED</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 use an explanation to guess what the TableQA model will predict (Supported or Not supported).</p>
205
  </div>
206
 
207
  <div class="button-container">
 
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>
 
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 use an explanation to guess what the TableQA model will predict (TRUE or FALSE), regardless of the groundtruth. For example, if the model predicts TRUE but the Statement is FALSE, you should guess TRUE. The task is called Model Simulation.</p>
205
  </div>
206
 
207
  <div class="button-container">
templates/text2sql_intro.html CHANGED
@@ -116,21 +116,11 @@ WHERE opponents = 0;
116
  <li>If the count is exactly 4, it returns 'TRUE', otherwise 'FALSE'.</li>
117
  </ol>
118
  </div>
119
- <!-- <div class="step">-->
120
- <!-- <div class="step-title">Explanation</div>-->
121
- <!-- <p>The SQL command serves as an explanation by showing:</p>-->
122
- <!-- <ul>-->
123
- <!-- <li>What data is being queried (the '1947_kentucky_wildcats_football_team' table)</li>-->
124
- <!-- <li>What condition is being checked (opponents = 0)</li>-->
125
- <!-- <li>How many instances should satisfy the condition (COUNT(*) = 4)</li>-->
126
- <!-- <li>What the final output means (TRUE if the condition is met, FALSE otherwise)</li>-->
127
- <!-- </ul>-->
128
- <!-- </div>-->
129
- <h2>Text-to-SQL Example</h2>
130
- <iframe src="{{ url_for('send_examples', filename='htmls_Text2SQL/TP/test-0.html') }}"></iframe>
131
- <p>
132
- In this example, you can see how the SQL command directly addresses the statement by counting the number of games where the opposing team didn't score.
133
- </p>
134
  <button onclick="location.href='{{ url_for('experiment', session_id=session_id) }}'">Proceed to Experiment</button>
135
  </div>
136
  </body>
 
116
  <li>If the count is exactly 4, it returns 'TRUE', otherwise 'FALSE'.</li>
117
  </ol>
118
  </div>
119
+ <!-- <h2>Text-to-SQL Example</h2>-->
120
+ <!-- <iframe src="{{ url_for('send_examples', filename='htmls_Text2SQL/TP/test-0.html') }}"></iframe>-->
121
+ <!-- <p>-->
122
+ <!-- In this example, you can see how the SQL command directly addresses the statement by counting the number of games where the opposing team didn't score.-->
123
+ <!-- </p>-->
 
 
 
 
 
 
 
 
 
 
124
  <button onclick="location.href='{{ url_for('experiment', session_id=session_id) }}'">Proceed to Experiment</button>
125
  </div>
126
  </body>