justsomeguy1996
Joined 4 years ago
Joined 4 years ago
- Slightly improved recall
- Faster index creation
- Online addition of vectors without recalibrating the index
The last point in particular is a big infrastructure win I think.
The repo reproduces the benchmarks from Section 4.4 of the paper — recall@1@k on GloVe (d=200) and OpenAI embeddings (d=1536, d=3072). At 4-bit on d=1536, you get 0.967 recall@1@1 with 8x compression. At 2-bit, 0.862 recall@1@1 with ~16x compression.
Being able to read the real source code makes a big difference. The model can see how functions actually behave, verify that the APIs it's calling exist and work the way it thinks, and build implementations that are grounded in reality rather than guesswork.
Sourced indexes every package on PyPI (800k+) and npm (3M+), with new releases picked up within 5 minutes. It exposes three tools via MCP — read, grep, and glob — so your agent can navigate source code the same way you would locally. It's lightweight and fast.
Install: curl -sL sourced.dev/install | sh
Works with Claude Code, Cursor, VS Code, Windsurf, Codex, and others.
The habit of studying is the most important habit you can learn at this early stage. If you haven't read it, I strongly advise you read Atomic Habits. It's really helped me. Here are some great mathematics for machine learning courses, some I have taken and some I am currently studying.
Study tips: - Always show up even if you only study for 5 minutes, it's more important to show up than to be perfect - Make studying a daily habit even if you only do it for a short amount of time - Stack studying onto the end of another daily habit, e.g. study after you've eaten breakfast before you start work (this is what I do) - Make studying satisfying (I bought a small calendar and cross of each day I succeeded with a sharpie and it's super satisyfing crossing them off) - Remove distractions by putting your phone on charge in another room - Make notes on new concepts in the form of questions, these can be used later on flash cards to help refresh the material and avoid the effects of the forgetting curve - Write code to see the math in action. Running code is immediately gratifying and makes the value of the maths real and tangible.
- https://www.coursera.org/learn/machine-learning (free, approachable) - https://www.udemy.com/course/machine-learning-data-science-f... (like £10 on sale, very approachable) - https://www.udemy.com/course/mathematics-statistics-of-machi... (like £10 on sale) - https://www.coursera.org/specializations/deep-learning - https://mml-book.github.io/book/mml-book.pdf [textbook, not very approachable until you have some background] (free)
I replicated their methodology on Google's Gemma 4 E4B (open-weight) and released the datasets and code. The repo includes everything needed to build expression probes (detecting expressed emotions) and deflection probes (detecting suppressed emotions), plus an interactive visualiser.
Datasets on HuggingFace: https://huggingface.co/datasets/ryancodrai/emotion-probes