Merge branch 'mrh-online-dev' of github.com:BRUNIX-AI/assistance-engine into mrh-online-dev

This commit is contained in:
pseco 2026-02-24 16:59:38 +01:00
commit cdd5f45ae1
1 changed files with 48 additions and 0 deletions

View File

@ -261,6 +261,54 @@
"print(\"Recall:\", recall_qwen_2)\n",
"print(\"Precision:\", precision_qwen_2)"
]
<<<<<<< HEAD
=======
},
{
"cell_type": "code",
"execution_count": 14,
"id": "1db7d110",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Resultados guardados en /home/acano/PycharmProjects/assistance-engine/data/interim/beir_cosqa_results.json\n"
]
}
],
"source": [
"results_data = {\n",
" \"qwen3-0.6B-emb:latest\": {\n",
" \"NDCG\": ndcg,\n",
" \"MAP\": _map,\n",
" \"Recall\": recall,\n",
" \"Precision\": precision,\n",
" },\n",
" \"qwen2.5:1.5b\": {\n",
" \"NDCG\": ndcg_qwen_2,\n",
" \"MAP\": _map_qwen_2,\n",
" \"Recall\": recall_qwen_2,\n",
" \"Precision\": precision_qwen_2,\n",
" }\n",
"}\n",
" \n",
"output_file = \"/home/acano/PycharmProjects/assistance-engine/data/interim/beir_cosqa_results.json\"\n",
"with open(output_file, \"w\") as f:\n",
" json.dump(results_data, f, indent=2)\n",
" \n",
"print(f\"Resultados guardados en {output_file}\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e4f8d78b",
"metadata": {},
"outputs": [],
"source": []
>>>>>>> 4b5352d93cf89b7562895b550fb5bd62160586c5
}
],
"metadata": {