Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-217.html156 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> the maximum number discs is 1</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: none</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'discs' is equal to the maximum value of 'discs' in the table.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>volume</td>34<td>discs</td>35<td>episodes</td>36<td>region_1</td>37<td>region_2</td>38<td>region_4</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-01-31</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007-02-19</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007-03-15</span></td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-03-28</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007-06-04</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007-07-05</span></td>55</tr>56<tr>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-05-30</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007-09-03</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-03-13</span></td>63</tr>64<tr>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-07-18</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-02-18</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-06-19</span></td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-09-19</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-05-26</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2009-03-05</span></td>79</tr>80</table>81</div>82<hr>83<div class="step">84<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>85<div id="step-0" class="content">86<table>87<tr>88<td>volume</td>89<td>discs</td>90<td>episodes</td>91<td>region_1</td>92<td>region_2</td>93<td>region_4</td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2006-01-31</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2007-02-19</span></td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2007-03-15</span></td>102</tr>103<tr>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2006-03-28</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2007-06-04</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2007-07-05</span></td>110</tr>111<tr>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2006-05-30</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2007-09-03</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-03-13</span></td>118</tr>119<tr>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2006-07-18</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-02-18</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-06-19</span></td>126</tr>127<tr>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">5</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2006-09-19</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-05-26</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2009-03-05</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-1" class="content">142<table>143<tr>144<td>verification_result</td>145</tr>146<tr>147<td>FALSE</td>148</tr>149</table>150</div>151</div>152<hr>153<div class="step"><h3><span class="false">Prediction: FALSE </span></h3>154<h3>Ground-truth:</span> TRUE</h3></div>155</body></html>156