alt.freeweights.text / stablelm-3b-4e1t
From: stabilityai <huggingface.co/stabilityai>Newsgroups: alt.freeweights.textSubject:

stablelm-3b-4e1t

Date: 2026-11-15Commit: fa4a6a9Signed: 2DC28CC7B26A283B ✓

Text generation model with 2.8B parameters. Safetensors weights, 5.59 GB in all. Published by stabilityai under CC-BY-SA-4.0.

2.8B params5.59GBstablelm-3b-4e1tsafetensorspermissive
FactsParams2.8BSize5.59 GBFormatssafetensorsTasktext generationLicenseCC-BY-SA-4.0From sourcepermissive
$ fw get stabilityai/stablelm-3b-4e1t
# manifest sha256 fe66fc6f70af… · 5.59 GB · 10 files
$ fw verify ./stablelm-3b-4e1t stabilityai/stablelm-3b-4e1t
From sourceHosted (signed)stabilityai/stablelm-3b-4e1tLast check: 2026-11-15 02:43 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInfergpu-unlockKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowDSPyEnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonOpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsVaneXGrammar

Overview

Size
5.59 GB
Weights
5.59 GB (safetensors)
Parameters
2.8B
Formats
safetensors
Task
text generation
License
CC-BY-SA-4.0 (permissive)
Files
10, each with a sha256
Publisher
stabilityai
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:43 UTCpassed

Model card

From the publisher at commit fa4a6a9. Shown as plain text with links; images open at the publisher.

StableLM-3B-4E1T#

Model Description#

StableLM-3B-4E1T is a 3 billion parameter decoder-only language model pre-trained on 1 trillion tokens of diverse English and code datasets for 4 epochs.

Usage#

Get started generating text with StableLM-3B-4E1T by using the following code snippet:

from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("stabilityai/stablelm-3b-4e1t")
model = AutoModelForCausalLM.from_pretrained(
  "stabilityai/stablelm-3b-4e1t",
  torch_dtype="auto",
)
model.cuda()
inputs = tokenizer("The weather is always wonderful", return_tensors="pt").to(model.device)
tokens = model.generate(
  **inputs,
  max_new_tokens=64,
  temperature=0.75,
  top_p=0.95,
  do_sample=True,
)
print(tokenizer.decode(tokens[0], skip_special_tokens=True))
Run with Flash Attention 2 ⚡️#

Click to expand

from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("stabilityai/stablelm-3b-4e1t")
model = AutoModelForCausalLM.from_pretrained(
  "stabilityai/stablelm-3b-4e1t",
  torch_dtype="auto",
  attn_implementation="flash_attention_2",
)
model.cuda()
inputs = tokenizer("The weather is always wonderful", return_tensors="pt").to(model.device)
tokens = model.generate(
  **inputs,
  max_new_tokens=64,
  temperature=0.75,
  top_p=0.95,
  do_sample=True,
)
print(tokenizer.decode(tokens[0], skip_special_tokens=True))

Model Details#

  • Developed by: Stability AI
  • Model type: StableLM-3B-4E1T models are auto-regressive language models based on the transformer decoder architecture.
  • Language(s): English
  • Library: GPT-NeoX
  • License: Model checkpoints are licensed under the Creative Commons license (CC BY-SA-4.0). Under this 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
Model Architecture#

The model is a decoder-only transformer similar to the LLaMA (Touvron et al., 2023) architecture with the following modifications:

ParametersHidden SizeLayersHeadsSequence Length
2,795,443,200256032324096

Training#

For complete dataset and training details, please see the StableLM-3B-4E1T Technical Report.

Training Dataset#

The dataset is comprised of a filtered mixture of open-source large-scale datasets available on the HuggingFace Hub: Falcon RefinedWeb extract (Penedo et al., 2023), RedPajama-Data (Together Computer., 2023) and The Pile (Gao et al., 2020) both without the Books3 subset, and StarCoder (Li et al., 2023).

  • Given the large amount of web data, we recommend fine-tuning the base StableLM-3B-4E1T for your downstream tasks.
Training Procedure#

The model is pre-trained on the aforementioned datasets in bfloat16 precision, optimized with AdamW, 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 - config.

Training Infrastructure#
  • Hardware: StableLM-3B-4E1T was trained on the Stability AI cluster across 256 NVIDIA A100 40GB GPUs (AWS P4d instances). Training began on August 23, 2023, and took approximately 30 days to complete.
  • Software: We use a fork of gpt-neox (EleutherAI, 2021), train under 2D parallelism (Data and Tensor Parallel) with ZeRO-1 (Rajbhandari et al., 2019), and rely on flash-attention as well as SwiGLU and Rotary Embedding kernels from FlashAttention-2 (Dao et al., 2023)

Use and Limitations#

Intended Use#

The model is intended to be used as a foundational base model for application-specific fine-tuning. Developers must evaluate and fine-tune the model for safe performance in downstream applications.

