HackerTrans
トップ新着トレンドコメント過去質問紹介求人

croqaz

no profile record

投稿

Making a vintage LLM from scratch

crlf.link
104 ポイント·投稿者 croqaz·先月·29 コメント

TwoFold (2f), CLI text expander/template engine

github.com
17 ポイント·投稿者 croqaz·昨年·1 コメント

[untitled]

1 ポイント·投稿者 croqaz·4 年前·0 コメント

Blocking adware, malware, and tracking sites

crlf.link
1 ポイント·投稿者 croqaz·5 年前·2 コメント

Harden and secure browsers in containers, with GUI

crlf.link
58 ポイント·投稿者 croqaz·5 年前·31 コメント

Tomb: File Encryption on GNU/Linux

dyne.org
6 ポイント·投稿者 croqaz·5 年前·2 コメント

Things that only someone who has been programming 20 years would know

quora.com
23 ポイント·投稿者 croqaz·5 年前·7 コメント

コメント

croqaz
·先月·議論
Thank you very much! It is humbling and motivating to see other people interested in this.
croqaz
·先月·議論
Do share! I read all the blog posts where people share their experiences of building small scale LLMs "from scratch".
croqaz
·先月·議論
That's a fair point TBH. I said in my post that this LLM is first of all a learning project and I skipped an important step: the training loop. But on the other hand, how many data scientists are writing their own training loops? Is it even worth it? And how much learning do you want for one project, I mean, where do you stop? Why use "Huggingface Transformers" when you can write it from scratch, for learning? Why use Torch when you can write it from scratch, for learning? Why use Python when you can write in C, etc. It's cheating, right? In my case, I decided to skip the training loop and focus on the data processing and the hyper params and the rest of the higher level steps that took a ton of time anyway, and I reduced the friction. I do get your point tho. Now that I know how to train an LLM, maybe I'll write a training loop from scratch as a project, to learn how to do it.
croqaz
·先月·議論
"A more granular followup would be cool too"

Do you mind expanding this question? More granular in what way? what would you like to know that is missing from the post?
croqaz
·先月·議論
That's exactly what I had in mind. When I started this, I was jumping back and forth between this thought: "Can this model size actually generate logical English text?" and I played with a few different models of the same size and I was really really depressed when seeing how bad they are.... but then I discovered more and more tiny models and LaMini-125M, LaMini-256M, and nanowhale-100m, and SmolLM2-135M-Instruct are very very decent. So I decided to give it a try.
croqaz
·先月·議論
It looks like ROT13 text to me, I hope it's not Welsh. Don't want to offend anyone if that's their actual language :)
croqaz
·先月·議論
I am creating my tiny Llama 340M base model from scratch. If you're curious about the steps, challenges and cost, read on. I am still working on the instruct model.
croqaz
·昨年·議論
TwoFold is a small command line app that allows plain text files to behave like dynamic files. It is a hybrid between a text expande, a template engine and a mini programming language.
croqaz
·4 年前·議論
What are web snapshots; comparison of the most popular methods: WARC, HTML, rrWeb and a better alternative called "recorded".
croqaz
·5 年前·議論
DYI blocking, a few methods
croqaz
·5 年前·議論
Tomb consists of a simple shell script (Zsh) using standard filesystem tools (GNU) and the cryptographic API of the Linux kernel (cryptsetup and LUKS).