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="yichunkuo/Llama-2-7b-hf-gptq")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("yichunkuo/Llama-2-7b-hf-gptq")
model = AutoModelForCausalLM.from_pretrained("yichunkuo/Llama-2-7b-hf-gptq", device_map="auto")
Quick Links

GPTQ quantized falcon-rw-1b

Branch Bits GS Act Order Damp % GPTQ Dataset Seq Len Size ExLlama Desc
main 4 None No 0.01 c4 4096 -- No 4-bit, without Act Order and no grouop size.
Downloads last month
16
Safetensors
Model size
7B params
Tensor type
I32
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support