Skip to content

Instantly share code, notes, and snippets.

View echallenge's full-sized avatar

eDad echallenge

  • eCorp - iChallenge.com
  • X @ecorp
View GitHub Profile
@echallenge
echallenge / llm-wiki.md
Created May 2, 2026 15:09 — forked from karpathy/llm-wiki.md
llm-wiki

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@echallenge
echallenge / SNER_preparer
Created November 23, 2020 04:56 — forked from troyane/SNER_preparer
Script to prepare Stanford NER to work with your Python and NLTK
#!/bin/bash
mkdir my_project
cd my_project
echo " . . . Downloading file stanford-ner-2014-08-27.zip"
# NOTE: need to update link for further versions
wget http://nlp.stanford.edu/software/stanford-ner-2014-08-27.zip
echo " . . . Unpacking stanford-ner-2014-08-27.zip"
136,000 eth.ens.domains
136,000 gnunet.org
202,985 dnscrypt.info
202,985 marples.name
202,985 riseup.net
405,970 datprotocol.com
405,970 webtorrent.io
408,000 blockstack.com
608,955 mozilla.com
608,957 darksi.de