Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-646.html156 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> w293al has the highest erp w , whereas w264bf has the lowest erp w</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: whlp</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'erp_w' is the maximum value.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>call_sign</td>34<td>frequency_mhz</td>35<td>city_of_license</td>36<td>erp_w</td>37<td>class</td>38<td>fcc_info</td>39</tr>40<tr>41<td>w221by</td>42<td>92.1</td>43<td>elgin , illinois</td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">38</span></td>45<td>d</td>46<td>fcc</td>47</tr>48<tr>49<td>w264bf</td>50<td>100.7</td>51<td>englewood , illinois</td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>53<td>d</td>54<td>fcc</td>55</tr>56<tr>57<td>w240bj</td>58<td>95.9</td>59<td>crown point , indiana</td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td>61<td>d</td>62<td>fcc</td>63</tr>64<tr>65<td>w276bm</td>66<td>103.1</td>67<td>park forest , illinois</td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19</span></td>69<td>d</td>70<td>fcc</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w293al</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">106.5</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rochester , indiana</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">80</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">d</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fcc</span></td>79</tr>80<tr>81<td>w223au</td>82<td>92.5</td>83<td>south bend , indiana</td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td>85<td>d</td>86<td>fcc</td>87</tr>88</table>89</div>90<hr>91<div class="step">92<div class="step-title">Step 2: Select rows where 'erp_w' is the minimum value.</div>93<div id="step-0" class="content">94<table>95<tr>96<td>call_sign</td>97<td>frequency_mhz</td>98<td>city_of_license</td>99<td>erp_w</td>100<td>class</td>101<td>fcc_info</td>102</tr>103<tr>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w293al</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">106.5</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rochester , indiana</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">80</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">d</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fcc</span></td>110</tr>111</table>112</div>113</div>114<hr>115<div class="step">116<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows from step 1 is equal to 1 and the number of rows from step 2 is equal to 1, otherwise return FALSE.</div>117<div id="step-1" class="content">118<table>119<tr>120<td>call_sign</td>121<td>frequency_mhz</td>122<td>city_of_license</td>123<td>erp_w</td>124<td>class</td>125<td>fcc_info</td>126</tr>127<tr>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">w293al</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">106.5</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rochester , indiana</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">80</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">d</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">fcc</span></td>134</tr>135</table>136</div>137</div>138<hr>139<div class="step">140<div class="step-title">Final output table:</div>141<div id="step-2" class="content">142<table>143<tr>144<td>verification_result</td>145</tr>146<tr>147<td>TRUE</td>148</tr>149</table>150</div>151</div>152<hr>153<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>154<h3>Ground-truth:</span> TRUE</h3></div>155</body></html>156