Beyond self-attention: How a small language model predicts the next token
A deep dive into the internals of a small transformer model to learn how it turns self-attention calculations into accurate predictions for the next token.
Topics /
The most popular blog posts about ai & machine learning on Hacker News. 310 posts.
A deep dive into the internals of a small transformer model to learn how it turns self-attention calculations into accurate predictions for the next token.
Google search results are becoming annoying to use and Open AI is about to eat Google's lunch.
Understand how transformers work by demystifying all the math behind them
By structuring the comments on Hacker News using a predefined response_scheme for the LLM, I’ve tried to get a feeling for current job market and trends.
Asking it to repeat "ponyuseRal ponyuseRal ponyuseRal pony" makes API requests fail
Security tends to lag behind adoption, and AI/ML is no exception. Four months ago, Adnan Khan and I exploited a critical CI/CD vulnerability in PyTorch, one of the world’s leading ML platform…
I don't think that AI models (by which I mean: large language models) are over-hyped. In this post I will list 50 ways I've used them.
On goal drift and lower reliability. Or, why can't LLMs play Conway's Game Of Life?
A metascience post of sorts that argues we should take human capital more seriously
Not a joke
Chronicles of training strong LLMs from scratch in the wild
Finetunes of Mistral, Llama3 and Solar LLMs are more accurate for my test data than OpenAI’s models.
[Hacker News discussion, LinkedIn discussion, Twitter thread]
Picat is a research language intended to combine logic programming, imperative programming, and constraint solving. I originally learned it to help with vacation scheduling but soon discovered its planner module, which is one of the most fascinating programming models I’ve ever seen. First, a brief explanation of…
The market needs to be irrational for you to stay solvent.
I document how I run Large Language Models locally.
So the big news this week is that o3, OpenAI’s new language model, got 25% on FrontierMath. Let’s start by explaining what this means.
<p>I've seen a few conversations where someone says something like this:</p> <blockquote> <p>I've been using an open-source LLM lately -- I'm a huge fan of not depending on OpenAI, Anthropic, or Google. But I'm really sad that the AI safety groups are trying to ban the kind of open-source LLM that I'm using.</p>…
On one side, LLMs show unseen capabilities in reasoning, but on the other - reasoning in LLMs is not ideal.
This tutorial aims to give a gentle introduction to diffusion models, with a running example to illustrate how to build, train and sample from a simple diffusion model from scratch.
tl;dr; show me the demo and source code!
I have held back on writing anything about AI or how we (not) use AI for development in the curl factory. Now I can't hold back anymore. Let me show you the most significant effect of AI on curl as of today - with examples. Bug Bounty Having a bug bounty means that we offer … Continue reading The I in LLM stands for…
Explanation of TinyML, what it is used for and the main techniques it uses
Google’s NotebookLLM is the first AI podcast I’d actually listen to. Give it a web page or document, and it will generate you a podcast about it.