This is useful research, but this particular model itself is likely absolutely useless.
Bonsai 27B: A 27B-Class model that runs on a phone
41–50 of 278 posts
Re: Bonsai 27B: A 27B-Class model that runs on a phone
#42Entire blog post seems to be AI-generated :/
Re: Bonsai 27B: A 27B-Class model that runs on a phone
#43Re: Bonsai 27B: A 27B-Class model that runs on a phone
#44At this point all the different quantization and 'compression' (look at MPO applied to LLMs...) techniques start feeling a bit like snake oil. It's just gut feeling - or scores on benchmarks models are optimized for - what ends up deciding whether a technique is good enough or not.
Re: Bonsai 27B: A 27B-Class model that runs on a phone
#45This is useful research, but this particular model itself is likely absolutely useless.
Why make this comment without having tried it first? It very clearly is not useless and performs a lot better than one might expect. I am currently waiting to do more benchmarks of it in comparison to the full weight model, but it seems promising/better than Mistral Nemo at a lower file size.
Re: Bonsai 27B: A 27B-Class model that runs on a phone
#46How does this model compare to a recent 4G model? How do we know it retained intelligence from the parent rather then being fine tuned for the benchmarks?
I am not shtng on them or anything. I'd rather find it amazing, BUT given my limited knowledge, I feel the results miss fair comparison plots and the ones might be misleading. Buy I also reckon it might be me the problem. Anyone care to explain this poor silly fellow some of those points?
Re: Bonsai 27B: A 27B-Class model that runs on a phone
#47The models themselves are showing up on Hugging Face here: https://huggingface.co/prism-ml/models I've tried a couple in LM Studio - the GGUF one and the MLX one - but neither worked there. Anyone else get them to work? Might be that LM Studio needs to upgrade their llama.cpp or MLX engines first.
Depending on which model you're running, you might need to use the custom forks. Details are here -> https://github.com/PrismML-Eng/Bonsai-demo/blob/main/README....
Re: Bonsai 27B: A 27B-Class model that runs on a phone
#48I need help understanding this. I understood that the magic here is the quantization that allows it to use from 50G to 4G and their process retain most of the intelligence within Pareto limits of gain. And then they proceed to compare with other quantized models as in the level of intelligence per size. It gets to my attention though that the performance in tool calling is mostly affected which is a problem for other…
Re: Bonsai 27B: A 27B-Class model that runs on a phone
#49Earlier quoted context omitted.
this is a really dumb question, but how is -1 represented? is it a float? if so, how many bits is the float? I've never heard of a bit ever having more than two possible values
It’s still a bit with only two possible values. But they add a scaling factor to a group of them (128 for example) which when you factor in, results in a fractional number of bits per parameter.
The way they do it is packing like the other comment says.
Each byte represents 5 trinary values instead of 8 binary, and there is a little bit of waste.
Re: Bonsai 27B: A 27B-Class model that runs on a phone
#50I need help understanding this. I understood that the magic here is the quantization that allows it to use from 50G to 4G and their process retain most of the intelligence within Pareto limits of gain. And then they proceed to compare with other quantized models as in the level of intelligence per size. It gets to my attention though that the performance in tool calling is mostly affected which is a problem for other…