Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1574.html208 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> jb holmes from the united states and henrik stenson from sweden tied for third place with + 1 to par</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2008 pga championship</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'country' is 'united states' or 'sweden'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>place</td>34<td>player</td>35<td>country</td>36<td>score</td>37<td>to_par</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ben curtis</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">united states</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">73 + 67 + 68 = 208</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 2</span></td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t2</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">j b holmes</span></td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">united states</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">71 + 68 + 70 = 209</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 1</span></td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t2</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">henrik stenson</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sweden</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">71 + 70 + 68 = 209</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 1</span></td>59</tr>60<tr>61<td>t4</td>62<td>sergio garcía</td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">spain</span></td>64<td>69 + 73 + 69 = 211</td>65<td>+ 1</td>66</tr>67<tr>68<td>t4</td>69<td>pádraig harrington</td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ireland</span></td>71<td>71 + 74 + 66 = 211</td>72<td>+ 1</td>73</tr>74<tr>75<td>t4</td>76<td>charlie wi</td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south korea</span></td>78<td>70 + 70 + 71 = 211</td>79<td>+ 1</td>80</tr>81<tr>82<td>t7</td>83<td>andrés romero</td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">argentina</span></td>85<td>69 + 78 + 65 = 212</td>86<td>+ 2</td>87</tr>88<tr>89<td>t7</td>90<td>jeev milkha singh</td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">india</span></td>92<td>68 + 74 + 70 = 212</td>93<td>+ 2</td>94</tr>95<tr>96<td>t9</td>97<td>aaron baddeley</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">australia</span></td>99<td>71 + 71 + 71 = 213</td>100<td>+ 3</td>101</tr>102<tr>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t9</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steve flesch</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">united states</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">73 + 70 + 70 = 213</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">+ 3</span></td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t9</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">david toms</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">united states</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">72 + 69 + 72 = 213</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">+ 3</span></td>115</tr>116<tr>117<td>t9</td>118<td>camilo villegas</td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">colombia</span></td>120<td>74 + 72 = 67 = 213</td>121<td>+ 3</td>122</tr>123</table>124</div>125<hr>126<div class="step">127<div class="step-title">Step 2: Select rows where 'to_par' is '+ 1'.</div>128<div id="step-0" class="content">129<table>130<tr>131<td>place</td>132<td>player</td>133<td>country</td>134<td>score</td>135<td>to_par</td>136</tr>137<tr>138<td>1</td>139<td>ben curtis</td>140<td>united states</td>141<td>73 + 67 + 68 = 208</td>142<td>- 2</td>143</tr>144<tr>145<td>t2</td>146<td>j b holmes</td>147<td>united states</td>148<td>71 + 68 + 70 = 209</td>149<td>- 1</td>150</tr>151<tr>152<td>t2</td>153<td>henrik stenson</td>154<td>sweden</td>155<td>71 + 70 + 68 = 209</td>156<td>- 1</td>157</tr>158<tr>159<td>t9</td>160<td>steve flesch</td>161<td>united states</td>162<td>73 + 70 + 70 = 213</td>163<td>+ 3</td>164</tr>165<tr>166<td>t9</td>167<td>david toms</td>168<td>united states</td>169<td>72 + 69 + 72 = 213</td>170<td>+ 3</td>171</tr>172</table>173</div>174</div>175<hr>176<div class="step">177<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>178<div id="step-1" class="content">179<table>180<tr>181<td>place</td>182<td>player</td>183<td>country</td>184<td>score</td>185<td>to_par</td>186</tr>187</table>188</div>189</div>190<hr>191<div class="step">192<div class="step-title">Final output table:</div>193<div id="step-2" class="content">194<table>195<tr>196<td>verification_result</td>197</tr>198<tr>199<td>FALSE</td>200</tr>201</table>202</div>203</div>204<hr>205<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>206<h3>Ground-truth:</span> FALSE</h3></div>207</body></html>208