Instructions to use zooai/coder-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zooai/coder-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="zooai/coder-1")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zooai/coder-1", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use zooai/coder-1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zooai/coder-1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zooai/coder-1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/zooai/coder-1
- SGLang
How to use zooai/coder-1 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 "zooai/coder-1" \ --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": "zooai/coder-1", "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 "zooai/coder-1" \ --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": "zooai/coder-1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use zooai/coder-1 with Docker Model Runner:
docker model run hf.co/zooai/coder-1
Upload Q4_K_M-GGUF-00002-of-00032.gguf with huggingface_hub
Browse files- .gitattributes +1 -0
- Q4_K_M-GGUF-00002-of-00032.gguf +3 -0
.gitattributes
CHANGED
|
@@ -48,3 +48,4 @@ Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32.i1-IQ4_XS.gguf filter=lfs diff
|
|
| 48 |
Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32.i1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32.i1-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
Q4_K_M-GGUF-00001-of-00032.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 48 |
Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32.i1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32.i1-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
Q4_K_M-GGUF-00001-of-00032.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
Q4_K_M-GGUF-00002-of-00032.gguf filter=lfs diff=lfs merge=lfs -text
|
Q4_K_M-GGUF-00002-of-00032.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8999aa0a0136f771a953700e069fa9c0c068097cdb9d4598e5aa68cd262c0cb0
|
| 3 |
+
size 9986313792
|