Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-592.html156 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> the only person to have a status of alive after existing in the cube is male</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: cube (film series)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where the 'status' is 'alive after exiting the cube'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>name</td>34<td>occupation</td>35<td>gender</td>36<td>prison_connection</td>37<td>played_by</td>38<td>status</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kazan</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">autistic savant</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">male</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kazan prison (russia)</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">andrew miller</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">alive after exiting the cube</span></td>47</tr>48<tr>49<td>david worth</td>50<td>architect</td>51<td>male</td>52<td>leavenworth prison (usa)</td>53<td>david hewlett</td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dead</span></td>55</tr>56<tr>57<td>quentin</td>58<td>police officer</td>59<td>male</td>60<td>san quentin state prison (usa)</td>61<td>maurice dean wint</td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dead</span></td>63</tr>64<tr>65<td>joan leaven</td>66<td>mathematics student</td>67<td>female</td>68<td>leavenworth prison (usa)</td>69<td>nicole de boer</td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dead</span></td>71</tr>72<tr>73<td>dr helen holloway</td>74<td>free clinic doctor</td>75<td>female</td>76<td>holloway women 's prison (uk)</td>77<td>nicky guadagni</td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dead</span></td>79</tr>80<tr>81<td>rennes</td>82<td>prison escapist</td>83<td>male</td>84<td>centre pãnitentiaire de rennes (france)</td>85<td>wayne robson</td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dead</span></td>87</tr>88</table>89</div>90<hr>91<div class="step">92<div class="step-title">Step 2: Select rows where the 'gender' is 'male'.</div>93<div id="step-0" class="content">94<table>95<tr>96<td>name</td>97<td>occupation</td>98<td>gender</td>99<td>prison_connection</td>100<td>played_by</td>101<td>status</td>102</tr>103<tr>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kazan</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">autistic savant</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">male</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kazan prison (russia)</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">andrew miller</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alive after exiting the cube</span></td>110</tr>111</table>112</div>113</div>114<hr>115<div class="step">116<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>117<div id="step-1" class="content">118<table>119<tr>120<td>name</td>121<td>occupation</td>122<td>gender</td>123<td>prison_connection</td>124<td>played_by</td>125<td>status</td>126</tr>127<tr>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">kazan</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">autistic savant</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">male</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">kazan prison (russia)</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">andrew miller</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">alive after exiting the cube</span></td>134</tr>135</table>136</div>137</div>138<hr>139<div class="step">140<div class="step-title">Final output table:</div>141<div id="step-2" class="content">142<table>143<tr>144<td>verification_result</td>145</tr>146<tr>147<td>TRUE</td>148</tr>149</table>150</div>151</div>152<hr>153<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>154<h3>Ground-truth:</span> TRUE</h3></div>155</body></html>156