Limitations and Bias#

​ As a base model, this model may exhibit unreliable, unsafe, or other undesirable behaviors that must be corrected through evaluation and fine-tuning prior to deployment. The pre-training dataset may have contained offensive or inappropriate content, even after applying data cleansing filters, which can be reflected in the model-generated text. We recommend that users exercise caution when using these models in production systems. Do not use the models if they are unsuitable for your application, or for any applications that may cause deliberate or unintentional harm to others.

How to Cite#

@misc{StableLM-3B-4E1T,
      url={[https://huggingface.co/stabilityai/stablelm-3b-4e1t](https://huggingface.co/stabilityai/stablelm-3b-4e1t)},
      title={StableLM 3B 4E1T},
      author={Tow, Jonathan and Bellagente, Marco and Mahan, Dakota and Riquelme, Carlos}
}

Open LLM Leaderboard Evaluation Results#

Detailed results can be found here

MetricValue
Avg.46.58
AI2 Reasoning Challenge (25-Shot)46.59
HellaSwag (10-Shot)75.94
MMLU (5-Shot)45.23
TruthfulQA (0-shot)37.20
Winogrande (5-shot)71.19
GSM8k (5-shot)3.34

Files

10 files · 5.59 GBWeights 5.59 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md9.92 KB6317ce713e187b1f124008c688ce012ee6fdcc3423c62cab06997c5df7825da0
config.json599 B6a8e761cc1117804c0ebc733f880268f71b1b06c9269f4cdb092c6f115526976
configuration_stablelm.py9.07 KB83c69a21d0adb4f78da573ecd046d70c305634d46bdcd2d82d49516cd599fce7
generation_config.json111 Ba671774e61788abd74b295c09eb5b14530583a262409889c25906d1965cf6af0
model.safetensors5.59 GBd85766d055f6709ad4434eb82b4bda91da55f23baa1f73a25b66159d746a0e9c
modeling_stablelm.py63.1 KB01e7a09c37aff4ad41d9fa6e3b7ee85ab2584ccfaad5f0e3110647c4352c7ec0
special_tokens_map.json99 B6f50ab5a5a509a1c309d6171f339b196a900dc9c99ad0408ff23bb615fdae7ad
tokenizer.json2.11 MB3cf430678137c8491ca82fb7092ee49e44ad38857fffe1e4a4a5ed860139a5b8
tokenizer_config.json264 B4d1c4fdcf128d28ffcc56e21a36f7002b5e754624c9c8cbd025df7fa58af8428
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
fa4a6a92fc pinned now2026-11-15 02:43 UTC10 files · 5.59 GB

Use it

$ fw get stabilityai/stablelm-3b-4e1t
# manifest sha256 fe66fc6f70af… · 5.59 GB · 10 files
$ fw verify ./stablelm-3b-4e1t stabilityai/stablelm-3b-4e1t
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/stabilityai/stablelm-3b-4e1t.json --dir ./stablelm-3b-4e1t $ python3 fw.py verify ./stablelm-3b-4e1t ./stabilityai__stablelm-3b-4e1t.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download stabilityai/stablelm-3b-4e1t --revision fa4a6a92fca83c3b4223a3c9bf792887090ebfba --local-dir ./stablelm-3b-4e1t
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("stabilityai/stablelm-3b-4e1t", revision="fa4a6a92fca83c3b4223a3c9bf792887090ebfba") model = AutoModelForCausalLM.from_pretrained("stabilityai/stablelm-3b-4e1t", revision="fa4a6a92fca83c3b4223a3c9bf792887090ebfba", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve stabilityai/stablelm-3b-4e1t --revision fa4a6a92fca83c3b4223a3c9bf792887090ebfba

License

Name
Creative Commons Attribution-ShareAlike 4.0
Id
CC-BY-SA-4.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
6317ce713e187b1f124008c688ce012ee6fdcc3423c62cab06997c5df7825da0
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: stabilityai <huggingface.co/stabilityai>Newsgroups: alt.freeweights.textSubject: stablelm-3b-4e1tDate: 2026-11-15Commit: fa4a6a9Signed: 2DC28CC7B26A283B ✓
Upstream
stabilityai/stablelm-3b-4e1t
Pinned commit
fa4a6a92fca83c3b4223a3c9bf792887090ebfba
Manifest
stablelm-3b-4e1t.json · .minisig
Manifest sha256
fe66fc6f70afaafb9701815d072d1e9fa5923146338523f727a38c87c02ac062
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:43 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/stabilityai/stablelm-3b-4e1t.json $ curl -O https://freeweights.allternit.com/manifests/stabilityai/stablelm-3b-4e1t.json.minisig $ minisign -Vm stablelm-3b-4e1t.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download stabilityai/stablelm-3b-4e1t
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. stablelm-3b-4e1t.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B