Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1092.html223 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<hr>23<h3><span>Statement:</span> the episode with series 47 was shown in a different month and year from the episode that had season 2</h3>24<h3>Input Table: list of all that episodes</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: f_select_row(row 1, row 8)</div>28<div id="step-1" class="content">29<table>30<tr>31<td>season</td>32<td>series</td>33<td>episode title</td>34<td>original air date</td>35<td>nick prod</td>36</tr>37<tr>38<td>1</td>39<td>38</td>40<td>tia & tamera mowry / ll cool j</td>41<td>november 16 , 1996</td>42<td>338</td>43</tr>44<tr>45<td><span class="highlighted-cell" title="Used in transformation">2</span></td>46<td><span class="highlighted-cell" title="Used in transformation">39</span></td>47<td><span class="highlighted-cell" title="Used in transformation">montell jordan</span></td>48<td><span class="highlighted-cell" title="Used in transformation">november 23 , 1996</span></td>49<td><span class="highlighted-cell" title="Used in transformation">339</span></td>50</tr>51<tr>52<td>4</td>53<td>41</td>54<td>dru hill</td>55<td>december 7 , 1996</td>56<td>341</td>57</tr>58<tr>59<td>5</td>60<td>42</td>61<td>tyra banks / blackstreet</td>62<td>december 14 , 1996</td>63<td>342</td>64</tr>65<tr>66<td>6</td>67<td>43</td>68<td>music special</td>69<td>december 17 , 1996</td>70<td>343</td>71</tr>72<tr>73<td>7</td>74<td>44</td>75<td>a tribe called quest</td>76<td>december 21 , 1996</td>77<td>344</td>78</tr>79<tr>80<td>8</td>81<td>45</td>82<td>702</td>83<td>december 28 , 1996</td>84<td>345</td>85</tr>86<tr>87<td>9</td>88<td>46</td>89<td>tony! toni! tone!</td>90<td>january 4 , 1997</td>91<td>346</td>92</tr>93<tr>94<td><span class="highlighted-cell" title="Used in transformation">10</span></td>95<td><span class="highlighted-cell" title="Used in transformation">47</span></td>96<td><span class="highlighted-cell" title="Used in transformation">chris farley / mint condition</span></td>97<td><span class="highlighted-cell" title="Used in transformation">january 11 , 1997</span></td>98<td><span class="highlighted-cell" title="Used in transformation">347</span></td>99</tr>100<tr>101<td>11</td>102<td>48</td>103<td>112</td>104<td>january 18 , 1997</td>105<td>348</td>106</tr>107<tr>108<td>12</td>109<td>49</td>110<td>sherman hemsley / nas</td>111<td>january 25 , 1997</td>112<td>349</td>113</tr>114<tr>115<td>13</td>116<td>50</td>117<td>john leguizamo / mona lisa</td>118<td>february 1 , 1997</td>119<td>350</td>120</tr>121<tr>122<td>14</td>123<td>51</td>124<td>ray j</td>125<td>february 8 , 1997</td>126<td>351</td>127</tr>128<tr>129<td>15</td>130<td>52</td>131<td>for real</td>132<td>september 20 , 1997</td>133<td>352</td>134</tr>135<tr>136<td>16</td>137<td>53</td>138<td>aaliyah</td>139<td>october 4 , 1997</td>140<td>353</td>141</tr>142<tr>143<td>17</td>144<td>54</td>145<td>az yet</td>146<td>september 27 , 1997</td>147<td>354</td>148</tr>149<tr>150<td>18</td>151<td>55</td>152<td>monica</td>153<td>october 11 , 1997</td>154<td>355</td>155</tr>156<tr>157<td>19</td>158<td>56</td>159<td>mc lyte</td>160<td>october 18 , 1997</td>161<td>356</td>162</tr>163</table>164</div>165<hr>166<div class="step">167<div class="step-title">Step 2: f_select_column(season, series, original air date)</div>168<div id="step-0" class="content">169<table>170<tr>171<td>season</td>172<td>series</td>173<td>episode title</td>174<td>original air date</td>175<td>nick prod</td>176</tr>177<tr>178<td><span class="highlighted-cell" title="Used in transformation">2</span></td>179<td><span class="highlighted-cell" title="Used in transformation">39</span></td>180<td>montell jordan</td>181<td><span class="highlighted-cell" title="Used in transformation">november 23 , 1996</span></td>182<td>339</td>183</tr>184<tr>185<td><span class="highlighted-cell" title="Used in transformation">10</span></td>186<td><span class="highlighted-cell" title="Used in transformation">47</span></td>187<td>chris farley / mint condition</td>188<td><span class="highlighted-cell" title="Used in transformation">january 11 , 1997</span></td>189<td>347</td>190</tr>191</table>192</div>193</div>194<hr>195<div class="step">196<div class="step-title">Step 3: simple_query()</div>197<div id="step-1" class="content">198<table>199<tr>200<td>season</td>201<td>series</td>202<td>original air date</td>203</tr>204<tr>205<td>2</td>206<td>39</td>207<td>november 23 , 1996</td>208</tr>209<tr>210<td>10</td>211<td>47</td>212<td>january 11 , 1997</td>213</tr>214</table>215</div>216</div>217<hr>218<h2>Prompting LLM for the final answer... >>> </h2>219</div>220</div>221<hr>222</body></html>223