Model reference · open weights
stablelm-alpha is an open-weight language model from Stability AI. stablelm-base-alpha-3b (BF16) weighs 14.8 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.
Summary of the stabilityai/stablelm-base-alpha-3b model card, 2026-10-01
What it is
| Released by | Stability AI |
|---|---|
| Released | 2023-04-17 |
| VRAM | 14.8 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 4K each | |||
| RTX 3060 12 GB … RTX 4060 Ti 16 GB 2 smaller cards | — | — | |
| RTX 3090 24 GB | 7 | all 4K | 23.4 GB |
| RTX 4090 24 GB | 7 | all 4K | 23.4 GB |
| RTX 5090 32 GB | 14 | all 4K | 31.0 GB |
| L40S 48 GB | 26 | all 4K | 44.0 GB |
| A100 80 GB | 58 | all 4K | 78.2 GB |
| H100 80 GB | 55 | all 4K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 69 | all 4K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 82 | all 4K | 107 GB |
| H200 141 GB | 110 | all 4K | 138 GB |
| B200 180 GB | 145 | all 4K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 6 | all 4K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 13 | all 4K | 15.4 GB a card |
| 2× RTX 4090 24 GB tensor parallel | 28 | all 4K | 23.4 GB a card |
| 2× RTX 3090 24 GB tensor parallel | 28 | all 4K | 23.4 GB a card |
| Requests at once | 4K tokens each |
|---|---|
| 1 | 16.6 GB |
| 5 | 20.9 GB |
| 8 | 24.1 GB |
| 16 | 32.7 GB |
| 32 | 49.9 GB |
| 64 | 84.2 GB |
One card, with vLLM's small-card settings.
From the model card
📢 DISCLAIMER: The StableLM-Base-Alpha models have been superseded. Find the latest versions in the Stable LM Collection here.
StableLM-Base-Alpha is a suite of 3B and 7B parameter decoder-only language models pre-trained on a diverse collection of English and Code datasets with a sequence length of 4096 to push beyond the context window limitations of existing open-source language models.
Get started generating text with StableLM-Base-Alpha by using the following code snippet:
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("StabilityAI/stablelm-base-alpha-3b")
model = AutoModelForCausalLM.from_pretrained("StabilityAI/stablelm-base-alpha-3b")
model.half().cuda()
inputs = tokenizer("What's your mood today?", return_tensors="pt").to("cuda")
tokens = model.generate(
**inputs,
max_new_tokens=64,
temperature=0.7,
do_sample=True,
)
print(tokenizer.decode(tokens[0], skip_special_tokens=True))
Developed by: Stability AI
Model type: StableLM-Base-Alpha models are auto-regressive language models based on the NeoX transformer architecture.
Language(s): English
Library: GPT-NeoX
License: Base model checkpoints (StableLM-Base-Alpha) are licensed under the Creative Commons license (CC BY-SA-4.0). Under the license, you must give credit to Stability AI, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the Stability AI endorses you or your use.
Contact: For questions and comments about the model, please email lm@stability.ai
| Parameters | Hidden Size | Layers | Heads | Sequence Length |
|---|---|---|---|---|
| 3B | 4096 | 16 | 32 | 4096 |
| 7B | 6144 | 16 | 48 | 4096 |
StableLM-Base-Alpha is pre-trained on a new experimental dataset built atop The Pile and is threes times larger at approximately 1.5T tokens.
Models are pre-trained on the aforementioned dataset in mixed-precision (FP16), optimized with Adam, and trained using the NeoX tokenizer with a vocabulary size of 50,257. We outline the complete hyperparameters choices in the project's GitHub repository.
These models are intended to be used by all individuals as foundational models for application-specific fine-tuning without strict limitations on commercial use.
The pre-training dataset may contain offensive or inappropriate content even after applying data cleansing filters which can be reflected in generated text. We recommend users exercise reasonable caution when using these models in production systems. Do not use the models for any applications that may cause harm or distress to individuals or groups.
@software{gpt-neox-library,
title = {{GPT-NeoX: Large Scale Autoregressive Language Modeling in PyTorch}},
author = {Andonian, Alex and Anthony, Quentin and Biderman, Stella and Black, Sid and Gali, Preetham and Gao, Leo and Hallahan, Eric and Levy-Kramer, Josh and Leahy, Connor and Nestler, Lucas and Parker, Kip and Pieler, Michael and Purohit, Shivanshu and Songz, Tri and Phil, Wang and Weinbach, Samuel},
url = {https://www.github.com/eleutherai/gpt-neox},
doi = {10.5281/zenodo.5879544},
month = {8},
year = {2021},
version = {0.0.1},
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.