Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1971.html229 linesDownload Raw Back to TN
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> the name of the visitor in vancouver on february 24 , is winnipeg</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 1992 - 93 vancouver canucks season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'date' is '9999-02-24'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>date</td>34<td>visitor</td>35<td>score</td>36<td>home</td>37<td>decision</td>38<td>attendance</td>39<td>record</td>40</tr>41<tr>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">01-02-9999</span></td>43<td>minnesota</td>44<td>5 - 4</td>45<td>vancouver</td>46<td>mclean</td>47<td>14830</td>48<td>29 - 15 - 8</td>49</tr>50<tr>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-03</span></td>52<td>tampa bay</td>53<td>2 - 4</td>54<td>vancouver</td>55<td>whitmore</td>56<td>14171</td>57<td>30 - 15 - 8</td>58</tr>59<tr>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-09</span></td>61<td>vancouver</td>62<td>5 - 1</td>63<td>quebec</td>64<td>mclean</td>65<td>14360</td>66<td>31 - 15 - 8</td>67</tr>68<tr>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">01-02-11</span></td>70<td>vancouver</td>71<td>2 - 5</td>72<td>toronto</td>73<td>mclean</td>74<td>15720</td>75<td>31 - 16 - 8</td>76</tr>77<tr>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">01-02-12</span></td>79<td>vancouver</td>80<td>3 - 1</td>81<td>buffalo</td>82<td>whitmore</td>83<td>16325</td>84<td>32 - 16 - 8</td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">01-02-15</span></td>88<td>vancouver</td>89<td>0 - 3</td>90<td>los angeles</td>91<td>mclean</td>92<td>16005</td>93<td>32 - 17 - 8</td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-18</span></td>97<td>philadelphia</td>98<td>3 - 2</td>99<td>vancouver</td>100<td>whitmore</td>101<td>16150</td>102<td>32 - 18 - 8</td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-20</span></td>106<td>winnipeg</td>107<td>2 - 4</td>108<td>vancouver</td>109<td>mclean</td>110<td>16150</td>111<td>33 - 18 - 8</td>112</tr>113<tr>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-22</span></td>115<td>toronto</td>116<td>8 - 1</td>117<td>vancouver</td>118<td>mclean</td>119<td>16150</td>120<td>33 - 19 - 8</td>121</tr>122<tr>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-02-24</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ny rangers</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 - 5</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vancouver</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">whitmore</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16150</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">34 - 19 - 8</span></td>130</tr>131<tr>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-26</span></td>133<td>vancouver</td>134<td>7 - 4</td>135<td>winnipeg</td>136<td>mclean</td>137<td>15398</td>138<td>35 - 19 - 8</td>139</tr>140</table>141</div>142<hr>143<div class="step">144<div class="step-title">Step 2: Select rows where 'home' is 'vancouver'.</div>145<div id="step-0" class="content">146<table>147<tr>148<td>date</td>149<td>visitor</td>150<td>score</td>151<td>home</td>152<td>decision</td>153<td>attendance</td>154<td>record</td>155</tr>156<tr>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-24</span></td>158<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ny rangers</span></td>159<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 - 5</span></td>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">vancouver</span></td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">whitmore</span></td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16150</span></td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">34 - 19 - 8</span></td>164</tr>165</table>166</div>167</div>168<hr>169<div class="step">170<div class="step-title">Step 3: Select rows where 'visitor' is 'winnipeg'.</div>171<div id="step-1" class="content">172<table>173<tr>174<td>date</td>175<td>visitor</td>176<td>score</td>177<td>home</td>178<td>decision</td>179<td>attendance</td>180<td>record</td>181</tr>182<tr>183<td>9999-02-24</td>184<td>ny rangers</td>185<td>4 - 5</td>186<td>vancouver</td>187<td>whitmore</td>188<td>16150</td>189<td>34 - 19 - 8</td>190</tr>191</table>192</div>193</div>194<hr>195<div class="step">196<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>197<div id="step-2" class="content">198<table>199<tr>200<td>date</td>201<td>visitor</td>202<td>score</td>203<td>home</td>204<td>decision</td>205<td>attendance</td>206<td>record</td>207</tr>208</table>209</div>210</div>211<hr>212<div class="step">213<div class="step-title">Final output table:</div>214<div id="step-3" class="content">215<table>216<tr>217<td>verification_result</td>218</tr>219<tr>220<td>FALSE</td>221</tr>222</table>223</div>224</div>225<hr>226<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>227<h3>Ground-truth:</span> FALSE</h3></div>228</body></html>229