This folder contains a blog-ready Chart.js bundle for the existing Llama patch detection figures generated from Compare-Methods.ipynb.
Scope:
Coco, Broden-OpenSurfaces, Broden-Pascal, iSarcasm, GoEmotionsLlamapatchavg, linsep, kmeans, linsep kmeansprompt, randomf1100Files:
export_llama_patch_detection_vs_sparsity_bundle.py: Rebuilds the JSON bundle from raw files in Experiments/.llama_patch_detection_vs_sparsity.json: Exported chart data for the five blog charts.llama_patch_detection_vs_sparsity_chart.js: Native Chart.js renderer for the full bundle.llama_patch_detection_vs_sparsity_preview.html: Standalone preview page.Suggested usage:
llama_patch_detection_vs_sparsity.json and llama_patch_detection_vs_sparsity_chart.js into your blog assets.<div id="compare-methods-charts"></div>.renderCompareMethodsCharts("#compare-methods-charts", bundle).fetch, so file:// loading may be blocked by the browser.Note:
Blog_Posts/ directory in this repo, so this bundle lives under Figs/Blog_Figs/detection_vs_sparsity/.Figs/Paper_Figs/patch_*_Llama_dataset_detection.png.