News for hackers. Stuff that matters.
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by whazor on Wednesday December 22, 2021 @02:10AM (#29646356)
Very interesting. GPT-J is an opensource free alternative to GPT-3 and requires at least 12.1GB memory to run the model (which is reduced from original 48GB ram). But if the model stores some kind of index and does internet searches (or hard drive) instead, then it could scale much further as there is a limit on how much memory you can use in production.
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by endymi0n on Wednesday December 22, 2021 @04:17AM (#29647124)
Just doing some napkin math, the whole GPT-J corpus was around 500 billion tokens, which at 4 tokens per byte would be roundabout 2 Terabyte. That, parked on a fast NVMe SSD will give you roundabout 1MM random lookups per second. Even with some transfers inbetween, this should be more than enough to not just perform in equal time, but probably less — as well as cost you less than the GPU you need for the reduced size model.

Exciting times.

Re:DeepMind’s new AI with a memory outperforms algorithms 25... by GistNoesis on Wednesday December 22, 2021 @06:18AM (#29647872)
The real problem with (NVMe) SSD is that they have a limited number of write cycles (a max TB written).

If you don't update your database and indices they are great. But that's something really tempting to do when you do some machine learning, (specially if you know that people with deeper pockets will do so).

Typically you will have a neural network, you run it on your dataset, it produces a new dataset of embeddings, you index them, and you use this index to train a new neural network, and you repeat the loop, hopefully improving results along the way.

NVMe SSD can write at 6GB/s but can only write ~800TB that's about 37 hours of lifetime at max speed.

Re:DeepMind’s new AI with a memory outperforms algorithms 25... by iggldiggl on Friday December 24, 2021 @07:46PM (#29679241)
> Just doing some napkin math, the whole GPT-J corpus was around 500 billion tokens, which at 4 tokens per byte would be roundabout 2 Terabyte.

"Only" 825 GB actually: https://pile.eleuther.ai/

A not-insignificant fraction of that is definitively copyrighted material, though, which raises some interesting questions when switching to a model of distributing "a smaller trained model plus the original raw training data" (though it seems that the team behind GPT-J are clearly happy to distribute their full set of data anyway, and seem to be enough under the radar to not attract the wrong sort of attention,at least for now).

Re:DeepMind’s new AI with a memory outperforms algorithms 25... by robbedpeter on Friday December 24, 2021 @09:39PM (#29679853)
Not pointing out such potential problems in public forums is likely to extend the possibility that it remains readily available.
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by iggldiggl on Sunday December 26, 2021 @06:20AM (#29691489)
Touché. (Though with regard to those particular problematic bits, they already tweeted themselves about it, and that tweet had more likes than this submission currently has points)
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by sbierwagen on Wednesday December 22, 2021 @02:41AM (#29646513)
>48GB ram

48GB VRAM? 48+ gigabytes of system ram is cheap, 48 gigabytes of ram on a GPU is still painfully expensive.

Re:DeepMind’s new AI with a memory outperforms algorithms 25... by moffkalast on Wednesday December 22, 2021 @10:54AM (#29650926)
Yes, in this GPU market that's essentially a new car's worth of cash.
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by robbedpeter on Friday December 24, 2021 @09:36PM (#29679827)
Or $10 a month for colab or any of the various and sundry cloud services available. If you end up needing a dedicated service, huggingface is phenomenal - the barriers to using large language models are trivial.
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by JudasGoat on Wednesday December 22, 2021 @07:29PM (#29657274)
The Amd APU's would be interesting although under powered. They give you the option of setting "VRAM" size to almost any percentage of system memory.
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by schleck8 on Wednesday December 22, 2021 @06:12AM (#29647835)
GPUs are the slowing factor in general if I'm not mistaken when it comes to Deep Learning progress.
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by charcircuit on Wednesday December 22, 2021 @02:50AM (#29646568)
Yes, vram
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by x3al on Wednesday December 22, 2021 @06:16AM (#29647859)
Would m1 max work?
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by blovescoffee on Wednesday December 22, 2021 @12:16PM (#29652221)
Right now there's meh Deep Learning support on the m1 max. TensorFlow is ~supported~, PyTorch is not. Apple has their Neural Engine and CPU/GPU architectures sort of hidden and so it's hard to port or support them.
Re:DeepMind’s new AI with a memory outperforms algorithms 25... by spywaregorilla on Wednesday December 22, 2021 @08:09AM (#29648807)
Isn't this what watson used to do?