Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ def init_leaderboard_mib(dataframe, track):
|
|
117 |
)
|
118 |
|
119 |
|
120 |
-
def calculate_best_layer_scores(task_data
|
121 |
"""
|
122 |
Calculate the best scores across layers for output token and location
|
123 |
|
@@ -144,7 +144,7 @@ def calculate_best_layer_scores(task_data: Dict[str, Any]) -> Dict[str, float]:
|
|
144 |
'best_layer': int(best_layer)
|
145 |
}
|
146 |
|
147 |
-
def process_single_method(json_data
|
148 |
"""
|
149 |
Process results for a single method into summary rows
|
150 |
|
@@ -174,7 +174,7 @@ def process_single_method(json_data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
|
174 |
|
175 |
return summary_rows
|
176 |
|
177 |
-
def init_leaderboard_mib_causal(json_data_list
|
178 |
"""
|
179 |
Creates a leaderboard summary for causal intervention results from multiple methods
|
180 |
|
|
|
117 |
)
|
118 |
|
119 |
|
120 |
+
def calculate_best_layer_scores(task_data):
|
121 |
"""
|
122 |
Calculate the best scores across layers for output token and location
|
123 |
|
|
|
144 |
'best_layer': int(best_layer)
|
145 |
}
|
146 |
|
147 |
+
def process_single_method(json_data):
|
148 |
"""
|
149 |
Process results for a single method into summary rows
|
150 |
|
|
|
174 |
|
175 |
return summary_rows
|
176 |
|
177 |
+
def init_leaderboard_mib_causal(json_data_list, track):
|
178 |
"""
|
179 |
Creates a leaderboard summary for causal intervention results from multiple methods
|
180 |
|