Update README.md
Browse files
README.md
CHANGED
@@ -58,6 +58,15 @@ API token already exists in /Users/user/.semgrep/settings.yml. To login with a d
|
|
58 |
After the run, the script will also create a log file which captures the stats for the run and the files that were fixed.
|
59 |
You can see an example [here](https://huggingface.co/datasets/patched-codes/static-analysis-eval/blob/main/gpt-4o-mini_semgrep_1.85.0_20240818_215254.log).
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
# Leaderboard
|
62 |
|
63 |
The top models on the leaderboard are all fine-tuned using the same dataset that we released called [synth vuln fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes).
|
|
|
58 |
After the run, the script will also create a log file which captures the stats for the run and the files that were fixed.
|
59 |
You can see an example [here](https://huggingface.co/datasets/patched-codes/static-analysis-eval/blob/main/gpt-4o-mini_semgrep_1.85.0_20240818_215254.log).
|
60 |
|
61 |
+
We did some detailed evaluation with gpt-4o-mini recently:
|
62 |
+
|
63 |
+
| Model | Score | Logs |
|
64 |
+
|:-----:|:-----:|:----:|
|
65 |
+
| gpt-4o-mini | 67.11 | [link](https://huggingface.co/datasets/patched-codes/static-analysis-eval/blob/main/gpt-4o-mini_semgrep_1.85.0_20240818_215254.log)|
|
66 |
+
| gpt-4o-mini + 3-shot prompt | 71.05 | [link](https://huggingface.co/datasets/patched-codes/static-analysis-eval/blob/main/gpt-4o-mini-3-shot_semgrep_1.85.0_20240818_234709.log)|
|
67 |
+
| gpt-4o-mini + rag (embedding & reranking) | 72.37 | [link](https://huggingface.co/datasets/patched-codes/static-analysis-eval/blob/main/gpt-4o-mini-1-shot-sim_semgrep_1.85.0_20240819_013810.log) |
|
68 |
+
| gpt-4o-mini + fine-tuned with [synth-vuln-fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes) | 77.63 | [link](https://huggingface.co/datasets/patched-codes/static-analysis-eval/blob/main/ft_gpt-4o-mini-2024-07-18_patched_patched_9uUpKXcm_semgrep_1.85.0_20240818_220158.log) |
|
69 |
+
|
70 |
# Leaderboard
|
71 |
|
72 |
The top models on the leaderboard are all fine-tuned using the same dataset that we released called [synth vuln fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes).
|