Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-882.html323 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> se ri pak was the champion in 2001 , then came 2nd place two years after</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: women 's british open</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'champion' is 'se ri pak'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>year</td>34<td>dates</td>35<td>venue</td>36<td>champion</td>37<td>country</td>38<td>score</td>39<td>to_par</td>40<td>margin_of_victory</td>41<td>runner__s____up</td>42<td>purse</td>43<td>winner__s_share</td>44</tr>45<tr>46<td>2013</td>47<td>9999-08-01</td>48<td>old course at st andrews</td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stacy lewis</span></td>50<td>united states</td>51<td>280</td>52<td>- 8</td>53<td>2 strokes</td>54<td>na yeon choi hee young park</td>55<td>2750000</td>56<td>402583</td>57</tr>58<tr>59<td>2012</td>60<td>9999-09-13</td>61<td>royal liverpool golf club</td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jiyai shin</span></td>63<td>south korea</td>64<td>279</td>65<td>- 9</td>66<td>9 strokes</td>67<td>inbee park</td>68<td>2750000</td>69<td>428650</td>70</tr>71<tr>72<td>2011</td>73<td>9999-07-28</td>74<td>carnoustie golf links</td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">yani tseng</span></td>76<td>taiwan</td>77<td>272</td>78<td>- 16</td>79<td>4 strokes</td>80<td>brittany lang</td>81<td>2500000</td>82<td>392133</td>83</tr>84<tr>85<td>2010</td>86<td>9999-07-29 - 9999-08-01</td>87<td>royal birkdale golf club</td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">yani tseng</span></td>89<td>taiwan</td>90<td>277</td>91<td>- 11</td>92<td>1 stroke</td>93<td>katherine hull</td>94<td>2500000</td>95<td>408714</td>96</tr>97<tr>98<td>2009</td>99<td>9999-07-30 - 9999-08-02</td>100<td>royal lytham & st annes golf club</td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">catriona matthew</span></td>102<td>scotland</td>103<td>285</td>104<td>- 3</td>105<td>3 strokes</td>106<td>karrie webb</td>107<td>2200000</td>108<td>335000</td>109</tr>110<tr>111<td>2008</td>112<td>9999-07-31 - 9999-08-03</td>113<td>sunningdale golf club</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jiyai shin</span></td>115<td>south korea</td>116<td>270</td>117<td>- 18</td>118<td>3 strokes</td>119<td>yani tseng</td>120<td>2100000</td>121<td>314464</td>122</tr>123<tr>124<td>2007</td>125<td>9999-08-02</td>126<td>old course at st andrews</td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lorena ochoa</span></td>128<td>mexico</td>129<td>287</td>130<td>- 5</td>131<td>4 strokes</td>132<td>maria hjorth jee young lee</td>133<td>2000000</td>134<td>320512</td>135</tr>136<tr>137<td>2006</td>138<td>9999-08-03</td>139<td>royal lytham & st annes golf club</td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sherri steinhauer</span></td>141<td>united states</td>142<td>281</td>143<td>- 7</td>144<td>3 strokes</td>145<td>sophie gustafson cristie kerr</td>146<td>1800000</td>147<td>305440</td>148</tr>149<tr>150<td>2005</td>151<td>9999-07-28</td>152<td>royal birkdale golf club</td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeong jang</span></td>154<td>south korea</td>155<td>272</td>156<td>- 16</td>157<td>4 strokes</td>158<td>sophie gustafson</td>159<td>1800000</td>160<td>280208</td>161</tr>162<tr>163<td>2004</td>164<td>9999-07-29 - 9999-08-01</td>165<td>sunningdale golf club</td>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">karen stupples</span></td>167<td>england</td>168<td>269</td>169<td>- 19</td>170<td>5 strokes</td>171<td>rachel hetherington</td>172<td>1600000</td>173<td>290880</td>174</tr>175<tr>176<td>2003</td>177<td>9999-07-31 - 9999-08-03</td>178<td>royal lytham & st annes golf club</td>179<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">annika sörenstam</span></td>180<td>sweden</td>181<td>278</td>182<td>- 10</td>183<td>1 stroke</td>184<td>se ri pak</td>185<td>1600000</td>186<td>254880</td>187</tr>188<tr>189<td>2002</td>190<td>9999-08-08</td>191<td>turnberry - ailsa course</td>192<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">karrie webb</span></td>193<td>australia</td>194<td>273</td>195<td>- 15</td>196<td>2 strokes</td>197<td>michelle ellis paula martí</td>198<td>1500000</td>199<td>236383</td>200</tr>201<tr>202<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2001</span></td>203<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-08-02</span></td>204<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sunningdale golf club</span></td>205<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">se ri pak</span></td>206<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south korea</span></td>207<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">277</span></td>208<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 11</span></td>209<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 strokes</span></td>210<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mi hyun kim</span></td>211<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1500000</span></td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">221650</span></td>213</tr>214</table>215</div>216<hr>217<div class="step">218<div class="step-title">Step 2: Select rows where 'year' is 2001.</div>219<div id="step-0" class="content">220<table>221<tr>222<td>year</td>223<td>dates</td>224<td>venue</td>225<td>champion</td>226<td>country</td>227<td>score</td>228<td>to_par</td>229<td>margin_of_victory</td>230<td>runner__s____up</td>231<td>purse</td>232<td>winner__s_share</td>233</tr>234<tr>235<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2001</span></td>236<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-08-02</span></td>237<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sunningdale golf club</span></td>238<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">se ri pak</span></td>239<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south korea</span></td>240<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">277</span></td>241<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 11</span></td>242<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 strokes</span></td>243<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mi hyun kim</span></td>244<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1500000</span></td>245<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">221650</span></td>246</tr>247</table>248</div>249</div>250<hr>251<div class="step">252<div class="step-title">Step 3: Select rows where 'runner__s____up' is '2nd place'.</div>253<div id="step-1" class="content">254<table>255<tr>256<td>year</td>257<td>dates</td>258<td>venue</td>259<td>champion</td>260<td>country</td>261<td>score</td>262<td>to_par</td>263<td>margin_of_victory</td>264<td>runner__s____up</td>265<td>purse</td>266<td>winner__s_share</td>267</tr>268<tr>269<td>2001</td>270<td>9999-08-02</td>271<td>sunningdale golf club</td>272<td>se ri pak</td>273<td>south korea</td>274<td>277</td>275<td>- 11</td>276<td>2 strokes</td>277<td>mi hyun kim</td>278<td>1500000</td>279<td>221650</td>280</tr>281</table>282</div>283</div>284<hr>285<div class="step">286<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>287<div id="step-2" class="content">288<table>289<tr>290<td>year</td>291<td>dates</td>292<td>venue</td>293<td>champion</td>294<td>country</td>295<td>score</td>296<td>to_par</td>297<td>margin_of_victory</td>298<td>runner__s____up</td>299<td>purse</td>300<td>winner__s_share</td>301</tr>302</table>303</div>304</div>305<hr>306<div class="step">307<div class="step-title">Final output table:</div>308<div id="step-3" class="content">309<table>310<tr>311<td>verification_result</td>312</tr>313<tr>314<td>FALSE</td>315</tr>316</table>317</div>318</div>319<hr>320<div class="step"><h3><span class="false">Prediction: FALSE </span></h3>321<h3>Ground-truth:</span> TRUE</h3></div>322</body></html>323