most of this should've been committed a long time ago...

This commit is contained in:
2026-06-05 16:50:55 -06:00
parent de3b36cc93
commit 719951a348
6 changed files with 102 additions and 123 deletions
+18
View File
@@ -0,0 +1,18 @@
# LLM Tricks
Trying to find *anything* useful to do with local LLMs.
All scripts work with data within `PRIVATE_DATA/` so that private data can't be
accidentally committed.
###### `cosine_similarity.lua`
Opens `embeddings.json` and creates `similarities.json` with a sorted list of
comparisons.
###### `generate_embeddings.lua`
Opens every file on its whitelist within the `notebook` directory, and generates
embeddings (placed in `embeddings.json`). When files are too long, it truncates
them.
###### `least_similar.lua`
Opens `similarities.json`, reverses the sort order, and saves it as
`differences.json`.