Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1409.html196 linesDownload Raw Back to FP
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> ileyton hewitt faced the same opponent , wayne ferreira , in every masters series final</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: lleyton hewitt</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'outcome' is 'runner-up'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>outcome</td>34<td>year</td>35<td>championship</td>36<td>surface</td>37<td>opponent</td>38<td>score</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">runner - up</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000-01-01</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stuttgart</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard (i)</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">wayne ferreira</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 7 (6 - 8) , 6 - 3 , 7 - 6 (7 - 5) , 6 - 7 (2 - 7) , 2 - 6</span></td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">winner</span></td>50<td>2002-01-01</td>51<td>indian wells</td>52<td>hard</td>53<td>tim henman</td>54<td>6 - 1 , 6 - 2</td>55</tr>56<tr>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">runner - up</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-01-01</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cincinnati</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carlos moyá</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5 - 7 , 6 - 7 (5 - 7)</span></td>63</tr>64<tr>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">runner - up</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-01-01</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paris</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carpet (i)</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marat safin</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 7 (4 - 7) , 0 - 6 , 4 - 6</span></td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">winner</span></td>74<td>2003-01-01</td>75<td>indian wells (2)</td>76<td>hard</td>77<td>gustavo kuerten</td>78<td>6 - 1 , 6 - 1</td>79</tr>80<tr>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">runner - up</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004-01-01</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cincinnati (2)</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">andre agassi</span></td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3 - 6 , 6 - 3 , 2 - 6</span></td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">runner - up</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-01-01</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">indian wells</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">roger federer</span></td>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 - 6 , 4 - 6 , 4 - 6</span></td>95</tr>96</table>97</div>98<hr>99<div class="step">100<div class="step-title">Step 2: Select rows where 'opponent' is 'wayne ferreira'.</div>101<div id="step-0" class="content">102<table>103<tr>104<td>outcome</td>105<td>year</td>106<td>championship</td>107<td>surface</td>108<td>opponent</td>109<td>score</td>110</tr>111<tr>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">runner - up</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000-01-01</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stuttgart</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard (i)</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">wayne ferreira</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 7 (6 - 8) , 6 - 3 , 7 - 6 (7 - 5) , 6 - 7 (2 - 7) , 2 - 6</span></td>118</tr>119<tr>120<td>runner - up</td>121<td>2002-01-01</td>122<td>cincinnati</td>123<td>hard</td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carlos moyá</span></td>125<td>5 - 7 , 6 - 7 (5 - 7)</td>126</tr>127<tr>128<td>runner - up</td>129<td>2002-01-01</td>130<td>paris</td>131<td>carpet (i)</td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marat safin</span></td>133<td>6 - 7 (4 - 7) , 0 - 6 , 4 - 6</td>134</tr>135<tr>136<td>runner - up</td>137<td>2004-01-01</td>138<td>cincinnati (2)</td>139<td>hard</td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">andre agassi</span></td>141<td>3 - 6 , 6 - 3 , 2 - 6</td>142</tr>143<tr>144<td>runner - up</td>145<td>2005-01-01</td>146<td>indian wells</td>147<td>hard</td>148<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">roger federer</span></td>149<td>2 - 6 , 4 - 6 , 4 - 6</td>150</tr>151</table>152</div>153</div>154<hr>155<div class="step">156<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>157<div id="step-1" class="content">158<table>159<tr>160<td>outcome</td>161<td>year</td>162<td>championship</td>163<td>surface</td>164<td>opponent</td>165<td>score</td>166</tr>167<tr>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">runner - up</span></td>169<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2000-01-01</span></td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stuttgart</span></td>171<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">hard (i)</span></td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">wayne ferreira</span></td>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6 - 7 (6 - 8) , 6 - 3 , 7 - 6 (7 - 5) , 6 - 7 (2 - 7) , 2 - 6</span></td>174</tr>175</table>176</div>177</div>178<hr>179<div class="step">180<div class="step-title">Final output table:</div>181<div id="step-2" class="content">182<table>183<tr>184<td>verification_result</td>185</tr>186<tr>187<td>TRUE</td>188</tr>189</table>190</div>191</div>192<hr>193<div class="step"><h3><span class="false">Prediction: TRUE </span></h3>194<h3>Ground-truth:</span> FALSE</h3></div>195</body></html>196