Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-247.html236 linesDownload Raw Back to FN
1<html><head>2<style>3body { font-family: Arial, sans-serif; margin: 20px; }4h1 { text-align: center; }5.cot-title { color: blue; }6.pos-title { color: green; }7h2 { color: black; text-align: left; }8h3 { color: black; text-align: left; }9h4 { color: darkslategray; }10table { width: 100%; border-collapse: collapse; margin: 20px 0; }11table, th, td { border: 1px solid #ddd; padding: 8px; }12th { background-color: #f2f2f2; }13tr:nth-child(even) { background-color: #f9f9f9; }14.highlight { background-color: #ffffcc; }15.true { color: green; }16.false { color: red; }17.highlighted-cell { background-color: yellow; cursor: pointer; }18.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }19.step { display: block; }20</style>21</head><body>22<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> sweden and canada were the only countries on the table that did not receive a medal in one of the categories</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 1988 winter olympics</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'nation' is 'sweden' or 'canada'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>rank</td>34<td>nation</td>35<td>gold</td>36<td>silver</td>37<td>bronze</td>38<td>total</td>39</tr>40<tr>41<td>1</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">soviet union (urs)</span></td>43<td>11</td>44<td>9</td>45<td>9</td>46<td>29</td>47</tr>48<tr>49<td>2</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">east germany (gdr)</span></td>51<td>9</td>52<td>10</td>53<td>6</td>54<td>25</td>55</tr>56<tr>57<td>3</td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">switzerland (sui)</span></td>59<td>5</td>60<td>5</td>61<td>5</td>62<td>15</td>63</tr>64<tr>65<td>4</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">finland (fin)</span></td>67<td>4</td>68<td>1</td>69<td>2</td>70<td>7</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sweden (swe)</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td>79</tr>80<tr>81<td>6</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">austria (aut)</span></td>83<td>3</td>84<td>5</td>85<td>2</td>86<td>10</td>87</tr>88<tr>89<td>7</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">netherlands (ned)</span></td>91<td>3</td>92<td>2</td>93<td>2</td>94<td>7</td>95</tr>96<tr>97<td>8</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">west germany (frg)</span></td>99<td>2</td>100<td>4</td>101<td>2</td>102<td>8</td>103</tr>104<tr>105<td>9</td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states (usa)</span></td>107<td>2</td>108<td>1</td>109<td>3</td>110<td>6</td>111</tr>112<tr>113<td>10</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">italy (ita)</span></td>115<td>2</td>116<td>1</td>117<td>2</td>118<td>5</td>119</tr>120<tr>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">canada (can)</span></td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td>127</tr>128</table>129</div>130<hr>131<div class="step">132<div class="step-title">Step 2: Select rows where 'gold' is 0.</div>133<div id="step-0" class="content">134<table>135<tr>136<td>rank</td>137<td>nation</td>138<td>gold</td>139<td>silver</td>140<td>bronze</td>141<td>total</td>142</tr>143<tr>144<td>5</td>145<td>sweden (swe)</td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>147<td>0</td>148<td>2</td>149<td>6</td>150</tr>151<tr>152<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">canada (can)</span></td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0</span></td>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td>158</tr>159</table>160</div>161</div>162<hr>163<div class="step">164<div class="step-title">Step 3: Select rows where 'silver' is 0.</div>165<div id="step-1" class="content">166<table>167<tr>168<td>rank</td>169<td>nation</td>170<td>gold</td>171<td>silver</td>172<td>bronze</td>173<td>total</td>174</tr>175<tr>176<td>13</td>177<td>canada (can)</td>178<td>0</td>179<td>2</td>180<td>3</td>181<td>5</td>182</tr>183</table>184</div>185</div>186<hr>187<div class="step">188<div class="step-title">Step 4: Select rows where 'bronze' is 0.</div>189<div id="step-2" class="content">190<table>191<tr>192<td>rank</td>193<td>nation</td>194<td>gold</td>195<td>silver</td>196<td>bronze</td>197<td>total</td>198</tr>199</table>200</div>201</div>202<hr>203<div class="step">204<div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>205<div id="step-3" class="content">206<table>207<tr>208<td>rank</td>209<td>nation</td>210<td>gold</td>211<td>silver</td>212<td>bronze</td>213<td>total</td>214</tr>215</table>216</div>217</div>218<hr>219<div class="step">220<div class="step-title">Final output table:</div>221<div id="step-4" class="content">222<table>223<tr>224<td>verification_result</td>225</tr>226<tr>227<td>FALSE</td>228</tr>229</table>230</div>231</div>232<hr>233<div class="step"><h3><span class="false">Prediction: FALSE </span></h3>234<h3>Ground-truth:</span> TRUE</h3></div>235</body></html>236