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="Narsil/starcoder-gptq")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Narsil/starcoder-gptq")
model = AutoModelForCausalLM.from_pretrained("Narsil/starcoder-gptq", device_map="auto")
Quick Links

No model card

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