Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-689.html180 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> tiger woods scores a 211 placing 5th</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2002 u.s. open (golf)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'player' is 'tiger woods'.</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:#90EE90;">tiger woods</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">67 + 68 + 70 = 205</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 5</span></td>45</tr>46<tr>47<td>2</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sergio garcía</span></td>49<td>spain</td>50<td>68 + 74 + 67 = 209</td>51<td>- 1</td>52</tr>53<tr>54<td>t3</td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeff maggert</span></td>56<td>united states</td>57<td>69 + 73 + 68 = 210</td>58<td>e</td>59</tr>60<tr>61<td>t3</td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">phil mickelson</span></td>63<td>united states</td>64<td>70 + 73 + 67 = 210</td>65<td>e</td>66</tr>67<tr>68<td>t5</td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">robert allenby</span></td>70<td>australia</td>71<td>74 + 70 + 67 = 211</td>72<td>+ 1</td>73</tr>74<tr>75<td>t5</td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pádraig harrington</span></td>77<td>ireland</td>78<td>70 + 68 + 73 = 211</td>79<td>+ 1</td>80</tr>81<tr>82<td>t5</td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">billy mayfair</span></td>84<td>united states</td>85<td>69 + 74 + 68 = 211</td>86<td>+ 1</td>87</tr>88<tr>89<td>t8</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nick faldo</span></td>91<td>england</td>92<td>70 + 76 + 66 = 212</td>93<td>+ 2</td>94</tr>95<tr>96<td>t8</td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">justin leonard</span></td>98<td>united states</td>99<td>73 + 71 + 68 = 212</td>100<td>+ 2</td>101</tr>102<tr>103<td>t10</td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tom byrum</span></td>105<td>united states</td>106<td>72 + 72 + 70 = 214</td>107<td>+ 4</td>108</tr>109<tr>110<td>t10</td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">davis love iii</span></td>112<td>united states</td>113<td>71 + 71 + 72 = 214</td>114<td>+ 4</td>115</tr>116<tr>117<td>t10</td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">scott mccarron</span></td>119<td>united states</td>120<td>72 + 72 + 70 = 214</td>121<td>+ 4</td>122</tr>123</table>124</div>125<hr>126<div class="step">127<div class="step-title">Step 2: Select rows where 'score' is 211.</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>tiger woods</td>140<td>united states</td>141<td>67 + 68 + 70 = 205</td>142<td>- 5</td>143</tr>144</table>145</div>146</div>147<hr>148<div class="step">149<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>150<div id="step-1" class="content">151<table>152<tr>153<td>place</td>154<td>player</td>155<td>country</td>156<td>score</td>157<td>to_par</td>158</tr>159</table>160</div>161</div>162<hr>163<div class="step">164<div class="step-title">Final output table:</div>165<div id="step-2" class="content">166<table>167<tr>168<td>verification_result</td>169</tr>170<tr>171<td>FALSE</td>172</tr>173</table>174</div>175</div>176<hr>177<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>178<h3>Ground-truth:</span> FALSE</h3></div>179</body></html>180