Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1812.html152 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> nadia al - moutawaa was the first person to win the gold medal in equestrian at the asian games and win silver another year</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: equestrian at the asian games</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'gold' is 'nadia al - moutawaa'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>year</td>34<td>location</td>35<td>gold</td>36<td>silver</td>37<td>bronze</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1982</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new delhi</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nadia al - moutawaa</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jamila al - moutawaa</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bariaa salem al - sabbah</span></td>45</tr>46<tr>47<td>1986</td>48<td>seoul</td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">takashi tomura</span></td>50<td>shuichi toki</td>51<td>ryuzo okuno</td>52</tr>53<tr>54<td>1994</td>55<td>hiroshima</td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">konoshin kuwahara</span></td>57<td>ryuzo okuno</td>58<td>natya chantrasmi</td>59</tr>60<tr>61<td>1998</td>62<td>bangkok</td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jin kanno</span></td>64<td>sohn bong - gak</td>65<td>quzier ambak fathil</td>66</tr>67<tr>68<td>2002</td>69<td>busan</td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mikaela marã­a jaworski</span></td>71<td>lee jin - kyung</td>72<td>tadayoshi hayashi</td>73</tr>74<tr>75<td>2006</td>76<td>doha</td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ali yousuf al - rumaihi</span></td>78<td>jasmine chen - shao man</td>79<td>joo jung - hyun</td>80</tr>81<tr>82<td>2010</td>83<td>guangzhou</td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ramzy al duhami</span></td>85<td>latifa al maktom</td>86<td>khaled al - eid</td>87</tr>88</table>89</div>90<hr>91<div class="step">92<div class="step-title">Step 2: Select rows where 'silver' is not 'nadia al - moutawaa'.</div>93<div id="step-0" class="content">94<table>95<tr>96<td>year</td>97<td>location</td>98<td>gold</td>99<td>silver</td>100<td>bronze</td>101</tr>102<tr>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1982</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new delhi</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nadia al - moutawaa</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">jamila al - moutawaa</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bariaa salem al - sabbah</span></td>108</tr>109</table>110</div>111</div>112<hr>113<div class="step">114<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>115<div id="step-1" class="content">116<table>117<tr>118<td>year</td>119<td>location</td>120<td>gold</td>121<td>silver</td>122<td>bronze</td>123</tr>124<tr>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1982</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">new delhi</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nadia al - moutawaa</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">jamila al - moutawaa</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bariaa salem al - sabbah</span></td>130</tr>131</table>132</div>133</div>134<hr>135<div class="step">136<div class="step-title">Final output table:</div>137<div id="step-2" class="content">138<table>139<tr>140<td>verification_result</td>141</tr>142<tr>143<td>TRUE</td>144</tr>145</table>146</div>147</div>148<hr>149<div class="step"><h3><span class="false">Prediction: TRUE </span></h3>150<h3>Ground-truth:</span> FALSE</h3></div>151</body></html>152