From: arcee-ai <huggingface.co/arcee-ai>Newsgroups: alt.freeweights.textSubject:

AFM-4.5B

Date: 2026-11-15Commit: e84d197Signed: 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.5Bsafetensorspermissive
FactsParams4.6BSize9.26 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get arcee-ai/AFM-4.5B
# manifest sha256 a0d3f6357a65… · 9.26 GB · 10 files
$ fw verify ./AFM-4.5B arcee-ai/AFM-4.5B
From sourceHosted (signed)arcee-ai/AFM-4.5BLast check: 2026-11-15 02:47 UTC

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

Fine-tune of AFM-4.5B-Base.

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
10, each with a sha256
Publisher
arcee-ai
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: arcee-ai/AFM-4.5B-Base

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:47 UTCpassed

Model card

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

Image: Arcee AFM 4.5B

AFM-4.5B#

AFM-4.5B 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 instruct model following supervised fine-tuning and reinforcement learning.

View our documentation here for more details: https://docs.arcee.ai/arcee-foundation-models/introduction-to-arcee-foundation-models


Image: Powered by Datology

Model Details#

  • Model Architecture: ArceeForCausalLM
  • Parameters: 4.5B
  • Training Tokens: 8T
  • License: Apache 2.0
  • Recommended settings:
    • temperature: 0.5
    • top_k: 50
    • top_p: 0.95
    • repeat_penalty: 1.1

Benchmarks#

Image: image/png *Qwen3 and SmolLM's reasoning approach causes their scores to vary wildly from suite to suite - but these are all scores on our internal harness with the same hyperparameters. Be sure to reference their reported scores. SmolLM just released its bench.

How to use with transformers#

You can use the model directly with the transformers library.

We recommend a lower temperature, around 0.5, for optimal performance.

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

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

messages = [
    {"role": "user", "content": "Who are you?"},
]

input_ids = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_tensors="pt"
).to(model.device)

outputs = model.generate(
    input_ids,
    max_new_tokens=256,
    do_sample=True,
    temperature=0.5,
    top_k=50,
    top_p=0.95
)

response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)

How to use with vllm#

Ensure you are on version 0.10.1 or newer

pip install vllm>=0.10.1

You can then serve the model natively

vllm serve arcee-ai/AFM-4.5B

How to use with Together API#

You can access this model directly via the Together Playground.

Python (Official Together SDK)#
from together import Together

client = Together()
response = client.chat.completions.create(
    model="arcee-ai/AFM-4.5B",
    messages=[
        {
            "role": "user",
            "content": "What are some fun things to do in New York?"
        }
    ]
)
print(response.choices[0].message.content)
cURL#
curl -X POST "https://api.together.xyz/v1/chat/completions" \
  -H "Authorization: Bearer $TOGETHER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "arcee-ai/AFM-4.5B",
    "messages": [
      {
        "role": "user",
        "content": "What are some fun things to do in New York?"
      }
    ]
  }'

Quantization support#

Support for llama.cpp and Intel OpenVINO is available:

https://huggingface.co/arcee-ai/AFM-4.5B-GGUF

https://huggingface.co/arcee-ai/AFM-4.5B-ov

License#

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

Files

10 files · 9.26 GBWeights 9.24 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md5.74 KB3feb6e539b0cae6024a316b5b3465e4b16f2f7d06f55999d880f8b42aa0d851b
config.json843 B0d6ed7378bdfd9b2845ad01090c760c10b209757a5e9392c6bf6bfed0014807f
generation_config.json143 B300dda56674fb874772f8531a51345557691d30ee014ab9f3b2e0e51bee49e76
model-00001-of-00002.safetensors4.97 GB57ef34a05def7d83a9fa33f11a44c842b99c4ab3fc72eab03403a15c0b6de445
model-00002-of-00002.safetensors4.27 GBfcf0b354a1975416200837ff9401064fa72462bc57044741d36854658f5bc25e
model.safetensors.index.json24.1 KB71b482d5a4aef93f8aef428f9e0b75e421c3e2b5a1d20276e16032869b76c83d
special_tokens_map.json454 Ba27d5e476c626fafa424e654213ae7f68f917ff846fa992c0ceda2c84d7b15f6
tokenizer.json17.2 MBd48708c6021027e8fc6d5342e1498111d8e87aae8903319d3ead1fbdfc4a9125
tokenizer_config.json2.67 KBb7b5f2bdabea93742271394baaf133e5d246cd5f1d8b27e3d862ab4e7e92850f
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
e84d19711e pinned now2026-11-15 02:47 UTC10 files · 9.26 GB

Use it

$ fw get arcee-ai/AFM-4.5B
# manifest sha256 a0d3f6357a65… · 9.26 GB · 10 files
$ fw verify ./AFM-4.5B arcee-ai/AFM-4.5B
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.json --dir ./AFM-4.5B $ python3 fw.py verify ./AFM-4.5B ./arcee-ai__AFM-4.5B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download arcee-ai/AFM-4.5B --revision e84d19711eca5817c1608cb344d931bf05c966dd --local-dir ./AFM-4.5B
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", revision="e84d19711eca5817c1608cb344d931bf05c966dd") model = AutoModelForCausalLM.from_pretrained("arcee-ai/AFM-4.5B", revision="e84d19711eca5817c1608cb344d931bf05c966dd", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve arcee-ai/AFM-4.5B --revision e84d19711eca5817c1608cb344d931bf05c966dd

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
3feb6e539b0cae6024a316b5b3465e4b16f2f7d06f55999d880f8b42aa0d851b
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.5BDate: 2026-11-15Commit: e84d197Signed: 2DC28CC7B26A283B ✓
Upstream
arcee-ai/AFM-4.5B
Pinned commit
e84d19711eca5817c1608cb344d931bf05c966dd
Manifest
AFM-4.5B.json · .minisig
Manifest sha256
a0d3f6357a65f92564ea337a0fc68b56423584c5a9020495ceb56fa5c8beb202
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:47 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

Parent

arcee-ai/AFM-4.5B-Base · this model is a finetune of it

3 models in the catalog name this one as their parent.

Quantizations
3
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download arcee-ai/AFM-4.5B
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.json. Provenance. Takedown history: none.

Variants

3 quantized or adapter builds of AFM-4.5B. Each has its own license check and page.

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