Better HN
topnewbestaskshowjobs
Log inSign up

croqaz

78 karma · joined Jun 13, 2020 (6y ago) · 23 submissions

In Ireland.

https://github.com/croqaz/

https://crlf.link/

Submissions

comment 2mo ago · link · parent

I built a pile of new datasets, 3 new vintage models, a benchmark, an evaluation pipeline, experiments and a very good vintage tokenizer.

Demo play with the vintage-LLM: https://huggingface.co/spaces/croqaz/Piston-and-Prose

2.

Making a vintage LLM from scratch; Take #2(crlf.link ↗)

2 points · by croqaz · 2mo ago · 1 comment

comment 5mo ago · link · parent

Thank you very much! It is humbling and motivating to see other people interested in this.

comment 5mo ago · link · parent

Do share! I read all the blog posts where people share their experiences of building small scale LLMs "from scratch".

comment 5mo ago · link · parent

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.

comment 5mo ago · link · parent

"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?

comment 5mo ago · link · parent

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.

comment 5mo ago · link · parent

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 :)

comment 5mo ago · link · parent

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.

10.

Making a vintage LLM from scratch(crlf.link ↗)

104 points · by croqaz · 5mo ago · 29 comments

comment 1y ago · link · parent

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.

12.

TwoFold (2f), CLI text expander/template engine(github.com ↗)

17 points · by croqaz · 1y ago · 1 comment

comment 4y ago · link · parent

What are web snapshots; comparison of the most popular methods: WARC, HTML, rrWeb and a better alternative called "recorded".

comment 4y ago · link · parent

DYI blocking, a few methods

15.

Blocking adware, malware, and tracking sites(crlf.link ↗)

1 points · by croqaz · 4y ago · 2 comments

16.

Harden and secure browsers in containers, with GUI(crlf.link ↗)

58 points · by croqaz · 5y ago · 31 comments

comment 5y ago · link · parent

Tomb consists of a simple shell script (Zsh) using standard filesystem tools (GNU) and the cryptographic API of the Linux kernel (cryptsetup and LUKS).

18.

Tomb: File Encryption on GNU/Linux(dyne.org ↗)

6 points · by croqaz · 5y ago · 2 comments

19.

Things that only someone who has been programming 20 years would know(quora.com ↗)

23 points · by croqaz · 5y ago · 7 comments

comment 6y ago · link · parent

The same in Romania. In the 90s, everyone I know had to learn how to write with a fountain pen. For me at least, I write horribly when I use a ballpoint pen, vs a fountain pen. Because the ballpoint slides on the paper much too easy, like on ice, and you need much more discipline to write nicely. A fountain pen nib is generally more scratchy and feels easier to control. My 2 cents anyway...

comment 6y ago · link · parent

I love my Plaisir too! I have a green color and of course, it's always inked with green :)

comment 6y ago · link · parent

Wow, I had no idea my crappy post ended on Hacker news! I just collected a bunch of info and links for myself :) I guess I have to update the post with some pictures, at least...