stablecode-completion-alpha-3b-4k
Stability AI (United Kingdom) · Language (text)
Which way is for me?
💻 On my own computer
No ready LM Studio version (GGUF) of this model has been published yet. Use the online way for now; this page is checked again every night and the steps will appear here when one comes out.
Similar models you can run on your computer right now:
- stable-code-3bQ4 1.9 GB
- DeepSeek-OCRQ4 2.2 GB
- Llama 3.2 3B InstructQ4 2.2 GB
🧑💻 For developers
vLLM
vllm serve stabilityai/stablecode-completion-alpha-3b-4kTransformers (Python)
from transformers import pipeline
pipe = pipeline("text-generation", model="stabilityai/stablecode-completion-alpha-3b-4k")Words used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
From the Hugging Face model card
StableCode-Completion-Alpha-3B-4K is a 3 billion parameter decoder-only code completion model pre-trained on diverse set of programming languages that topped the stackoverflow developer survey.
Intended use
StableCode-Completion-Alpha-3B-4K independently generates new code completions, but we recommend that you use StableCode-Completion-Alpha-3B-4K together with the tool developed by BigCode and HuggingFace (huggingface/huggingface-vscode: Code completion VSCode extension for OSS models (github.com)), to identify and, if necessary,…
Limitations
This model is intended to be used responsibly. It is not intended to be used to create unlawful content of any kind, to further any unlawful activity, or to engage in activities with a high risk of physical or economic harm.
Source: Hugging Face · stabilityai/stablecode-completion-alpha-3b-4k · License: apache-2.0
Hardware and running it
Local Weights are published and it runs on your own hardware.
- Minimum Q4
- 2.2 GB
- Recommended Q8
- 4 GB
- Full quality FP16
- 7.9 GB
On common hardware
| RTX 4060 · 8 GB | Barely fits | FP16 · ≈ 15–25 tokens/s |
|---|---|---|
| RTX 4090 · 24 GB | Great | FP16 · ≈ 55–92 tokens/s |
| RTX 5090 · 32 GB | Great | FP16 · ≈ 98–160 tokens/s |
| Mac M4 Max · 128 GB | Great | FP16 · ≈ 30–50 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 180–310 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 1,470–2,440 tokens/s |
Speeds are estimates. estimated speed for one user, from memory bandwidth
Links come from the vendor's official site and the model card the vendor published · Updated: