Live data from Hacker News

Show HN: I built a tiny LLM to demystify how language models work

github.com

161–170 of 174 posts

Re: Show HN: I built a tiny LLM to demystify how language models work

#161
post #156

Earlier quoted context omitted.

> If you loaded this into an agentic coding harness with a decent model, I can practically guarantee it would be able to help you figure out what's going on. My non-coder but technically savvy boss has been doing this lately to great success. It's nice because I spend less time on it since the model has taken my place for the most part.

> since the model has taken my place for the most part Hah, you realize the same thing is going on in your boss's head right? The pie chart of Things-I-Need-stronglikedan-For just shrank tiny bit...

my last employer was using ai to rank developers on most impactful code their prs are shipping.

Re: Show HN: I built a tiny LLM to demystify how language models work

#162
post #87

This really makes me think if it would be feasible to make an llm trained exclusively on toki pona ( https://en.wikipedia.org/wiki/Toki_Pona )

People have made toki pona translation models before, not exclusively trained though

Re: Show HN: I built a tiny LLM to demystify how language models work

#166
post #86
post #50

[flagged]

Meaning/goal of life is to reproduce. Food (and everything else) is only a means to it. Reproduction is the only root goal given by nature to any life form. All resources and qualities are provided are only to help mating.

I don't get why anyone downvoted you but maybe we can "all get along" by saying:

   "the meaning of life is to continue living."
Thus the short-term answer is "food" and "reproduction" is the long-term answer.

Re: Show HN: I built a tiny LLM to demystify how language models work

#167

Is there some documentation for this? The code is probably the simplest (Not So) Large Language Model implementation possible, but it is not straight forward to understand for developers not familiar with multi-head attention, ReLU FFN, LayerNorm and learned positional embeddings. This projects shares similarities with Minix. Minix is still used at universities as an educational tool for teaching operating system des…

I haven't heard minix in so long!

Re: Show HN: I built a tiny LLM to demystify how language models work

#169

Earlier quoted context omitted.

LLMs can tell you what the code does but not why the developer chose to do it that way. Also, large codebases are harder to understand. But projects like these are simple to discuss with an LLM.

> LLMs can tell you what the code does but not why the developer chose to do it that way. Do LLMs not take comments into consideration? (Serious question - I'm just getting into this stuff)

They do. Think of it like a very intelligent but somewhat unreliable engineer you can hire to look at your code. They have no context about the codebase beyond what’s written in the source code, or any docs you give them.

What I meant was the docs might provide explanations about the problems the codebase solves, design decisions, the abstractions chosen, etc that wouldn’t live in a particular source file. Any discussion someone has with an LLM about the codebase will lack this context in the explanations given if docs don’t exist.

Re: Show HN: I built a tiny LLM to demystify how language models work

#170

Great work! I still think that [1] does a better job of helping us understand how GPT and LLM work, but yours is funnier. Then, some criticism. I probably don't get it, but I think the HN headline does your project a disservice. Your project does not demystify anything (see below) and it diverges from your project's claim, too. Furthermore, I think you claim too much on your github. "This project exists to show that…

this comment seems to be astroturfing to sell a course

What do you mean, the LLM from Scratch book?
Post reply on HN