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="sh2orc/codegemma-7b-awq")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("sh2orc/codegemma-7b-awq")
model = AutoModelForCausalLM.from_pretrained("sh2orc/codegemma-7b-awq", device_map="auto")
Quick Links

Configuration Parsing Warning:In config.json: "quantization_config.modules_to_not_convert" must be an array

README.md exists but content is empty.
Downloads last month
11
Safetensors
Model size
9B params
Tensor type
I32
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support