Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-859.html202 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> in egypt , the number of subscriber of vodafone in 2006 is 8704</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: mobile telephony in africa</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'country' is 'egypt'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>provider</td>34<td>country</td>35<td>subscribers__2005___thousands</td>36<td>subscribers__2006___thousands</td>37<td>growth</td>38</tr>39<tr>40<td>airtel</td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kenya , uganda</span></td>42<td>37600</td>43<td>31800</td>44<td>54.9</td>45</tr>46<tr>47<td>vodacom</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south africa</span></td>49<td>17600</td>50<td>21800</td>51<td>23.9</td>52</tr>53<tr>54<td>mtn</td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south africa</span></td>56<td>10235</td>57<td>12483</td>58<td>22.0</td>59</tr>60<tr>61<td>mtn</td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nigeria</span></td>63<td>8370</td>64<td>12281</td>65<td>47.0</td>66</tr>67<tr>68<td>glo mobile</td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nigeria</span></td>70<td>9000</td>71<td>11000</td>72<td>22.0</td>73</tr>74<tr>75<td>maroc</td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">morocco</span></td>77<td>8237</td>78<td>10707</td>79<td>30.0</td>80</tr>81<tr>82<td>djezzy</td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">algeria</span></td>84<td>7109</td>85<td>10531</td>86<td>48.0</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mobinil</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">egypt</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66960</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9267</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">38.0</span></td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vodafone</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">egypt</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6125</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8704</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">42.0</span></td>101</tr>102<tr>103<td>mobilis</td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">algeria</span></td>105<td>4908</td>106<td>7476</td>107<td>52.0</td>108</tr>109</table>110</div>111<hr>112<div class="step">113<div class="step-title">Step 2: Select rows where 'provider' is 'vodafone'.</div>114<div id="step-0" class="content">115<table>116<tr>117<td>provider</td>118<td>country</td>119<td>subscribers__2005___thousands</td>120<td>subscribers__2006___thousands</td>121<td>growth</td>122</tr>123<tr>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mobinil</span></td>125<td>egypt</td>126<td>66960</td>127<td>9267</td>128<td>38.0</td>129</tr>130<tr>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">vodafone</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">egypt</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6125</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8704</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">42.0</span></td>136</tr>137</table>138</div>139</div>140<hr>141<div class="step">142<div class="step-title">Step 3: Select rows where 'subscribers__2006___thousands' is 8704.</div>143<div id="step-1" class="content">144<table>145<tr>146<td>provider</td>147<td>country</td>148<td>subscribers__2005___thousands</td>149<td>subscribers__2006___thousands</td>150<td>growth</td>151</tr>152<tr>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vodafone</span></td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">egypt</span></td>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6125</span></td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">8704</span></td>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">42.0</span></td>158</tr>159</table>160</div>161</div>162<hr>163<div class="step">164<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>165<div id="step-2" class="content">166<table>167<tr>168<td>provider</td>169<td>country</td>170<td>subscribers__2005___thousands</td>171<td>subscribers__2006___thousands</td>172<td>growth</td>173</tr>174<tr>175<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">vodafone</span></td>176<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">egypt</span></td>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6125</span></td>178<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">8704</span></td>179<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">42.0</span></td>180</tr>181</table>182</div>183</div>184<hr>185<div class="step">186<div class="step-title">Final output table:</div>187<div id="step-3" class="content">188<table>189<tr>190<td>verification_result</td>191</tr>192<tr>193<td>TRUE</td>194</tr>195</table>196</div>197</div>198<hr>199<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>200<h3>Ground-truth:</span> TRUE</h3></div>201</body></html>202