stablelm
**StableLM** is a **suite of open-source language models released by Stability AI, the company behind Stable Diffusion** — representing a commercial company's commitment to open-source AI by releasing base models (3B, 7B), instruction-tuned chat variants, and code-focused models (StableCode) under permissive licenses, trained on The Pile and large conversational datasets as part of Stability AI's vision to be the "Red Hat of AI" building a business around open models.
**What Is StableLM?**
- **Definition**: A family of language models from Stability AI — the generative AI company best known for Stable Diffusion (text-to-image), extending their open-source philosophy to language models with StableLM base models, chat variants, and code models.
- **Stability AI's Vision**: Stability AI aimed to build an open-source AI ecosystem spanning images (Stable Diffusion), language (StableLM), audio (Stable Audio), and video (Stable Video Diffusion) — StableLM was the language component of this vision.
- **Training Data**: Trained on The Pile (800 GB standard text dataset) plus additional conversational and instruction data — with Stability AI investing in data quality and curation for the chat-tuned variants.
- **Permissive Licensing**: Released under CC-BY-SA or Apache 2.0 licenses — enabling commercial use and modification, consistent with Stability AI's open-source-first business model.
**StableLM Model Family**
| Model | Parameters | Focus | License |
|-------|-----------|-------|---------|
| StableLM-Base-Alpha | 3B, 7B | Base language model | CC-BY-SA |
| StableLM-Tuned-Alpha | 3B, 7B | Instruction-tuned chat | CC-BY-SA |
| StableCode | 3B | Code generation/completion | Apache 2.0 |
| StableLM 2 | 1.6B, 12B | Improved base models | Stability AI license |
| StableLM Zephyr | 3B | Chat (DPO-aligned) | Stability AI license |
**Why StableLM Matters**
- **Commercial Open-Source Pioneer**: Stability AI was one of the first commercial companies to release competitive language models as open source — demonstrating that open-source AI could be a viable business strategy.
- **Small Model Focus**: StableLM's 3B models were among the first to show that small, well-trained models could be surprisingly capable — predating the current trend toward efficient small models (Phi, Gemma).
- **Full-Stack AI Company**: StableLM completed Stability AI's vision of open-source generative AI across modalities — images, language, audio, and video all available as open models.
- **Community Contribution**: StableLM models served as base models for community fine-tunes and experiments — contributing to the broader open-source LLM ecosystem.
**StableLM is Stability AI's open-source language model family that extended the Stable Diffusion philosophy to text generation** — providing permissively licensed base and chat models that demonstrated a commercial company's commitment to open-source AI across every generative modality.