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.6±5.8#555 of 974 LLMsfrom 1 benchmark result across 1 source* thinly tested, treat the rank as provisional

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
702InternVL2-26B Shanghai AI Laboratory (OpenGVLab)48±1local~55GB2024-07
703Aya Expanse 8B Cohere48±2local~6.5GB2024-10
704Stable LM 2 12B Chat Stability AI48±6local~8.8GB2024-04
705Flan-UL2 20B Google48±4comparison only2023-03
706PLLuM-8x7B-nc-chat (2412) PLLuM consortium (CYFRAGOVPL)48±3local~31GB2025-02
more from Stability AI
942Stable LM 2 Zephyr 1.6B Stability AI40±6local~2.5GB2024-01
964StableLM Zephyr 3B Stability AI39±6local~3.2GB2023-11
1017Stable LM 2 1.6B Chat Stability AI37±6local~2.5GB2024-04

see all LLMs · find the ones that fit your machine

$ what it's good at

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

$ where to run it

Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.

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 9.2 GB memory, 7.37 GB download · 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 9.2 GB memory, 7.37 GB download · 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 8.8 GB memory, 6.97 GB download · 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 9.4 GB memory, 7.57 GB download, 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

Model repository and documentation: huggingface.co/stabilityai ↗

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

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)1Apache-2.0
prior · pull toward the middle
weighted average= 47.6

$ 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