Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1671.html172 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> the results were counted in bhind district five times and three times in datia</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: bhind (lok sabha constituency)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'district' is 'bhind'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>constituency_number</td>34<td>name</td>35<td>reserved_for___sc___st___none</td>36<td>district</td>37<td>number_of_electorates__2009</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ater</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">none</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">177334</span></td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bhind</span></td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">none</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">197183</span></td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lahar</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">none</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">205839</span></td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mehgaon</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">none</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">210649</span></td>66</tr>67<tr>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gohad</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sc</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">166893</span></td>73</tr>74<tr>75<td>20</td>76<td>sewda</td>77<td>none</td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">datia</span></td>79<td>130161</td>80</tr>81<tr>82<td>21</td>83<td>bhander</td>84<td>sc</td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">datia</span></td>86<td>139600</td>87</tr>88<tr>89<td>22</td>90<td>datia</td>91<td>none</td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">datia</span></td>93<td>143593</td>94</tr>95<tr>96<td>total :</td>97<td>total :</td>98<td>total :</td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">total :</span></td>100<td>1371252</td>101</tr>102</table>103</div>104<hr>105<div class="step">106<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 5, otherwise return FALSE.</div>107<div id="step-0" class="content">108<table>109<tr>110<td>constituency_number</td>111<td>name</td>112<td>reserved_for___sc___st___none</td>113<td>district</td>114<td>number_of_electorates__2009</td>115</tr>116<tr>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ater</span></td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">none</span></td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">177334</span></td>122</tr>123<tr>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">10</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">none</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">197183</span></td>129</tr>130<tr>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">lahar</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">none</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">205839</span></td>136</tr>137<tr>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">12</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mehgaon</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">none</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">210649</span></td>143</tr>144<tr>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">13</span></td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">gohad</span></td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sc</span></td>148<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bhind</span></td>149<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">166893</span></td>150</tr>151</table>152</div>153</div>154<hr>155<div class="step">156<div class="step-title">Final output table:</div>157<div id="step-1" class="content">158<table>159<tr>160<td>verification_result</td>161</tr>162<tr>163<td>TRUE</td>164</tr>165</table>166</div>167</div>168<hr>169<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>170<h3>Ground-truth:</span> TRUE</h3></div>171</body></html>172