Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1090.html247 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 episode called aaliyah was shown later than the episode that has nick production number one higher</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: list of all that episodes</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'episode_title' is 'aaliyah'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>season</td>34<td>series</td>35<td>episode_title</td>36<td>original_air_date</td>37<td>nick_prod</td>38</tr>39<tr>40<td>1</td>41<td>38</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tia & tamera mowry / ll cool j</span></td>43<td>1996-11-16</td>44<td>338</td>45</tr>46<tr>47<td>2</td>48<td>39</td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">montell jordan</span></td>50<td>1996-11-23</td>51<td>339</td>52</tr>53<tr>54<td>4</td>55<td>41</td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dru hill</span></td>57<td>1996-12-07</td>58<td>341</td>59</tr>60<tr>61<td>5</td>62<td>42</td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tyra banks / blackstreet</span></td>64<td>1996-12-14</td>65<td>342</td>66</tr>67<tr>68<td>6</td>69<td>43</td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">music special</span></td>71<td>1996-12-17</td>72<td>343</td>73</tr>74<tr>75<td>7</td>76<td>44</td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">a tribe called quest</span></td>78<td>1996-12-21</td>79<td>344</td>80</tr>81<tr>82<td>8</td>83<td>45</td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">702</span></td>85<td>1996-12-28</td>86<td>345</td>87</tr>88<tr>89<td>9</td>90<td>46</td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tony! toni! tone!</span></td>92<td>1997-01-04</td>93<td>346</td>94</tr>95<tr>96<td>10</td>97<td>47</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">chris farley / mint condition</span></td>99<td>1997-01-11</td>100<td>347</td>101</tr>102<tr>103<td>11</td>104<td>48</td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">112</span></td>106<td>1997-01-18</td>107<td>348</td>108</tr>109<tr>110<td>12</td>111<td>49</td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sherman hemsley / nas</span></td>113<td>1997-01-25</td>114<td>349</td>115</tr>116<tr>117<td>13</td>118<td>50</td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john leguizamo / mona lisa</span></td>120<td>1997-02-01</td>121<td>350</td>122</tr>123<tr>124<td>14</td>125<td>51</td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ray j</span></td>127<td>1997-02-08</td>128<td>351</td>129</tr>130<tr>131<td>15</td>132<td>52</td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">for real</span></td>134<td>1997-09-20</td>135<td>352</td>136</tr>137<tr>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">53</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">aaliyah</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1997-10-04</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">353</span></td>143</tr>144<tr>145<td>17</td>146<td>54</td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">az yet</span></td>148<td>1997-09-27</td>149<td>354</td>150</tr>151<tr>152<td>18</td>153<td>55</td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">monica</span></td>155<td>1997-10-11</td>156<td>355</td>157</tr>158<tr>159<td>19</td>160<td>56</td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mc lyte</span></td>162<td>1997-10-18</td>163<td>356</td>164</tr>165</table>166</div>167<hr>168<div class="step">169<div class="step-title">Step 2: Extract the numerical value from the 'nick_prod' column to add column 'prod_num' to existing table.</div>170<div id="step-0" class="content">171<table>172<tr>173<td>season</td>174<td>series</td>175<td>episode_title</td>176<td>original_air_date</td>177<td>nick_prod</td>178</tr>179<tr>180<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">16</span></td>181<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">53</span></td>182<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">aaliyah</span></td>183<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1997-10-04</span></td>184<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">353</span></td>185</tr>186</table>187</div>188</div>189<hr>190<div class="step">191<div class="step-title">Step 3: Select rows where 'prod_num' is greater than the prod_num of the episode with 'episode_title' one higher than 'aaliyah'.</div>192<div id="step-1" class="content">193<table>194<tr>195<td>season</td>196<td>series</td>197<td>episode_title</td>198<td>original_air_date</td>199<td>nick_prod</td>200<td>prod_num</td>201</tr>202<tr>203<td>16</td>204<td>53</td>205<td>aaliyah</td>206<td>1997-10-04</td>207<td>353</td>208<td>353</td>209</tr>210</table>211</div>212</div>213<hr>214<div class="step">215<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is greater than or equal to 1, otherwise return FALSE.</div>216<div id="step-2" class="content">217<table>218<tr>219<td>season</td>220<td>series</td>221<td>episode_title</td>222<td>original_air_date</td>223<td>nick_prod</td>224<td>prod_num</td>225</tr>226</table>227</div>228</div>229<hr>230<div class="step">231<div class="step-title">Final output table:</div>232<div id="step-3" class="content">233<table>234<tr>235<td>verification_result</td>236</tr>237<tr>238<td>FALSE</td>239</tr>240</table>241</div>242</div>243<hr>244<div class="step"><h3><span class="false">Prediction: FALSE </span></h3>245<h3>Ground-truth:</span> TRUE</h3></div>246</body></html>247