Views
No views yet
| Task | bf16 | GLQ 6bpw |
|---|---|---|
| arc_easy | 0.7908 | 0.7824 |
| hellaswag | 0.5651 | 0.5618 |
| piqa | 0.7845 | 0.7802 |
| winogrande | 0.6685 | 0.6661 |
| lambada_openai | 0.6592 | 0.6645 |
| Average | 0.6936 | 0.6910 (99.6%) |
pip install glq1import glq.hf_integration
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model = AutoModelForCausalLM.from_pretrained(
5 "xv0y5ncu/SmolLM3-3B-GLQ-6bpw",
6 device_map="cuda",
7 dtype="float16",
8)
9tokenizer = AutoTokenizer.from_pretrained("HuggingFaceTB/SmolLM3-3B")
10
11inputs = tokenizer("The capital of France is", return_tensors="pt").to("cuda")
12output = model.generate(**inputs, max_new_tokens=64)
13print(tokenizer.decode(output[0], skip_special_tokens=True))pip install glq)| bf16 | GLQ 6bpw | |
|---|---|---|
| Model weights | 6.1 GB | 2.5 GB |
| Inference (B=1) | ~6.5 GB | ~3 GB |