Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-569.html242 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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> only one of the viral diseases is in baltimore group iii</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: viral disease</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'baltimore_group' is 'group iii'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>family</td>34<td>baltimore_group</td>35<td>envelopment</td>36<td>virion_shape</td>37<td>replication_site</td>38</tr>39<tr>40<td>adenoviridae</td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group i</span></td>42<td>non - enveloped</td>43<td>icosahedral</td>44<td>nucleus</td>45</tr>46<tr>47<td>herpesviridae</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group i</span></td>49<td>enveloped</td>50<td>complex</td>51<td>nucleus</td>52</tr>53<tr>54<td>papillomaviridae</td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group i</span></td>56<td>non - enveloped</td>57<td>icosahedral</td>58<td>nucleus</td>59</tr>60<tr>61<td>polyomaviridae</td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group i</span></td>63<td>non - enveloped</td>64<td>icosahedral</td>65<td>nucleus</td>66</tr>67<tr>68<td>poxviridae</td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group i</span></td>70<td>enveloped</td>71<td>complex</td>72<td>cytoplasm</td>73</tr>74<tr>75<td>hepadnaviridae</td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group vii</span></td>77<td>enveloped</td>78<td>icosahedral</td>79<td>nucleus</td>80</tr>81<tr>82<td>parvoviridae</td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group ii</span></td>84<td>non - enveloped</td>85<td>icosahedral</td>86<td>nucleus</td>87</tr>88<tr>89<td>astroviridae</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group iv</span></td>91<td>non - enveloped</td>92<td>icosahedral</td>93<td>cytoplasm</td>94</tr>95<tr>96<td>caliciviridae</td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group iv</span></td>98<td>non - enveloped</td>99<td>icosahedral</td>100<td>cytoplasm</td>101</tr>102<tr>103<td>picornaviridae</td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group iv</span></td>105<td>non - enveloped</td>106<td>icosahedral</td>107<td>cytoplasm</td>108</tr>109<tr>110<td>coronaviridae</td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group iv</span></td>112<td>enveloped</td>113<td>helical</td>114<td>cytoplasm</td>115</tr>116<tr>117<td>flaviviridae</td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group iv</span></td>119<td>enveloped</td>120<td>icosahedral</td>121<td>cytoplasm</td>122</tr>123<tr>124<td>togaviridae</td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group iv</span></td>126<td>enveloped</td>127<td>icosahedral</td>128<td>cytoplasm</td>129</tr>130<tr>131<td>hepeviridae</td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group iv</span></td>133<td>enveloped</td>134<td>icosahedral</td>135<td>cytoplasm</td>136</tr>137<tr>138<td>retroviridae</td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group vi</span></td>140<td>enveloped</td>141<td>icosahedral</td>142<td>nucleus</td>143</tr>144<tr>145<td>orthomyxoviridae</td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group v</span></td>147<td>enveloped</td>148<td>helical</td>149<td>nucleus</td>150</tr>151<tr>152<td>arenaviridae</td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group v</span></td>154<td>enveloped</td>155<td>helical</td>156<td>cytoplasm</td>157</tr>158<tr>159<td>bunyaviridae</td>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group v</span></td>161<td>enveloped</td>162<td>helical</td>163<td>cytoplasm</td>164</tr>165<tr>166<td>filoviridae</td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group v</span></td>168<td>enveloped</td>169<td>helical</td>170<td>cytoplasm</td>171</tr>172<tr>173<td>paramyxoviridae</td>174<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group v</span></td>175<td>enveloped</td>176<td>helical</td>177<td>cytoplasm</td>178</tr>179<tr>180<td>rhabdoviridae</td>181<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group v</span></td>182<td>enveloped</td>183<td>helical , bullet shaped</td>184<td>cytoplasm</td>185</tr>186<tr>187<td>unassigned</td>188<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">group v</span></td>189<td>enveloped</td>190<td>spherical</td>191<td>nucleus</td>192</tr>193<tr>194<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">reoviridae</span></td>195<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">group iii</span></td>196<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">non - enveloped</span></td>197<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">icosahedral</span></td>198<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cytoplasm</span></td>199</tr>200</table>201</div>202<hr>203<div class="step">204<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>205<div id="step-0" class="content">206<table>207<tr>208<td>family</td>209<td>baltimore_group</td>210<td>envelopment</td>211<td>virion_shape</td>212<td>replication_site</td>213</tr>214<tr>215<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">reoviridae</span></td>216<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">group iii</span></td>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">non - enveloped</span></td>218<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">icosahedral</span></td>219<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">cytoplasm</span></td>220</tr>221</table>222</div>223</div>224<hr>225<div class="step">226<div class="step-title">Final output table:</div>227<div id="step-1" class="content">228<table>229<tr>230<td>verification_result</td>231</tr>232<tr>233<td>TRUE</td>234</tr>235</table>236</div>237</div>238<hr>239<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>240<h3>Ground-truth:</span> TRUE</h3></div>241</body></html>242