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="GGorman/WizardCoder-33B-V1.1-Q8-mlx")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("GGorman/WizardCoder-33B-V1.1-Q8-mlx")
model = AutoModelForCausalLM.from_pretrained("GGorman/WizardCoder-33B-V1.1-Q8-mlx")
Quick Links

GGorman/WizardCoder-33B-V1.1-Q8-mlx

The Model GGorman/WizardCoder-33B-V1.1-Q8-mlx was converted to MLX format from WizardLMTeam/WizardCoder-33B-V1.1 using mlx-lm version 0.19.1.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("GGorman/WizardCoder-33B-V1.1-Q8-mlx")

prompt="hello"

if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, tokenize=False, add_generation_prompt=True
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)
Downloads last month
30
Safetensors
Model size
9B params
Tensor type
F16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for GGorman/WizardCoder-33B-V1.1-Q8-mlx

Quantized
(10)
this model

Evaluation results