Live data from Hacker News

Bamba: An open-source LLM that crosses a transformer with an SSM

research.ibm.com

61–70 of 73 posts

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#61

This type of architecture is definitely the future. Unlimited attn is a dead end. As a human you don't need to scan an entire book just to guess what the next word will be and LLMs shouldn't need that either.

Not be contrarian, but if the next word prediction happens to be someone's name or a place or something discussed multiple places in the book then often, yes, a knowledge of the full plot of the book is "required" just to predict the next word, as you get to the middle or end of a book. For example you could never fill in the last chapter of any good book without having knowledge of every previous chapter. Not highly…

Isn't this exactly the point of this model? No need to memorize everything (which makes transfomers expensive), just keep the relevant info. SSM are essentially recurrent models.

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#62

> they added another trillion tokens and shrank the model from 18 GB to 9 GB through quantization, reducing its bit width from Mamba2’s 16-bit floating-point precision to 8-bits. This sounds like what they call "Bamba-9B" is actually an 18B model quantised to 8 bits. I thought generally we were naming models "nB" by their number of params and treating quantisation as a separate concern. Are there any other models tha…

Yeah, that's confusing, but the HuggingFace page says it has 9.78 B parameters.

https://huggingface.co/ibm-ai-platform/Bamba-9B-fp8

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#63

> they added another trillion tokens and shrank the model from 18 GB to 9 GB through quantization, reducing its bit width from Mamba2’s 16-bit floating-point precision to 8-bits. This sounds like what they call "Bamba-9B" is actually an 18B model quantised to 8 bits. I thought generally we were naming models "nB" by their number of params and treating quantisation as a separate concern. Are there any other models tha…

> This sounds like what they call "Bamba-9B" is actually an 18B model quantised to 8 bits.

No it doesn't? The fact that it is 18 GB with 16 bit per parameter before quantization means that it is a 9B parameter model.

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#64
post #63

> they added another trillion tokens and shrank the model from 18 GB to 9 GB through quantization, reducing its bit width from Mamba2’s 16-bit floating-point precision to 8-bits. This sounds like what they call "Bamba-9B" is actually an 18B model quantised to 8 bits. I thought generally we were naming models "nB" by their number of params and treating quantisation as a separate concern. Are there any other models tha…

> This sounds like what they call "Bamba-9B" is actually an 18B model quantised to 8 bits. No it doesn't? The fact that it is 18 GB with 16 bit per parameter before quantization means that it is a 9B parameter model.

Ah thanks, I see where I got confused now.

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#65

Earlier quoted context omitted.

Not be contrarian, but if the next word prediction happens to be someone's name or a place or something discussed multiple places in the book then often, yes, a knowledge of the full plot of the book is "required" just to predict the next word, as you get to the middle or end of a book. For example you could never fill in the last chapter of any good book without having knowledge of every previous chapter. Not highly…

Isn't this exactly the point of this model? No need to memorize everything (which makes transfomers expensive), just keep the relevant info. SSM are essentially recurrent models.

You can't always know what will be "relevant info" in the future. Even humans can't do this but whenever that's an issue, we just go back and re-read, re-watch etc.

None of these modern recurrent architecture have a way to do this.

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#66

Wonder if the name is inspired by my favorite snack, bamba. The best are the hazelnut bamba. Btw bamba if given to kids at a young age can drastically reduce the chance of peanut allergies

Bamba means cocaine in Italian. Better not to give it to kids

Well, have you ever heard of the Mitsubishi Pajero? [1]

https://en.wikipedia.org/wiki/Mitsubishi_Pajero

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#67

Earlier quoted context omitted.

Isn't this exactly the point of this model? No need to memorize everything (which makes transfomers expensive), just keep the relevant info. SSM are essentially recurrent models.

You can't always know what will be "relevant info" in the future. Even humans can't do this but whenever that's an issue, we just go back and re-read, re-watch etc. None of these modern recurrent architecture have a way to do this.

How often do you go back an rewatch earlier parts of a movie? I hardly ever do this. In the cinema, theater, or when listening to the radio it’s simply impossible and it still works.

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#68
post #55
post #50

Earlier quoted context omitted.

Let me show you the etymology of Bamba: SSM (state space model) -> SSSM (structured state space model) -> (it's like a snake ssss...) Mamba -> Bamba

Where does the B come from?

Bamba is a traditional Mexican dance. An earlier MAMBA based SSM was called "SAMBA", a Brazilian dance I believe.

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#69

Earlier quoted context omitted.

I think in a way it makes transformers superior to humans, their short term memory is much more powerful =) Supporting extra long contexts also make transformers super human. Because, again, human's short term memory is exactly this - short term. And much shorter than millions of tokens we expect from models nowadays. As for SSMs - I think they compress model memory state way too much. Mixed global/local attention la…

> And much shorter than millions of tokens we expect from models nowadays. Yet all current model still suck above 32k. (Yes some can do needle in a haystack fine, but they still fail at anything even slightly more complex over a long context). 32k is still much higher than humans' though, so I agree with you that it gives them some kind of super human abilities over moderately long context, but they are still disappo…

Out of curiosity I estimated per day context size (of text only!) by multiplying reading speed by number of minutes: 16 * 60 * 300 = 288000 words ~ 288000 tokens.

Re: Bamba: An open-source LLM that crosses a transformer with an SSM

#70

Earlier quoted context omitted.

You can't always know what will be "relevant info" in the future. Even humans can't do this but whenever that's an issue, we just go back and re-read, re-watch etc. None of these modern recurrent architecture have a way to do this.

How often do you go back an rewatch earlier parts of a movie? I hardly ever do this. In the cinema, theater, or when listening to the radio it’s simply impossible and it still works.

You are mentioning avenues that are largely for entertainment. Sure you might not go back to re-attend for those. If you will be tested or are doing research, are you really looking at a large source once ?
Post reply on HN