this post was submitted on 28 Feb 2024
40 points (97.6% liked)

LocalLLaMA

2249 readers
1 users here now

Community to discuss about LLaMA, the large language model created by Meta AI.

This is intended to be a replacement for r/LocalLLaMA on Reddit.

founded 1 year ago
MODERATORS
 

From the abstract: "Recent research, such as BitNet, is paving the way for a new era of 1-bit Large Language Models (LLMs). In this work, we introduce a 1-bit LLM variant, namely BitNet b1.58, in which every single parameter (or weight) of the LLM is ternary {-1, 0, 1}."

Would allow larger models with limited resources. However, this isn't a quantization method you can convert models to after the fact, Seems models need to be trained from scratch this way, and to this point they only went as far as 3B parameters. The paper isn't that long and seems they didn't release the models. It builds on the BitNet paper from October 2023.

"the matrix multiplication of BitNet only involves integer addition, which saves orders of energy cost for LLMs." (no floating point matrix multiplication necessary)

"1-bit LLMs have a much lower memory footprint from both a capacity and bandwidth standpoint"

Edit: Update: additional FAQ published

you are viewing a single comment's thread
view the rest of the comments
[–] fhein@lemmy.world 3 points 7 months ago (1 children)

They say that the models would have to be trained from scratch, and so far that has always been super expensive.

[–] rufus@discuss.tchncs.de 1 points 7 months ago* (last edited 7 months ago) (1 children)

Sure, I meant considerably more expensive than current methods... It's not really a downside if it's as expensive as other methods, because of the huge benefits it has after training is finished (on inference.)

If it's just that, the next base/foundation models would be surely conceptualized with this. And companies would soon pick up on it, since the initial investment in training would pay back quickly. And then you have like an 8x competetive advantage.

[–] fhein@lemmy.world 2 points 7 months ago (1 children)

Ah, I thought you meant why the researchers themselves hadn't produced any larger models. AFAIK neither MS or OAI has released even a 7b model, they might have larger BitNet models which they only use internally.

[–] rufus@discuss.tchncs.de 1 points 7 months ago* (last edited 7 months ago)

Hmm. I meant kind of both. I think them not releasing a model isn't a good sign to begin with. That wouldn't matter if somebody picked it up. (What I read from the paper is that they did some training up to 3B(?!) and then scaled that up in some way to get some more measurements without actually training larger models. So also internally they don't seem to have any real larger models. But even the small models don't seem to have been published. I mean I also don't have any insight on what amount of GPUs the researchers/companies have sitting around or what they're currently working on and using them for. It's a considerable amount, though.)

It's only been a few weeks. I couldn't find a comprehensive test / follow-up of their approach yet. However last week they released some more information: https://github.com/microsoft/unilm/blob/master/bitnet/The-Era-of-1-bit-LLMs__Training_Tips_Code_FAQ.pdf

And I found this post from 2 days ago where someone did a small training run and published the loss curve.

And some people have started doing some implementations on Github. I'm not sure though where this is supposed to be going without availability of actual models.