Skip to content

Commit a3c281c

Browse files
committed
clean the extra code
1 parent 024d997 commit a3c281c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/downstream/knowledge/konw_pred.ipynb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,7 @@
200200
"# metrics for per layer\n",
201201
"for layer_idx, perfs in enumerate(perfs_per_layer):\n",
202202
" precision, recall, f1, acc = metric(*perfs)\n",
203-
" print(f\"Layer {layer_idx + 1}: Precision: {precision:.4f}, Recall: {recall:.4f}, F1: {f1:.4f}, Acc: {acc:.4f}\")\n",
204-
"\n",
205-
"\n",
206-
"eval(eval_dataloader, )"
203+
" print(f\"Layer {layer_idx + 1}: Precision: {precision:.4f}, Recall: {recall:.4f}, F1: {f1:.4f}, Acc: {acc:.4f}\")"
207204
]
208205
}
209206
],

0 commit comments

Comments
 (0)