alt.freeweights.text / AFM-4.5B-Base
From: arcee-ai <huggingface.co/arcee-ai>Newsgroups: alt.freeweights.textSubject:

AFM-4.5B-Base

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

Text generation model with 4.6B parameters. Safetensors weights, 9.26 GB in all. Published by arcee-ai under Apache-2.0.

4.6B params9.26GBAFM-4.5B-Basesafetensorspermissive
FactsParams4.6BSize9.26 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get arcee-ai/AFM-4.5B-Base
# manifest sha256 9c0872e13b02… · 9.26 GB · 9 files
$ fw verify ./AFM-4.5B-Base arcee-ai/AFM-4.5B-Base
From sourceHosted (signed)arcee-ai/AFM-4.5B-BaseLast check: 2026-11-15 03:35 UTC

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

Works with

Overview

Size
9.26 GB
Weights
9.24 GB (safetensors)
Parameters
4.6B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
9, each with a sha256
Publisher
arcee-ai
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 03:35 UTCpassed

Model card

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

Image: Arcee AFM 4.5B

AFM-4.5B-Base#

AFM-4.5B-Base is a 4.5 billion parameter instruction-tuned model developed by Arcee.ai, designed for enterprise-grade performance across diverse deployment environments from cloud to edge. The base model was trained on a dataset of 8 trillion tokens, comprising 6.5 trillion tokens of general pretraining data followed by 1.5 trillion tokens of midtraining data with enhanced focus on mathematical reasoning and code generation. Following pretraining, the model underwent supervised fine-tuning on high-quality instruction datasets. The instruction-tuned model was further refined through reinforcement learning on verifiable rewards as well as for human preference. We use a modified version of TorchTitan for pretraining, Axolotl for supervised fine-tuning, and a modified version of Verifiers for reinforcement learning.

The development of AFM-4.5B prioritized data quality as a fundamental requirement for achieving robust model performance. We collaborated with DatologyAI, a company specializing in large-scale data curation. DatologyAI's curation pipeline integrates a suite of proprietary algorithms—model-based quality filtering, embedding-based curation, target distribution-matching, source mixing, and synthetic data. Their expertise enabled the creation of a curated dataset tailored to support strong real-world performance.

The model architecture follows a standard transformer decoder-only design based on Vaswani et al., incorporating several key modifications for enhanced performance and efficiency. Notable architectural features include grouped query attention for improved inference efficiency and ReLU^2 activation functions instead of SwiGLU to enable sparsification while maintaining or exceeding performance benchmarks.

The model available in this repo is the base model following merging and context extension.


Image: Powered by Datology

Model Details#

  • Model Architecture: ArceeForCausalLM
  • Parameters: 4.5B
  • Training Tokens: 8T
  • License: Apache-2.0

Benchmarks#

Image: image/png

How to use with transformers#

You can use the model directly with the transformers library.

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model_id = "arcee-ai/AFM-4.5B-Base"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

prompt = "Once upon a time "
input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(model.device)

# Generate text
outputs = model.generate(
    input_ids,
    max_new_tokens=100,
    do_sample=True,
    temperature=0.7,
    top_p=0.95
)

generated_text = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
print(generated_text)

License#

AFM-4.5B is released under the Apache-2.0 license.

Files

9 files · 9.26 GBWeights 9.24 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md3.80 KBc60973fbc789e9c122e8d41cfd5a91eda6fe8beb47fff0c9ec373d8a745935f7
config.json843 B18f84d052b292bcad97bf30bbd3dcc37b6a856a29863f7d0788b97ccef1addf5
model-00001-of-00002.safetensors4.97 GB3571477a89761f392128de1c5b0a636703abe15a1f1d2b9e7823905425f406bc
model-00002-of-00002.safetensors4.27 GB9f505916ba600c03b1c65298a2f2cd658c5a18245e4e6c733adea1661954c59c
model.safetensors.index.json22.9 KB0ad1f7862e6e0d129732c0527c823a167e1529db5e6dd2ce49b97d96198fe896
special_tokens_map.json301 Bcc2e013b7545f183ef03e079a3c91c6f364fa37e4068c512d7dd843e59024535
tokenizer.json17.2 MB2f7e8b61d1cb49d927a5f5aaeecdac9cb173cccb3ec1897cb5d7bb08bda54907
tokenizer_config.json1.04 KBc5d168d413c308b430d7a1005ffd2a33484a13ee31df760e92a434aca9cf0ca8
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
dab7922f9c pinned now2026-11-15 03:35 UTC9 files · 9.26 GB

Use it

$ fw get arcee-ai/AFM-4.5B-Base
# manifest sha256 9c0872e13b02… · 9.26 GB · 9 files
$ fw verify ./AFM-4.5B-Base arcee-ai/AFM-4.5B-Base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/arcee-ai/AFM-4.5B-Base.json --dir ./AFM-4.5B-Base $ python3 fw.py verify ./AFM-4.5B-Base ./arcee-ai__AFM-4.5B-Base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download arcee-ai/AFM-4.5B-Base --revision dab7922f9c868d479b365410304f466b007b1c5a --local-dir ./AFM-4.5B-Base
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("arcee-ai/AFM-4.5B-Base", revision="dab7922f9c868d479b365410304f466b007b1c5a") model = AutoModelForCausalLM.from_pretrained("arcee-ai/AFM-4.5B-Base", revision="dab7922f9c868d479b365410304f466b007b1c5a", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve arcee-ai/AFM-4.5B-Base --revision dab7922f9c868d479b365410304f466b007b1c5a

License

Name
Apache License 2.0
Id
Apache-2.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
c60973fbc789e9c122e8d41cfd5a91eda6fe8beb47fff0c9ec373d8a745935f7
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: arcee-ai <huggingface.co/arcee-ai>Newsgroups: alt.freeweights.textSubject: AFM-4.5B-BaseDate: 2026-11-15Commit: dab7922Signed: 2DC28CC7B26A283B ✓
Upstream
arcee-ai/AFM-4.5B-Base
Pinned commit
dab7922f9c868d479b365410304f466b007b1c5a
Manifest
AFM-4.5B-Base.json · .minisig
Manifest sha256
9c0872e13b027ac60619ccbafad89920132ecb3f271772938d8db73e3335f72f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:35 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/arcee-ai/AFM-4.5B-Base.json $ curl -O https://freeweights.allternit.com/manifests/arcee-ai/AFM-4.5B-Base.json.minisig $ minisign -Vm AFM-4.5B-Base.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

1 model in the catalog name this one as their parent.

Fine-tunes
1
Fine-tunes 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download arcee-ai/AFM-4.5B-Base
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. AFM-4.5B-Base.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