Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-163.html229 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> there are currently 12 t - 260 eu aircrafts in service</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: uruguayan air force</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'type' is 'trainer'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>aircraft</td>34<td>origin</td>35<td>type</td>36<td>versions</td>37<td>in_service</td>38</tr>39<tr>40<td>cessna a - 37 dragonfly</td>41<td>united states</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">attack / fighter</span></td>43<td>a - 37b</td>44<td>12 (16 delivered)</td>45</tr>46<tr>47<td>fma ia 58 pucarã¡</td>48<td>argentina</td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">attack</span></td>50<td>a - 58</td>51<td>5 (6 delivered)</td>52</tr>53<tr>54<td>lockheed c - 130 hercules</td>55<td>united states</td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>57<td>c - 130b</td>58<td>2</td>59</tr>60<tr>61<td>embraer emb 110 bandeirante</td>62<td>brazil</td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>64<td>c - 95</td>65<td>3</td>66</tr>67<tr>68<td>beechcraft twin bonanza</td>69<td>united states</td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>71<td>d50</td>72<td>1</td>73</tr>74<tr>75<td>casa c - 212 aviocar</td>76<td>spain</td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport</span></td>78<td>c - 212 - 200</td>79<td>2</td>80</tr>81<tr>82<td>embraer emb 120 brasilia</td>83<td>brazil</td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport</span></td>85<td>emb 120</td>86<td>1</td>87</tr>88<tr>89<td>cessna 206 stationair</td>90<td>united states</td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">utility / liaison</span></td>92<td>u206h</td>93<td>10</td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">beechcraft b58 baron</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">trainer / liaison</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">b - 58</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>101</tr>102<tr>103<td>british aerospace 125</td>104<td>united kingdom</td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vip transport</span></td>106<td>700a 600a</td>107<td>2</td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">aermacchi sf260</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">italy</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">trainer</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t - 260 eu</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td>115</tr>116<tr>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pilatus pc - 7 turbo trainer</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">switzerland</span></td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">trainer</span></td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 92</span></td>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5 (6 delivered)</span></td>122</tr>123<tr>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cessna t - 41 mescalero</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">trainer</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t - 41d</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td>129</tr>130<tr>131<td>aerospatiale as 365 dauphin</td>132<td>france</td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">liaison / transport</span></td>134<td>as 365</td>135<td>1</td>136</tr>137<tr>138<td>bell 212 twin huey</td>139<td>united states</td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>141<td>bell 212</td>142<td>4</td>143</tr>144<tr>145<td>bell uh - 1 iroquois</td>146<td>united states</td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>148<td>uh - 1h</td>149<td>13</td>150</tr>151</table>152</div>153<hr>154<div class="step">155<div class="step-title">Step 2: Select rows where 'versions' is 't-260 eu'.</div>156<div id="step-0" class="content">157<table>158<tr>159<td>aircraft</td>160<td>origin</td>161<td>type</td>162<td>versions</td>163<td>in_service</td>164</tr>165<tr>166<td>beechcraft b58 baron</td>167<td>united states</td>168<td>trainer / liaison</td>169<td>b - 58</td>170<td>2</td>171</tr>172<tr>173<td>aermacchi sf260</td>174<td>italy</td>175<td>trainer</td>176<td>t - 260 eu</td>177<td>12</td>178</tr>179<tr>180<td>pilatus pc - 7 turbo trainer</td>181<td>switzerland</td>182<td>trainer</td>183<td>- 92</td>184<td>5 (6 delivered)</td>185</tr>186<tr>187<td>cessna t - 41 mescalero</td>188<td>united states</td>189<td>trainer</td>190<td>t - 41d</td>191<td>7</td>192</tr>193</table>194</div>195</div>196<hr>197<div class="step">198<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 12, otherwise return FALSE.</div>199<div id="step-1" class="content">200<table>201<tr>202<td>aircraft</td>203<td>origin</td>204<td>type</td>205<td>versions</td>206<td>in_service</td>207</tr>208</table>209</div>210</div>211<hr>212<div class="step">213<div class="step-title">Final output table:</div>214<div id="step-2" class="content">215<table>216<tr>217<td>verification_result</td>218</tr>219<tr>220<td>FALSE</td>221</tr>222</table>223</div>224</div>225<hr>226<div class="step"><h3><span class="false">Prediction: FALSE </span></h3>227<h3>Ground-truth:</span> TRUE</h3></div>228</body></html>229