Better HN
topnewbestaskshowjobs
Log inSign up

xcodevn

349 karma · joined Sep 21, 2015 (11y ago) · 101 submissions

Submissions

comment 2y ago · link · parent

During inference, it is not a matrix x matrix operation, but rather a weight matrix x input vector operation, as we are generating one token at a time. The bottleneck now is how fast we can load the weight matrix from memory to tensor cores, hence the need for weight quantization.

comment 2y ago · link · parent

Look from a different point of view: this is a feature, not a bug. With this, every example has equal weight, while with the fix, every token has equal weight.

comment 2y ago · link · parent

Looking forward to Hinton receiving a Fields Medal for inventing backpropagation.

34.

Scaling up self-attention inference(neuralblog.github.io ↗)

1 points · by xcodevn · 2y ago · discuss

35.

Scaling up self-attention inference(neuralblog.github.io ↗)

1 points · by xcodevn · 2y ago · discuss

36.

Letter from Professors Bengio, Hinton, Lessig, & Russell(safesecureai.org ↗)

2 points · by xcodevn · 2y ago · discuss

comment 2y ago · link · parent

If you're reading this, you may be interested in my other work on "Exploring Llama-3 MLP Neurons" as well.

https://neuralblog.github.io/llama3-neurons/

38.

Logit Prisms: Decomposing Transformer Outputs for Mechanistic Interpretability(neuralblog.github.io ↗)

49 points · by xcodevn · 2y ago · 8 comments

comment 2y ago · link · parent

Yes, you're correct. The tokens are highlighted based on the neuron activation value, which is scaled to a range of 0 to 10.

comment 2y ago · link · parent

On a related note: recently, I released a visualization of all MLP neurons inside the llama3 8B model. Here is an example "derivative" neuron which is triggered when talking about the derivative concept.

https://neuralblog.github.io/llama3-neurons/neuron_viewer.ht...

comment 2y ago · link · parent

There is a simple web page where you can explore the neurons and discover interesting features yourself! With more than 400k neurons in the Llama3-8B model, there are plenty of fascinating neurons for you to uncover. Check it out and explore all the neurons at https://neuralblog.github.io/llama3-neurons/neuron_viewer.ht...

42.

Exploring MLP neurons inside Llama3 model(neuralblog.github.io ↗)

3 points · by xcodevn · 2y ago · 1 comment

comment 2y ago · link · parent

tldr: mamba is not as good as transformer.

comment 2y ago · link · parent

please help yourself and do a quick Google search about "zero shot" and "few shot" learning.

comment 2y ago · link · parent

Of course, it will require exponential data for zero shot. The keyword here is zero shot. If you think about it for a second, this applies to humans too. We also need exponential training data to do things without examples.

comment 2y ago · link · parent

> Probably not.

Lmao.

comment 2y ago · link · parent

I must say, understanding how transformers work is arguably the most important research problem in history, assuming that AGI can be achieved by just scaling up current LLM models on text, video, audio, etc.

comment 2y ago · link · parent

I am not trying to downplay the contribution of the paper, but isn't it obvious that this is the case?

comment 3y ago · link · parent

Even if OpenAI falls apart, this is still a good move.

comment 3y ago · link · parent

> 5. It has deep implications for the trajectory of a technology that many see as heralding a revolution at least as significant as — if not more than — agriculture or industry, with truly existential implications for humanity.

Yes, this is likely to be one of the most important events in human history. We are living through a special period of evolution on Earth.

comment 3y ago · link · parent

So this is what it looks like inside a car's dreams.

comment 3y ago · link · parent

Can anyone conduct a proper measurement of resistivity versus temperature and determine whether it's a superconductor or not?

53.

Self-reference is so cool(old.reddit.com ↗)

2 points · by xcodevn · 4y ago · discuss

54.

Pax: a PyTorch-like pytree module on top of Jax(github.com ↗)

3 points · by xcodevn · 5y ago · discuss

55.

Google Colab Pro+ ($50/month)(colab.research.google.com ↗)

5 points · by xcodevn · 5y ago · discuss

comment 5y ago · link · parent

"Analysing the agent’s internal representations, we can say that by taking this approach to reinforcement learning in a vast task space, our agents are aware of the basics of their bodies and the passage of time and that they understand the high-level structure of the games they encounter."

Wow, really amazing if true.

P.S.: After looking into their paper, it's not that impressive. They use agent's internal states (LSTM cells, attention outputs, etc.) to predict whether it is early in the episode, or whether the agent is holding an object.

57.

Prompting GTP-3 is like saying in your head

1 points · by xcodevn · 5y ago · discuss

comment 5y ago · link · parent

It is a single matrix multiplication to predict probabilities of all possible outputs. For example, with a hidden state of 1024 dimensions, and 8 bits output, it is 1024x256 parameters. 10 bits will need 1024x1024 params.

comment 5y ago · link · parent

This is a well known problem. The noise is due to mu-law compression. The 16 bit audio samples are compressed to 8, 9, or 10 bits before feeding to the neutral net. The reason is because predicting a categorical distribution of 2^16 values requires too many parameters. The noise was also in samples from the famous Wavenet from Deepmind (they used 8 bit mu law).

There are two ways to avoid this: 1. predict 8 high (coarse) bits, 8 low (fine) bits separately as in the original waveRNN paper. 2. use a mixture of logistic distributions as the predictive output as in the recent Lyra vocoder from Google.

1234