Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1739.html208 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> part number lf80537 gf0411 m has a frequency of 2 ghz</h3>24<h3>Input Table: list of intel pentium dual - core microprocessors</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'part_number__s_' is 'lf80537 gf0411 m'.</div>28<div class="content" id="step-1">29<table>30<tr>31<td>model_number</td>32<td>sspec_number</td>33<td>frequency</td>34<td>l2_cache</td>35<td>fsb</td>36<td>mult</td>37<td>voltage</td>38<td>tdp</td>39<td>socket</td>40<td>release_date</td>41<td>part_number__s_</td>42<td>release_price___usd__</td>43</tr>44<tr>45<td>pentium dual - core t2310</td>46<td>slaec (m0)</td>47<td>1.47 ghz</td>48<td>1 mb</td>49<td>533 mt / s</td>50<td>11</td>51<td>1.075 - 1.175v</td>52<td>35 w</td>53<td>socket p</td>54<td>2007-10-01</td>55<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lf80537 ge0201 m</span></td>56<td>90</td>57</tr>58<tr>59<td>pentium dual - core t2330</td>60<td>sla4k (m0)</td>61<td>1.6 ghz</td>62<td>1 mb</td>63<td>533 mt / s</td>64<td>12</td>65<td>1.075 - 1.175v</td>66<td>35 w</td>67<td>socket p</td>68<td>2007-10-01</td>69<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lf80537 ge0251 mn</span></td>70<td>oem</td>71</tr>72<tr>73<td>pentium dual - core t2370</td>74<td>sla4j (m0)</td>75<td>1.73 ghz</td>76<td>1 mb</td>77<td>533 mt / s</td>78<td>13</td>79<td>1.075 - 1.175v</td>80<td>35 w</td>81<td>socket p</td>82<td>2007-10-01</td>83<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lf80537 ge0301 m</span></td>84<td>oem</td>85</tr>86<tr>87<td>pentium dual - core t2390</td>88<td>sla4h (m0)</td>89<td>1.87 ghz</td>90<td>1 mb</td>91<td>533 mt / s</td>92<td>14</td>93<td>1.075 - 1.175v</td>94<td>35 w</td>95<td>socket p</td>96<td>2008-04-01</td>97<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lf80537 ge0361 m</span></td>98<td>oem</td>99</tr>100<tr>101<td>pentium dual - core t2410</td>102<td>sla4 g (m0)</td>103<td>2 ghz</td>104<td>1 mb</td>105<td>533 mt / s</td>106<td>15</td>107<td>1.075 - 1.175v</td>108<td>35 w</td>109<td>socket p</td>110<td>2008-07-01</td>111<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lf80537 ge0411 m</span></td>112<td>oem</td>113</tr>114<tr>115<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pentium dual - core t3200</span></td>116<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">slavg (m0)</span></td>117<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 ghz</span></td>118<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1 mb</span></td>119<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">667 mt / s</span></td>120<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>121<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1.075 - 1.175v</span></td>122<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35 w</span></td>123<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">socket p</span></td>124<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-10-01</span></td>125<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">lf80537 gf0411 m</span></td>126<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">oem</span></td>127</tr>128</table>129</div>130<hr/>131<div class="step">132<div class="step-title">Step 2: Select rows where 'frequency' is '2 ghz'.</div>133<div class="content" id="step-0">134<table>135<tr>136<td>model_number</td>137<td>sspec_number</td>138<td>frequency</td>139<td>l2_cache</td>140<td>fsb</td>141<td>mult</td>142<td>voltage</td>143<td>tdp</td>144<td>socket</td>145<td>release_date</td>146<td>part_number__s_</td>147<td>release_price___usd__</td>148</tr>149<tr>150<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pentium dual - core t3200</span></td>151<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">slavg (m0)</span></td>152<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 ghz</span></td>153<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1 mb</span></td>154<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">667 mt / s</span></td>155<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>156<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1.075 - 1.175v</span></td>157<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35 w</span></td>158<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">socket p</span></td>159<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-10-01</span></td>160<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lf80537 gf0411 m</span></td>161<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">oem</span></td>162</tr>163</table>164</div>165</div>166<hr/>167<div class="step">168<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>169<div class="content" id="step-1">170<table>171<tr>172<td>model_number</td>173<td>sspec_number</td>174<td>frequency</td>175<td>l2_cache</td>176<td>fsb</td>177<td>mult</td>178<td>voltage</td>179<td>tdp</td>180<td>socket</td>181<td>release_date</td>182<td>part_number__s_</td>183<td>release_price___usd__</td>184</tr>185<tr>186<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">pentium dual - core t3200</span></td>187<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">slavg (m0)</span></td>188<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 ghz</span></td>189<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 mb</span></td>190<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">667 mt / s</span></td>191<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">12</span></td>192<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1.075 - 1.175v</span></td>193<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">35 w</span></td>194<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">socket p</span></td>195<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2008-10-01</span></td>196<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">lf80537 gf0411 m</span></td>197<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">oem</span></td>198</tr>199</table>200</div>201</div>202<hr/>203 204</div>205</div>206<hr/>207</body></html>208