aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorfedorst2025-02-27 14:45:47 +0100
committerfedorst2025-02-27 14:45:47 +0100
commit313936c6ef070cbb6514165539c28dd0b3e45064 (patch)
treeb071c0cfd7e4a652200539692f416c6a21c8a5bb
parent1703fc3b39e35032855bc612e98e836bb991d3ad (diff)
downloadsec-certs-313936c6ef070cbb6514165539c28dd0b3e45064.tar.gz
sec-certs-313936c6ef070cbb6514165539c28dd0b3e45064.tar.zst
sec-certs-313936c6ef070cbb6514165539c28dd0b3e45064.zip
merge conflict squash
-rw-r--r--notebooks/cc/llm_annotation.ipynb6
1 files changed, 4 insertions, 2 deletions
diff --git a/notebooks/cc/llm_annotation.ipynb b/notebooks/cc/llm_annotation.ipynb
index 9aedc0e5..0888b920 100644
--- a/notebooks/cc/llm_annotation.ipynb
+++ b/notebooks/cc/llm_annotation.ipynb
@@ -392,16 +392,18 @@
},
{
"cell_type": "code",
- "execution_count": 42,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# running this cell costs about 0.15EUR with gpt4o-mini\n",
+ "\"\"\"\n",
"if \"llm_annotation_results.parquet\" not in os.listdir(): # delete the file if you want to re-run things\n",
" results = asyncio.run(process_dataframe_async(df_annotations))\n",
" df_annotations[\"gpt4omini_label\"], df_annotations[\"gpt4omini_reason\"] = zip(*results)\n",
" df_annotations.to_parquet(\"llm_annotation_results.parquet\")\n",
- "df_results = pd.read_parquet(\"llm_annotation_results.parquet\")"
+ "df_results = pd.read_parquet(\"llm_annotation_results.parquet\")\n",
+ "\"\"\""
]
},
{