Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-102.html204 linesDownload Raw Back to TP
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> t7 is the place of peter oosterhuis , who won 7500</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 1975 u.s. open (golf)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'place' is 't7'.</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<td>money</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t1</span></td>42<td>lou graham</td>43<td>united states</td>44<td>74 + 72 + 68 + 73 = 287</td>45<td>+ 3</td>46<td>playoff</td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t1</span></td>50<td>john mahaffey</td>51<td>united states</td>52<td>73 + 71 + 72 + 71 = 287</td>53<td>+ 3</td>54<td>playoff</td>55</tr>56<tr>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t3</span></td>58<td>frank beard</td>59<td>united states</td>60<td>74 + 69 + 67 + 78 = 288</td>61<td>+ 4</td>62<td>10875</td>63</tr>64<tr>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t3</span></td>66<td>ben crenshaw</td>67<td>united states</td>68<td>70 + 68 + 76 + 74 = 288</td>69<td>+ 4</td>70<td>10875</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t3</span></td>74<td>hale irwin</td>75<td>united states</td>76<td>74 + 71 + 73 + 70 = 288</td>77<td>+ 4</td>78<td>10875</td>79</tr>80<tr>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t3</span></td>82<td>bob murphy</td>83<td>united states</td>84<td>74 + 73 + 72 + 69 = 288</td>85<td>+ 4</td>86<td>10875</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">t7</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jack nicklaus</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">72 + 70 + 75 + 72 = 289</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">+ 5</span></td>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7500</span></td>95</tr>96<tr>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">t7</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">peter oosterhuis</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">england</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">69 + 73 + 72 + 75 = 289</span></td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">+ 5</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7500</span></td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t9</span></td>106<td>pat fitzsimons</td>107<td>united states</td>108<td>67 + 73 + 73 + 77 = 290</td>109<td>+ 6</td>110<td>5000</td>111</tr>112<tr>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t9</span></td>114<td>arnold palmer</td>115<td>united states</td>116<td>69 + 75 + 73 + 73 = 290</td>117<td>+ 6</td>118<td>5000</td>119</tr>120<tr>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t9</span></td>122<td>tom watson</td>123<td>united states</td>124<td>67 + 68 + 78 + 77 = 290</td>125<td>+ 6</td>126<td>5000</td>127</tr>128</table>129</div>130<hr>131<div class="step">132<div class="step-title">Step 2: Select rows where 'player' is 'peter oosterhuis'.</div>133<div id="step-0" class="content">134<table>135<tr>136<td>place</td>137<td>player</td>138<td>country</td>139<td>score</td>140<td>to_par</td>141<td>money</td>142</tr>143<tr>144<td>t7</td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jack nicklaus</span></td>146<td>united states</td>147<td>72 + 70 + 75 + 72 = 289</td>148<td>+ 5</td>149<td>7500</td>150</tr>151<tr>152<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t7</span></td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">peter oosterhuis</span></td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">england</span></td>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">69 + 73 + 72 + 75 = 289</span></td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">+ 5</span></td>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7500</span></td>158</tr>159</table>160</div>161</div>162<hr>163<div class="step">164<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>165<div id="step-1" class="content">166<table>167<tr>168<td>place</td>169<td>player</td>170<td>country</td>171<td>score</td>172<td>to_par</td>173<td>money</td>174</tr>175<tr>176<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">t7</span></td>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">peter oosterhuis</span></td>178<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">england</span></td>179<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">69 + 73 + 72 + 75 = 289</span></td>180<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">+ 5</span></td>181<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">7500</span></td>182</tr>183</table>184</div>185</div>186<hr>187<div class="step">188<div class="step-title">Final output table:</div>189<div id="step-2" class="content">190<table>191<tr>192<td>verification_result</td>193</tr>194<tr>195<td>TRUE</td>196</tr>197</table>198</div>199</div>200<hr>201<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>202<h3>Ground-truth:</span> TRUE</h3></div>203</body></html>204