[whatmodel.sh](../../README.md) / StableLM-3B-4E1T # StableLM-3B-4E1T Stability AI · released 2023-09 · 2.8B params · cc-by-sa-4.0 **score 29.6** ±1.0 · #664 of 732 · from 11 benchmark results across 2 sources Score within the [LMArena (text)](https://whatmodel.sh/?set=lmarena-text&score=set) comparison set only. ## What it's good at ● marks StableLM-3B-4E1T among every model on that task or test, worst to best.

other tests (11)
test                                result  vs the others in its run   difficulty           counts  why
ARC Challenge (maker)                40.0%  ▁·▁··▁▁▇▂●▆▃ beats 13/26   easy · avg 82%          48%  sharp
WinoGrande (maker)                   66.5%  ▁····▁··▁▂●▄ beats 16/26   easy · avg 86%          11%  at its level
BoolQ (maker)                        75.6%  ▂▃▂▅▆▂▅▆●▂▂▂ beats 23/26   easy · avg 88%         8.5%  at its level
HellaSwag (maker)                    73.9%  ▃···▁▇▅●▇▃▁▁ beats 16/26   very easy · avg 91%    6.2%  at its level
ARC Easy (maker)                     67.7%  ▁▁·▁▁▄▅▄●▅▁▃ beats 14/26   easy · avg 85%         5.8%  blunt · at its level
SciQ (maker)                         94.8%  ▁·▁·▁·▃▅▃█●▁ beats 25/26   very easy · avg 97%    4.8%  blunt
PIQA (maker)                         79.2%  ▁·▁··▁▁▃█▅●▂ beats 24/26   easy · avg 87%         4.2%  blunt · at its level
OpenBookQA (maker)                   31.4%  █·▁▁▃·▁▃▅●▃▄ beats 20/26   hard · avg 49%         3.8%  too hard for it
LAMBADA (OpenAI version), last-wo…   70.6%  ▁··▂▁▁▁▂▆●▅▃ beats 16/26   very easy · avg 86%    2.6%  blunt · at its level
Social IQA (maker)                   41.9%  ▁···▁▃●▁▁▁·▁ beats 9/26    hard · avg 56%         2.4%  blunt
Open PT-LLM Leaderboard average (…   39.8%  ▃▁▁▁▁●▁▁▂█▅▁ beats 49/276  medium · avg 72%       1.7%  noisy
## How the score was worked out Each result implies a score on its own, after adjusting for how hard that test is and who ran it. The model's 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 is added up by who ran the tests. [Method](../method.md)
source                                    results  share of the score
Stability AI (submitted / maker-reporte…       10   98% ▇▇▇▇▇▇▇▇▇▇▇▇
Open Portuguese LLM Leaderboard                 1    2% ▇
prior: pull toward the middle                        0% ▇
weighted average                                   = 29.6
Licences: Stability AI ([Apache-2.0](../../licenses/stablelm-original-eval-json-Apache-2.0.txt)) · Open Portuguese LLM Leaderboard ([Apache-2.0](../../licenses/hf-leaderboard-spaces-Apache-2.0.txt)) ## How to run it ### llama.cpp (recommended) 1. Install llama.cpp. Homebrew and winget installs name the commands llama-cli and llama-server instead. [Other ways to install](https://github.com/ggml-org/llama.cpp/blob/master/docs/install.md) ```sh # macOS / Linux curl -LsSf https://llama.app/install.sh | sh # Windows irm https://llama.app/install.ps1 | iex ``` 2. Run StableLM-3B-4E1T (Q4_K_M, needs ~1.7 GB, from [huggingface.co/afrideva](https://huggingface.co/afrideva/stablelm-3b-4e1t-GGUF/tree/b98fb0ffeac9463a05bf97a1da5104526658c2eb)) ```sh llama cli -hf afrideva/stablelm-3b-4e1t-GGUF:q4_k_m ``` 3. Or start a local server and open the address it prints (http://localhost:9931) ```sh llama serve -hf afrideva/stablelm-3b-4e1t-GGUF:q4_k_m ``` Other versions: Q8_0 (~3 GB) `llama cli -hf afrideva/stablelm-3b-4e1t-GGUF:q8_0` ### LM Studio 1. Install LM Studio. Open the app once before using the lms command. [Download it (macOS / Windows / Linux)](https://lmstudio.ai/download) 2. Run StableLM-3B-4E1T (Q4_K_M, needs ~1.7 GB, from [huggingface.co/afrideva](https://huggingface.co/afrideva/stablelm-3b-4e1t-GGUF/tree/b98fb0ffeac9463a05bf97a1da5104526658c2eb)) ```sh lms get https://huggingface.co/afrideva/stablelm-3b-4e1t-GGUF@q4_k_m -y ``` 3. Then run lms ls to see its name, and lms chat followed by that name Other versions: Q8_0 (~3 GB) `lms get https://huggingface.co/afrideva/stablelm-3b-4e1t-GGUF@q8_0 -y` ### Ollama 1. Install Ollama. [Download it (macOS / Windows)](https://ollama.com/download) ```sh # Linux curl -fsSL https://ollama.com/install.sh | sh ``` 2. Run StableLM-3B-4E1T (Q4_K_M, needs ~1.7 GB, from [huggingface.co/afrideva](https://huggingface.co/afrideva/stablelm-3b-4e1t-GGUF/tree/b98fb0ffeac9463a05bf97a1da5104526658c2eb)) ```sh ollama run hf.co/afrideva/stablelm-3b-4e1t-GGUF:q4_k_m ``` Other versions: Q8_0 (~3 GB) `ollama run hf.co/afrideva/stablelm-3b-4e1t-GGUF:q8_0` ### Other ways to run it 1. Run it as published (BF16, needs ~5.59 GB, from [huggingface.co/stabilityai](https://huggingface.co/stabilityai/stablelm-3b-4e1t/tree/fa4a6a92fca83c3b4223a3c9bf792887090ebfba)) ```sh uv run --with torch --with 'transformers<5' python -c "from transformers import pipeline; print(pipeline('text-generation', model='stabilityai/stablelm-3b-4e1t')('Once upon a time', max_new_tokens=40)[0]['generated_text'])" ``` Model repository and documentation: [huggingface.co/stabilityai](https://huggingface.co/stabilityai/stablelm-3b-4e1t) [interactive version](https://whatmodel.sh/model/stablelm-3b-4e1t) · [JSON](https://whatmodel.sh/api?format=json&all=1)