whatmodel.sh / Stable LM 2 12B Chat

Stable LM 2 12B Chat is an open-weights language model from Stability AI, released April 2024. Its published size is 12.14B parameters and a 4k-token context window. Licence: other.

Catalogue identity notes

stabilityai/stablelm-2-12b-chat @b6b62cd (created 2024-04-04, licence other). Independent row: Open PT-LLM (Portuguese) leaderboard average.

Model information sources

Release date ↗ · Weights licence ↗

HF safetensors metadata 12,143,185,920 parameters.

47.1±6.4#520 of 949 LLMsfrom 1 benchmark result across 1 source* thinly tested, treat the rank as provisional

$ how it compares

The LLMs ranked either side of Stable LM 2 12B Chat, out of 1132 with a score, then more from Stability AI.

#modelscorewhereRAMreleased
659Hunyuan-Standard-Vision (2024-12-31) Tencent47±4comparison only2024-12
660Mistral7B-PairRM-SPPO-ExPO Chujie Zheng (ExPO)47±2local~6.1GB2024-05
661Stable LM 2 12B Chat Stability AI47±6local~8.9GB2024-04
662Phi-4-mini-reasoning 3.8B Microsoft47±2api $0.13/M +local~3.8GB2025-04
663Qwen1.5 110B Chat Alibaba47±1local~45GB2024-04
more from Stability AI
879Stable LM 2 Zephyr 1.6B Stability AI40±7local~2.5GB2024-01
898StableLM Zephyr 3B Stability AI39±7local~3.2GB2023-11
948Stable LM 2 1.6B Chat Stability AI36±7local~2.5GB2024-04

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests1 not in a task · 82% of its score
testresultvs the others in its rundifficultycountswhy
Open PT-LLM Leaderboard average (9 Portuguese tasks)68.1% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 146/276medium · avg 73%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 82%at its level · noisy

$ where to run it

llama.cpp · recommended

version

  1. Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.
    macOS / Linux
    curl -LsSf https://llama.app/install.sh | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Stable LM 2 12B Chat · needs ~7.4 GB · from huggingface.co/stabilityai (official)
    chat in the terminal
    llama cli -hf stabilityai/stablelm-2-12b-chat-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf stabilityai/stablelm-2-12b-chat-GGUF:Q4_K_M

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Stable LM 2 12B Chat · needs ~7.4 GB · from huggingface.co/stabilityai (official)

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/stabilityai/stablelm-2-12b-chat-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Stable LM 2 12B Chat · needs ~7 GB · from ollama.com
    chat in the terminal
    ollama run stablelm2:12b

MLX (Mac)

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Stable LM 2 12B Chat · needs ~7.6 GB, Mac only · from huggingface.co/mlx-community
    chat in the terminal
    mlx_lm.chat --model mlx-community/stablelm-2-12b-chat-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model mlx-community/stablelm-2-12b-chat-4bit

Official weights and documentation: huggingface.co/stabilityai ↗

$ how the score was worked out · Open Portuguese LLM Leaderboa… 82%

Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works

sourceresultsshare of the scorelicence
Open Portuguese LLM Leaderboard (archived)1▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 82%Apache-2.0
prior · pull toward the middle▇▇▇▇▇ 18%
weighted average= 47.1

$ improve this page

Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.

data updated · sources and licences · json