Text Generation
Transformers
Safetensors
MLX
llama
code
Eval Results (legacy)
text-generation-inference
8-bit precision
Instructions to use GGorman/WizardCoder-33B-V1.1-Q8-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GGorman/WizardCoder-33B-V1.1-Q8-mlx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="GGorman/WizardCoder-33B-V1.1-Q8-mlx")# pip install -U transformers accelerate # 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", device_map="auto") - MLX
How to use GGorman/WizardCoder-33B-V1.1-Q8-mlx with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("GGorman/WizardCoder-33B-V1.1-Q8-mlx") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- vLLM
How to use GGorman/WizardCoder-33B-V1.1-Q8-mlx with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GGorman/WizardCoder-33B-V1.1-Q8-mlx" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GGorman/WizardCoder-33B-V1.1-Q8-mlx", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/GGorman/WizardCoder-33B-V1.1-Q8-mlx
- SGLang
How to use GGorman/WizardCoder-33B-V1.1-Q8-mlx with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "GGorman/WizardCoder-33B-V1.1-Q8-mlx" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GGorman/WizardCoder-33B-V1.1-Q8-mlx", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "GGorman/WizardCoder-33B-V1.1-Q8-mlx" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GGorman/WizardCoder-33B-V1.1-Q8-mlx", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - MLX LM
How to use GGorman/WizardCoder-33B-V1.1-Q8-mlx with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "GGorman/WizardCoder-33B-V1.1-Q8-mlx" --prompt "Once upon a time"
- Docker Model Runner
How to use GGorman/WizardCoder-33B-V1.1-Q8-mlx with Docker Model Runner:
docker model run hf.co/GGorman/WizardCoder-33B-V1.1-Q8-mlx
- Atomic Chat
Commit History
-
Upload README.md with huggingface_hub
Verified signature07799d1 -
Upload config.json with huggingface_hub
Verified signature943cc0c -
Upload tokenizer.json with huggingface_hub
Verified signature61964f2 -
Upload special_tokens_map.json with huggingface_hub
Verified signaturedb7b182 -
Upload tokenizer_config.json with huggingface_hub
Verified signature0fd701a -
Upload model.safetensors.index.json with huggingface_hub
Verified signature9da7cb9 -
Upload model-00007-of-00007.safetensors with huggingface_hub
Verified signatured87c9d8 -
Upload model-00006-of-00007.safetensors with huggingface_hub
Verified signature5602fd0 -
Upload model-00005-of-00007.safetensors with huggingface_hub
Verified signature6164131 -
Upload model-00004-of-00007.safetensors with huggingface_hub
Verified signaturef5699eb -
Upload model-00003-of-00007.safetensors with huggingface_hub
Verified signature67ea8db -
Upload model-00002-of-00007.safetensors with huggingface_hub
Verified signature1157a95 -
Upload model-00001-of-00007.safetensors with huggingface_hub
Verified signaturef90bb47 -
initial commit
Verified signaturec77998d