Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1382.html196 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> ukraine has the most gold medals</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2006 - 07 isu junior grand prix</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'nation' is 'ukraine'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>rank</td>34<td>nation</td>35<td>gold</td>36<td>silver</td>37<td>bronze</td>38<td>total</td>39</tr>40<tr>41<td>1</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>43<td>24</td>44<td>12</td>45<td>8</td>46<td>44</td>47</tr>48<tr>49<td>2</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">russia</span></td>51<td>5</td>52<td>5</td>53<td>6</td>54<td>16</td>55</tr>56<tr>57<td>3</td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">canada</span></td>59<td>1</td>60<td>2</td>61<td>7</td>62<td>10</td>63</tr>64<tr>65<td>4</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">japan</span></td>67<td>1</td>68<td>4</td>69<td>3</td>70<td>8</td>71</tr>72<tr>73<td>5</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">estonia</span></td>75<td>1</td>76<td>2</td>77<td>1</td>78<td>4</td>79</tr>80<tr>81<td>5</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">italy</span></td>83<td>0</td>84<td>3</td>85<td>1</td>86<td>4</td>87</tr>88<tr>89<td>6</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south korea</span></td>91<td>0</td>92<td>0</td>93<td>3</td>94<td>3</td>95</tr>96<tr>97<td>7</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">france</span></td>99<td>0</td>100<td>1</td>101<td>1</td>102<td>2</td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ukraine</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>111</tr>112<tr>113<td>8</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">spain</span></td>115<td>0</td>116<td>1</td>117<td>0</td>118<td>1</td>119</tr>120<tr>121<td>8</td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">china</span></td>123<td>0</td>124<td>1</td>125<td>0</td>126<td>1</td>127</tr>128<tr>129<td>8</td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">czech republic</span></td>131<td>0</td>132<td>0</td>133<td>1</td>134<td>1</td>135</tr>136</table>137</div>138<hr>139<div class="step">140<div class="step-title">Step 2: Select rows where 'gold' is greater than the 'gold' value in any other row.</div>141<div id="step-0" class="content">142<table>143<tr>144<td>rank</td>145<td>nation</td>146<td>gold</td>147<td>silver</td>148<td>bronze</td>149<td>total</td>150</tr>151<tr>152<td>7</td>153<td>ukraine</td>154<td>0</td>155<td>1</td>156<td>1</td>157<td>2</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>rank</td>169<td>nation</td>170<td>gold</td>171<td>silver</td>172<td>bronze</td>173<td>total</td>174</tr>175</table>176</div>177</div>178<hr>179<div class="step">180<div class="step-title">Final output table:</div>181<div id="step-2" class="content">182<table>183<tr>184<td>verification_result</td>185</tr>186<tr>187<td>FALSE</td>188</tr>189</table>190</div>191</div>192<hr>193<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>194<h3>Ground-truth:</span> FALSE</h3></div>195</body></html>196