Live data from Hacker News

NanoGPT

github.com

191–200 of 334 posts

Re: NanoGPT

#191

Earlier quoted context omitted.

Or GPT-365

Then they can bring back the talking paperclip, but this time actually useful.

It could actually work. It would be an incredibly gutsy move and I love it, and they'd probably earn a lot of respect. They’d get so much press for it. And if it held up, it’d probably be one of the things that MS is remembered for.

Re: NanoGPT

#192

Earlier quoted context omitted.

If you google "GPT-2 vs GPT-3" you'll find lots of overviews and comparisons, like: * https://www.kdnuggets.com/2021/02/gpt2-gpt3-openai-showdown.... * https://bakztfuture.substack.com/p/the-chasm-between-gpt-2-a...

Thanks. Sounds like they 10x'ed the number of parameters, which made some "magic leap" that isn't yet well understood, and fed it more data to train it on more specialized domains.

Yes, although Chinchilla seems to imply that training data size matters a lot more than parameter count, and nanoGPT author is trying to reproduce that here:

https://github.com/karpathy/nanoGPT/blob/master/scaling_laws...

Re: NanoGPT

#193
post #63
post #60

Is there any trained model for text generation that you can run locally yet?

There’s LAION working on open source[1] version of chatGPT [1] https://github.com/LAION-AI/Open-Assistant

Though their roadmap doc says they're looking into finetuning existing GPT-J/T5 models for this task. So you'll probably want a 3090 (24GB VRAM) and at least 16GB of CPU RAM to run inference if/when the project is complete.

Re: NanoGPT

#194

Thank you Andrej Karpathy for the work on ai and gpt models. It really helped me solve a problem as entrepreneur. I started making first few grand from ai.

May i ask how? Consulting?

Re: NanoGPT

#195
post #72

Andrej doesn't need to do this. He's done it because he evidently loves it, and wants to share his hard-earned knowledge with the rest of the world. He may be a product of the ivory tower, but he's been in the trenches . He knows firsthand how f-ing hard it is to ship a product. And here he is, sharing useful personal code with everyone. This github repo now has collected ~4K stars and its antecessor (minGPT) has col…

I’m all for thanking open source contributors, but your excessively prostrating wording is a bit much for me.

Re: NanoGPT

#196

Earlier quoted context omitted.

Thanks. Sounds like they 10x'ed the number of parameters, which made some "magic leap" that isn't yet well understood, and fed it more data to train it on more specialized domains.

Yes, although Chinchilla seems to imply that training data size matters a lot more than parameter count, and nanoGPT author is trying to reproduce that here: https://github.com/karpathy/nanoGPT/blob/master/scaling_laws...

Oh, that's really interesting, and makes sense intuitively. From the abstract:

> We find that current large language models are significantly under-trained, a consequence of the recent focus on scaling language models whilst keeping the amount of training data constant ... the model size and the number of training tokens should be scaled equally: for every doubling of model size the number of training tokens should also be doubled.

Assuming the GPT-3 authors know this, one could surmise they 10x'ed the number of training tokens also.

Edit: Should have kept reading. Sounds like GPT-3 was found to be undertrained.

Re: NanoGPT

#197
post #89

This is really good, and I was really excited by it but then I read: > running on a single 8XA100 40GB node in 38 hours of training This is a $40-80k machine. Not a diss, but I would love to see an advance that would allow anyone with a high end computer to be able to improve on this model. Before that happens this whole field is going to be owned by big corporations.

I don't know if that's a blocker. Ordinary people commonly rent a $40k machine for 38 hours from companies like Avis and Hertz. If training a large model now costs the same as driving to visit grandma, that seems like a pretty good deal.

[deleted]

Re: NanoGPT

#198
post #164

Earlier quoted context omitted.

I couldn't find any references to George Patrick Turnbull. If that an ancestor of yours? If so, the comment seems rather subjective.

They're being facetious about the '355 years to train' thing. ;)

OK haha good one then. Mine was a bit too subtle.

Re: NanoGPT

#199

I could not find any sample (prompt and results). Can anyone provide samples of it's quality, even if it is in a narrow field of knowledge or specific use case? I tried GPT2, GPT-J 6B and GPT-NeoX 20B (implementation by Fabrice Bellard at textsynth.com/playground.html) but I could not find any production-quality scenario yet, only cherry-picked simple cases.

That's what I really miss to conclude if I should try it myself or not.

Re: NanoGPT

#200

Earlier quoted context omitted.

As models get bigger less and less neurons get activated by any given input. If you can somehow predict which neurons get activated you can skip the vast majority of the computational load. I have read a paper where they argued that only 0.5% of the neurons are actually active in a 200 million parameter model so you can get a 200x improvement just from that. What this tells you is that there is very little money in o…

> very little money in optimizing deep learning Oh - there are a lot of people working on optimizing AI. Amongst hobbyists, academia, and corporations alike. The thing is, if you come up with a neat optimization that saves 30% of compute for the same results, typically instead of reducing your compute budget 30%, you instead increase your model/data size 30% and get better results.

Jevon's paradox of data and AI. The more efficiently data is used, the more demand their is for data.
Post reply on HN