Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
191
7
24
Robert Sinclair
ZeroWw
Follow
SerenaA's profile picture
Nexesenex's profile picture
k249's profile picture
103 followers
ยท
18 following
https://huggingface.co/RobertSinclair
0wwafa
0wwafa
AI & ML interests
LLMs optimization (model quantization and back-end optimizations) so that LLMs can run on computers of people with both kidneys. Discord: https://discord.com/channels/@robert_46007
Recent Activity
updated
a model
5 days ago
ZeroWw/Art-0-8B-GGUF
new
activity
5 days ago
xai-org/grok-2:
In the face of google who didn't release old gemini! (Thanks)
reacted
to
codelion
's
post
with ๐
5 days ago
I wanted to share a technique that's been working really well for recovering performance after INT4 quantization. Typically, quantizing the LLM to INT4 (unlike say INT8) for inference can incur some accuracy loss. Instead of accepting the quality loss, we used the FP16 model as a teacher to train a tiny LoRA adapter (rank=16) for the quantized model. The cool part: the model generates its own training data using the Magpie technique so no external datasets needed. This is critical because we want to remain as much as possible in the distribution of the model's natural responses. Last year Apple's foundational models paper (https://arxiv.org/pdf/2407.21075) had proposed a similar technique and found "By using accuracy-recovery LoRA adapters with only rank 16, Alpaca win rate can be improved by 7-18%, GMS8K accuracy is boosted by 5-10%." (page 47). We saw similar results on Qwen3-0.6B: Perplexity: 2.40 โ 2.09 (only 5.7% degradation from FP16 baseline) Memory: Only 0.28GB vs 1.0GB for FP16 (75% reduction) Speed: 3.0x faster inference than FP16 Quality: Generates correct, optimized code solutions - Pre-trained adapter: https://huggingface.co/codelion/Qwen3-0.6B-accuracy-recovery-lora - GitHub repo: https://github.com/codelion/ellora Happy to answer questions about the implementation or help anyone trying to replicate this. The key insight is that quantization errors are systematic and learnable - a small adapter can bridge the gap without negating the benefits of quantization. Has anyone else experimented with self-distillation for quantization recovery? Would love to hear about different approaches!
View all activity
Organizations
ZeroWw
's datasets
3
Sort:ย Recently updated
ZeroWw/sounds
Preview
โข
Updated
Jul 18, 2024
โข
5
ZeroWw/MEISD
Viewer
โข
Updated
May 28, 2024
โข
20k
โข
14
โข
1
ZeroWw/HowImetYourMotherAllEpisodesDialogues
Viewer
โข
Updated
May 27, 2024
โข
1
โข
7
โข
2