Live data from Hacker News

Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

infoq.com

11–20 of 78 posts

Re: Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

#11
post #9
post #7

If the model weights aren’t open source, the model isn’t open source in my opinion. It’s not like a switch transformer is that much more complicated to slap into pytorch than any other new research. Also in my personal opinion, while yes this model performs great, it’s ridiculously parameter inefficient. 1.6T parameters is 3.12TB using bfloat 16. I’d rather take 7x longer to train and have a model I can actually put…

> it’s ridiculously parameter inefficient How do you know that? Perhaps with this methodology you really need those 3.12TB to reach comparable performance?

If you read through the paper where they present switch transformers, they train all models to the same performance, so for example t5-large, at 770M parameters[1] is just as good as this model. That’s only 1.54GB

[1] https://huggingface.co/t5-large

Re: Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

#13
post #12

Since this type of model can be used for the task of "question answering", would it be possible to create a search engine with this type of model?

You could make something like an "expert system" with it. But since it doesn't seem to link back to the source, you'd never know if it was giving you a real answer or just making something up.

Re: Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

#14
post #2

lol they didn’t open source the model weights

Is this because they are afraid of the model misused, like used for generating fake reviews? It is frustrating that I've been hearing great news on NLP but am able to try none of them myself.

Re: Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

#15
post #8
post #2

lol they didn’t open source the model weights

If I did the math right it would be 3.12TB of weights, maybe they are trying to upload it to gdrive still. (/s, probably)

(They are definitely going to exceed their storage quotas.)

I want to see how well weights for these models compress, but it will take me some time to run this code and generate some. I'm guessing they won't compress well, but I can't articulate a reason why.

Re: Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

#17
post #15
post #8

Earlier quoted context omitted.

If I did the math right it would be 3.12TB of weights, maybe they are trying to upload it to gdrive still. (/s, probably)

(They are definitely going to exceed their storage quotas.) I want to see how well weights for these models compress, but it will take me some time to run this code and generate some. I'm guessing they won't compress well, but I can't articulate a reason why.

If weights compress, they have low information, which would suggest they're either useless or the architecture is bad.

Re: Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

#18
post #9
post #7

If the model weights aren’t open source, the model isn’t open source in my opinion. It’s not like a switch transformer is that much more complicated to slap into pytorch than any other new research. Also in my personal opinion, while yes this model performs great, it’s ridiculously parameter inefficient. 1.6T parameters is 3.12TB using bfloat 16. I’d rather take 7x longer to train and have a model I can actually put…

> it’s ridiculously parameter inefficient How do you know that? Perhaps with this methodology you really need those 3.12TB to reach comparable performance?

I beg to disagree.

[1] provides one with a whole-data-set training method (ADMM, one of such methods). Page 8 contains figure 2(b) - accuracy of training after specified amount of time. Note that ADMM start where stochastic gradient stops.

[1] https://arxiv.org/pdf/1605.02026.pdf

At [2] I tried to apply logistic regression trained using reweighted least squares algorithm on the same Higgs boson data set. I've got the same accuracy (64%) as mentioned in the ADMM paper with much less number of coefficients - basically, just the size of input vector + 1 instead of 300 such rows of coefficients and then 300x1 affine transformation. When I added squares of inputs (for the simplest approximation of polynomial regression) and used the same reweighted iterative least squares algorithm, I've got even better accuracy (66%) for double the number of coefficients.

[2] https://github.com/thesz/higgs-logistic-regression

There's a hypothesis [3] that SGD and ADAM are best optimizers because that everyone use and report on. Rarely if ever you get anything that differ.

[3] https://parameterfree.com/2020/12/06/neural-network-maybe-ev...

So, answering your question of "how do you know" - researchers at Google cannot do IRLS (search provides IRLS only for logistic regression in Tensorflow), they cannot do Hessian-free optimization ([4], closed due lack of activity - notice the "we can't support RNN due to the WHILE loop" bonanza), etc. All due to the fact they have to use Tensorflow - it just does not support these things.

https://github.com/tensorflow/tensorflow/issues/2682

I haven't seen anything about whole-data-set optimization from Google at all. That's why I (and only me - due to standing I take and experiments I did) conclude that they do not quite care about parameter efficiency.

Re: Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

#19
post #8
post #2

lol they didn’t open source the model weights

If I did the math right it would be 3.12TB of weights, maybe they are trying to upload it to gdrive still. (/s, probably)

The Waymo open dataset is about 1TB. I don't think releasing a 3TB dataset would present a technical challenge for Google.

Re: Google Open-Sources Trillion-Parameter AI Language Model Switch Transformer

#20
post #8
post #2

lol they didn’t open source the model weights

If I did the math right it would be 3.12TB of weights, maybe they are trying to upload it to gdrive still. (/s, probably)

The daily upload quota for a user is ~750 GB. It'll take a few days to upload that much data to Google Drive!
Post reply on HN