How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="ISTA-DASLab/Llama-3.2-1B-AQLM-PV-2Bit-2x8")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("ISTA-DASLab/Llama-3.2-1B-AQLM-PV-2Bit-2x8")
model = AutoModelForCausalLM.from_pretrained("ISTA-DASLab/Llama-3.2-1B-AQLM-PV-2Bit-2x8", device_map="auto")
Quick Links

Official AQLM quantization of meta-llama/Llama-3.2-1B finetuned with PV-Tuning.

For this quantization, we used 2 codebooks of 8 bits and groupsize of 8.

Results:

Model Quantization MMLU (5-shot) ArcC ArcE Hellaswag PiQA Winogrande Model size, Gb
meta-llama/Llama-3.2-1B fp16 0.3195 0.3123 0.6553 0.4772 0.7448 0.6054 2.5
2x8g8 0.2465 0.2713 0.5896 0.4034 0.7067 0.5564 0.8
Downloads last month
5
Safetensors
Model size
0.5B params
Tensor type
F16
·
I8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ISTA-DASLab/Llama-3.2-1B-AQLM-PV-2Bit-2x8

Quantized
(258)
this model

Collection including ISTA-DASLab/Llama-3.2-1B-AQLM-PV-2Bit-2x8

Papers for ISTA-DASLab/Llama-3.2-1B-AQLM-PV-2Bit-2x8