Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-484.html159 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> rik de voest was alex bogdanovic 's opponent on april 8th , 2013</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: alex bogdanovic</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'date' is '2013-04-08'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>date</td>34<td>tournament</td>35<td>surface</td>36<td>opponent_in_the_final</td>37<td>score</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-06-02</span></td>41<td>surbiton , great britain</td>42<td>grass</td>43<td>wesley moodie</td>44<td>4 - 6 , 7 - 6 (2) , 1 - 6</td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004-04-26</span></td>48<td>glasgow , great britain f1</td>49<td>carpet</td>50<td>gaël monfils</td>51<td>4 - 6 , 3 - 6</td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004-07-05</span></td>55<td>nottingham , great britain</td>56<td>grass</td>57<td>jo - wilfried tsonga</td>58<td>3 - 6 , 4 - 6</td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-10-02</span></td>62<td>mons , belgium</td>63<td>hard</td>64<td>janko tipsarević</td>65<td>4 - 6 , 6 - 1 , 2 - 6</td>66</tr>67<tr>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007-04-16</span></td>69<td>cardiff , great britain</td>70<td>hard</td>71<td>frédéric niemeyer</td>72<td>4 - 6 , 5 - 7</td>73</tr>74<tr>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2011-04-04</span></td>76<td>little rock , ar , usa f9</td>77<td>hard</td>78<td>arnau brugués - davi</td>79<td>3 - 6 , 1 - 6</td>80</tr>81<tr>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2012-09-24</span></td>83<td>irvine , ca , usa f26</td>84<td>hard</td>85<td>daniel nguyen</td>86<td>5 - 7 , 2 - 6</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2013-04-08</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">oklahoma city , usa f9</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rik de voest</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3 - 6 , 2 - 6</span></td>94</tr>95</table>96</div>97<hr>98<div class="step">99<div class="step-title">Step 2: Select rows where 'opponent_in_the_final' is 'rik de voest'.</div>100<div id="step-0" class="content">101<table>102<tr>103<td>date</td>104<td>tournament</td>105<td>surface</td>106<td>opponent_in_the_final</td>107<td>score</td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2013-04-08</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">oklahoma city , usa f9</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rik de voest</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3 - 6 , 2 - 6</span></td>115</tr>116</table>117</div>118</div>119<hr>120<div class="step">121<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>122<div id="step-1" class="content">123<table>124<tr>125<td>date</td>126<td>tournament</td>127<td>surface</td>128<td>opponent_in_the_final</td>129<td>score</td>130</tr>131<tr>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2013-04-08</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">oklahoma city , usa f9</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">hard</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rik de voest</span></td>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3 - 6 , 2 - 6</span></td>137</tr>138</table>139</div>140</div>141<hr>142<div class="step">143<div class="step-title">Final output table:</div>144<div id="step-2" class="content">145<table>146<tr>147<td>verification_result</td>148</tr>149<tr>150<td>TRUE</td>151</tr>152</table>153</div>154</div>155<hr>156<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>157<h3>Ground-truth:</span> TRUE</h3></div>158</body></html>159