Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1385.html164 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> all of the constituency has 2nd snp 's place 2003</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: scottish parliament general election , 2007</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'snp__s_place_2003' is not equal to '2nd'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>rank</td>34<td>constituency</td>35<td>winning_party_2003</td>36<td>swing_to_gain</td>37<td>snp__s_place_2003</td>38<td>result</td>39</tr>40<tr>41<td>1</td>42<td>galloway & upper nithsdale</td>43<td>conservative</td>44<td>0.17</td>45<td>2nd</td>46<td>con hold</td>47</tr>48<tr>49<td>2</td>50<td>tweeddale , ettrick & lauderdale</td>51<td>liberal democrats</td>52<td>1.01</td>53<td>2nd</td>54<td>ld hold</td>55</tr>56<tr>57<td>3</td>58<td>cumbernauld & kilsyth</td>59<td>labour</td>60<td>1.07</td>61<td>2nd</td>62<td>lab hold</td>63</tr>64<tr>65<td>4</td>66<td>kilmarnock & loudoun</td>67<td>labour</td>68<td>1.92</td>69<td>2nd</td>70<td>snp gain</td>71</tr>72<tr>73<td>5</td>74<td>dundee west</td>75<td>labour</td>76<td>2.13</td>77<td>2nd</td>78<td>snp gain</td>79</tr>80<tr>81<td>6</td>82<td>western isles</td>83<td>labour</td>84<td>2.91</td>85<td>2nd</td>86<td>snp gain</td>87</tr>88<tr>89<td>7</td>90<td>glasgow govan</td>91<td>labour</td>92<td>2.92</td>93<td>2nd</td>94<td>snp gain</td>95</tr>96<tr>97<td>8</td>98<td>aberdeen central</td>99<td>labour</td>100<td>2.96</td>101<td>2nd</td>102<td>lab hold</td>103</tr>104<tr>105<td>9</td>106<td>linlithgow</td>107<td>labour</td>108<td>3.56</td>109<td>2nd</td>110<td>lab hold</td>111</tr>112<tr>113<td>10</td>114<td>west renfrewshire</td>115<td>labour</td>116<td>4.41</td>117<td>2nd</td>118<td>lab hold</td>119</tr>120<tr>121<td>11</td>122<td>paisley south</td>123<td>labour</td>124<td>4.91</td>125<td>2nd</td>126<td>lab hold</td>127</tr>128</table>129</div>130<hr>131<div class="step">132<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 0, otherwise return FALSE.</div>133<div id="step-0" class="content">134<table>135<tr>136<td>rank</td>137<td>constituency</td>138<td>winning_party_2003</td>139<td>swing_to_gain</td>140<td>snp__s_place_2003</td>141<td>result</td>142</tr>143</table>144</div>145</div>146<hr>147<div class="step">148<div class="step-title">Final output table:</div>149<div id="step-1" class="content">150<table>151<tr>152<td>verification_result</td>153</tr>154<tr>155<td>TRUE</td>156</tr>157</table>158</div>159</div>160<hr>161<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>162<h3>Ground-truth:</span> TRUE</h3></div>163</body></html>164