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="elysiantech/gemma-2b-gptq-4bit")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("elysiantech/gemma-2b-gptq-4bit")
model = AutoModelForCausalLM.from_pretrained("elysiantech/gemma-2b-gptq-4bit")
Quick Links

Open In Colab

elysiantech/gemma-2b-gptq-4bit

gemma-2b-gptq-4bit is a version of the 2B base model model that was quantized using the GPTQ method developed by Lin et al. (2023).

Please refer to the Original Gemma Model Card for details about the model preparation and training processes.

Dependencies

Downloads last month
9
Safetensors
Model size
3B params
Tensor type
I32
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for elysiantech/gemma-2b-gptq-4bit