by tofof · 1y ago · 0 comments
Remember sampling from formal grammar is a thing! This is relevant, because llama.cpp has GBNF, and lazy grammar[2] setting now, which is making it double not-half-bad for a handful of use-cases, less of all deployments like this. That is to say, the grammar kicks in after </think>. Not to mention, it's always subject to further fine-tuning: multiple vendors are now offering "RFT" services, i.e. enriching your normal SFT dataset with synthetic reasoning data from the big-boy R1 himself. For all intents and purposes, this result could be much more valuable prior than you're giving it credit for!
6 tok/s decoding is not much, but Raspberry Pi people don't care, lol.
[1] https://github.com/deepseek-ai/DeepSeek-R1#distilled-model-e...
"Distilled" models are other models (Llama, Qwen) that have been put through an additional training round using DeepSeek as a teacher.
And is there a domain specific term I can look into if I wanted to read about someone trying to keep all the bits, but the runtime (trying to save ram) focusing in on parts of the data instead of this quantization?
The folks who quantized DeepSeek say they used a piece of tech called "BitsAndBytes". https://unsloth.ai/blog/dynamic-4bit
Googling around for "bitsandbytes ai quantization" turns up this article which looks nice
https://generativeai.pub/practical-guide-of-llm-quantization...
It also looks to me like there was some Chinese propaganda trained into llama/quen too, but that’s just my observation.
Ask about the political system of china and its flaws. Compare the sentiment of the responses with answers about other political systems.
You might get some critical answers, but the sentiment is usually very positive towards china. Sometimes it doesn't even start reasoning and directly spits out propaganda, that doesn't even answer your question.
You can't test it with deep seek dot com, because it will just remove the answers on those "sensitive" topics. I've mostly tested with 7b from ollama. You might experience something like that with 1.5b too, but 1.5b barely works at all.
Google it!
Crucially, the output of the teacher model includes token probabilities so that the fine-tuning is trying to learn the entire output distribution.
Suprisingly it's not *that* bad, with 3t/s for the quantized models: https://www.reddit.com/r/LocalLLaMA/comments/1in9qsg/boostin...
> NVidia ported it, and they claim almost 4 tokens/sec on 8xH100 server.
What? That sounds ridiculously low, someone just got 5.8t/s out of only one 3090 + CPU/RAM using the KTransformers inference library: https://www.reddit.com/r/LocalLLaMA/comments/1iq6ngx/ktransf...
There are many sources and discussions on this. Also DeepSeek recently changed their responses to hide references to various OpenAI things after all this came out, which is weird.