alt.freeweights.olmo / AMD-OLMo-1B-SFT
From: amd <huggingface.co/amd>Newsgroups: alt.freeweights.olmoSubject:

AMD-OLMo-1B-SFT

Date: 2026-11-15Commit: 228e18aSigned: 2DC28CC7B26A283B ✓

Text generation model with 1.2B parameters. Safetensors weights, 4.71 GB in all. Published by amd under Apache-2.0.

1.2B params4.71GBAMD-OLMo-1B-SFTsafetensorspermissive
FactsParams1.2BSize4.71 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get amd/AMD-OLMo-1B-SFT
# manifest sha256 e2909496ccdc… · 4.71 GB · 8 files
$ fw verify ./AMD-OLMo-1B-SFT amd/AMD-OLMo-1B-SFT
From sourceHosted (signed)amd/AMD-OLMo-1B-SFTLast check: 2026-11-15 03:44 UTC

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

Works with

Overview

Size
4.71 GB
Weights
4.71 GB (safetensors)
Parameters
1.2B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
8, each with a sha256
Publisher
amd
Added
2026-11-15
Section
alt.freeweights.olmo
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:44 UTCpassed

Model card

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

AMD-OLMo#

AMD-OLMo are a series of 1B language models trained from scratch by AMD on AMD Instinct™ MI250 GPUs. The training code used is based on OLMo. We release the pre-trained model, supervised fine-tuned model, and DPO aligned model as follows:

Description:

  • Hardware: Each compute node consists of 4 AMD Instinct™ MI250 GPUs. We use 16 nodes for pretraining AMD-OLMo-1B
  • Training throughput: 12,200 tokens/sec/gpu
  • Model architecture: AMD-OLMo-1B is based on the model architecture and training set up of fully open source 1 billion version of OLMo-1B with the details below: | Parameter size | Number of layers | Number of heads | Hidden size | Context length | Vocabulary Size | |-----------------:|:------------------:|:-----------------:|:-------------:|:----------------:|:----------------:| | 1.2B | 16 | 16 | 2048 | 2048 | 50,280 |
  • Hyper-parameters: |Stage | LR schedule | Peak LR | Warmup steps |Epochs| Batch size (tokens) | |------------:|:--------------:|:---------:|:--------------:|:------:|:---------------------:| |Pretraining | Cosine | 4.0e-4 | 2000 | 1 | 4M | |SFT Phase 1 | Linear | 2.0e-5 | 200 | 3 | 262K | |SFT Phase 2 | Linear | 2.0e-5 | 200 | 3 | 1024K | |DPO | Cosine | 4.0e-6 | 47 | 1 | 64K |

For more details, please refer to our blog.

Usage#

PyTorch on AMD GPUs#

For running pytorch on AMD GPUs you can use the following rocm docker as in docker hub

docker pull rocm/pytorch:latest
# Inside docker
pip install transformers
Use Example#
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("amd/AMD-OLMo-1B-SFT").to("cuda") # remove .to("cuda") to load on cpu
tokenizer = AutoTokenizer.from_pretrained("amd/AMD-OLMo-1B-SFT")

prompt = "What is large language model?"
bos = tokenizer.eos_token
template = bos + "<|user|>\n{prompt}\n<|assistant|>\n"

input_text = template.format(prompt=prompt)
inputs = tokenizer([input_text], return_tensors='pt', return_token_type_ids=False).to("cuda")
outputs = model.generate(**inputs, max_new_tokens=1000, do_sample=True, top_k=50, top_p=0.95)
print(tokenizer.batch_decode(outputs, skip_special_tokens=True)[0])

Main Results#

Pretraining Results#
Standard BenchmarksTinyLLaMA-v1.1 (1.1B)MobiLLaMA-1B (1.2B)OLMo-1B (1.2B)OpenELM-1_1B (1.1B)OLMo-1B-0724-hf (1.2B)AMD-OLMo-1B (1.2B)
arc_easy55.4756.6557.2855.4356.6563.64
arc_challenge32.6832.0031.0632.3432.3433.70
hellaswag61.4761.8062.9264.8166.1263.61
piqa73.5675.3075.1475.5775.0875.57
boolq55.9960.8361.7463.5866.1860.58
sciq89.3088.2087.0090.6092.7093.20
winogrande59.4359.2759.9861.7261.7261.64
openbookqa36.8035.4036.2036.2035.6035.80
mmlu (0-shot)25.0224.8124.2325.2625.4524.88
gsm8k (8-shot)1.820.002.502.818.952.88
bbh (3-shot)25.630.0025.6316.7721.6720.95
Average47.0244.9347.6147.7349.3148.77
Instruction Tuning Results#
Standard BenchmarksTinyLlama-1.1B-Chat-v1.0 (1.1B)MobiLlama-1B-Chat (1.2B)OpenELM-1_1B-Instruct (1.1B)AMD-OLMo-1B-SFT (1.2B)AMD-OLMo-1B-SFT-DPO (1.2B)
arc_easy54.4257.4152.4463.6864.31
arc_challenge32.8534.5637.8037.1237.37
hellaswag60.4062.5171.2961.6361.91
piqa74.4875.7375.0374.4374.16
boolq61.0455.6670.2868.5370.24
sciq88.4087.1089.5091.2092.10
winogrande60.5460.7762.1960.2260.62
openbookqa37.2036.8039.2037.4040.20
mmlu24.6125.2525.5429.9730.52
gsm8k (8-shot)2.810.231.8218.2015.77
bbh (3-shot)26.830.0013.4025.1725.45
Average47.6045.0948.9551.6052.06
Chat BenchmarksTinyLlama-1.1B-Chat-v1.0 (1.1B)MobiLlama-1B-Chat (1.2B)OpenELM-1_1B-Instruct (1.1B)AMD-OLMo-1B-SFT (1.2B)AMD-OLMo-1B-SFT-DPO (1.2B)
AlpacaEval 1 (Win Rate)50.8134.9037.7250.1254.22
AlpacaEval 2 (LC Win Rate)1.541.590.493.882.37
MTBench3.382.89-4.354.10
Responsible AI BenchmarksTinyLlama-1.1B-Chat-v1.0 (1.1B)MobiLlama-1B-Chat (1.2B)OpenELM-1_1B-Instruct (1.1B)AMD-OLMo-1B-SFT (1.2B)AMD-OLMo-1B-SFT-DPO (1.2B)
ToxiGen41.7037.2342.3439.0439.68
crows_pairs60.3558.5059.9360.2961.00
TruthfulQA-mc237.9238.4645.8437.4540.06

*In generating tokens for chat benchmark evaluations, we use max_length=2048 for AlpacaEval and max_new_tokens=2048 for MTBench.

*All numbers in above tables were obtained from our evaluations.

Evaluation#

We use the following open source evaluation frameworks for evaluating our models:

  • Language Model Evaluation Harness: For evaluating on commonsense reasoning, multi-task understanding & responsible AI benchmarks
  • AlpacaEval: For evaluating instruction-following capabilities of chat models.
  • MT-Bench: For evaluating multi-turn capabilities of chat models.
Setup#
# lm-eval-harness
git clone https://github.com/EleutherAI/lm-evaluation-harness
cd lm-evaluation-harness
pip install -e .

# AlpacaEval
pip install git+https://github.com/tatsu-lab/alpaca_eval
cd alpaca_eval
pip install -e .

# MT-Bench
git clone https://github.com/lm-sys/FastChat.git
cd FastChat
pip install -e ".[model_worker,llm_judge]"
Run evaluation#
# lm-eval-harness
HF_MODEL=amd/AMD-OLMo-1B-SFT-DPO
accelerate launch -m lm_eval --model hf \
    --model_args pretrained=$HF_MODEL,trust_remote_code=True \
    --tasks arc_easy,arc_challenge,hellaswag,piqa,boolq,sciq,winogrande,openbookqa,mmlu,gsm8k_cot,bbh_cot_fewshot,toxigen,truthfulqa,crows_pairs \
    --device cuda \
    --batch_size 32 \
    --output_path ./lm-eval-results/$HF_MODEL

Training#

Setup#
WORK_DIR="<path_to_your_working_directory>"
cd $WORK_DIR
# Clone OLMo codebase:
git clone https://github.com/allenai/OLMo.git --branch v0.3.0
cd OLMo
# Clone AMD-OLMo that contains files to reproduce our model training
git clone https://huggingface.co/amd/AMD-OLMo

docker pull rocm/pytorch:latest
docker run -it --network=host --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --shm-size 8G -v $WORK_DIR/OLMo:/OLMo -w /OLMo rocm/pytorch:latest

# Remove Line 17 as the docker already has ROCm PyTorch installed
sed -i '17d' pyproject.toml
pip install -e .[all]
Download and prepare pretraining datasets#
# Download
DATA_DIR=./datasets/dolma
mkdir -p $DATA_DIR

PARALLEL_DOWNLOADS="<number_of_parallel_downloads>"
cat "AMD-OLMo/dolma_v1_7_subset.txt" | xargs -n 1 -P $PARALLEL_DOWNLOADS wget -q -P $DATA_DIR

# Prepare
NUM_WORKERS="<number_of_workers>"
python scripts/prepare_memmap_dataset.py $DATA_DIR/*.json.gz -o $DATA_DIR/memmap_dataset --workers $NUM_WORKERS
Download and prepare SFT datasets#
# 1st phase SFT dataset
python AMD-OLMo/prepare_sft_data.py --output_dir ./datasets/tulu --tokenizer tokenizers/allenai_eleuther-ai-gpt-neox-20b-pii-special.json --dataset tulu

# 2nd phase SFT dataset
python AMD-OLMo/prepare_sft_data.py --output_dir ./datasets/OpenHermes_WebInstructSub_CodeFeedBack --tokenizer tokenizers/allenai_eleuther-ai-gpt-neox-20b-pii-special.json --dataset 2nd-phase
Run Training#

Pretrainig config: AMD-OLMo-1B.yaml

SFT config: AMD-OLMo-1B-SFT-1st-phase.yaml and AMD-OLMo-1B-SFT-2nd-phase.yaml

# Single node
HSA_FORCE_FINE_GRAIN_PCIE=1 OMP_NUM_THREADS=128 NCCL_DEBUG=INFO torchrun --nproc_per_node=8 ./scripts/train.py AMD-OLMo/AMD-OLMo-1B.yaml

# Multiple nodes
HSA_FORCE_FINE_GRAIN_PCIE=1 OMP_NUM_THREADS=128 NCCL_DEBUG=INFO torchrun --nnodes=$nnodes --node-rank=$node_rank --master_addr=$master_addr --master_port=$master_port --nproc_per_node=8 ./scripts/train.py AMD-OLMo/AMD-OLMo-1B.yaml
Run DPO Training#

DPO recipe: AMD-OLMo-1B-dpo.yaml.

# install trl library
git clone https://github.com/huggingface/trl.git -b v0.8.6

# replace dpo_trainer.py
cp AMD-OLMo/dpo_trainer.py trl/trl/trainer

pip install -e ./trl

# install alignment-handbook
git clone https://github.com/huggingface/alignment-handbook.git hf-align
# 70769f9 is the main branch on 2024-04-11.
cd hf-align && git checkout 70769f9 && cd .. 

pip install -e ./hf-align

# Copy AMD OLMo DPO recipe to hf-align/recipes.
cp AMD-OLMo/AMD-OLMo-1B-dpo.yaml hf-align/recipes/

# Prepare the converted AMD-OLMo SFT Huggingface model to ckpt_dir.
ckpt_dir=amd/AMD-OLMo-1B-SFT
local_tokenizer_dir=${ckpt_dir}

# Set output checkpoint dir.
dpo_ckpt_dir=<your_output_checkpoint_dir>

accelerate launch --config_file hf-align/recipes/accelerate_configs/deepspeed_zero3.yaml \
hf-align/scripts/run_dpo.py hf-align/recipes/AMD-OLMo-1B-dpo.yaml \
--trust_remote_code=true \
--model_name_or_path=${ckpt_dir} \
--tokenizer_name_or_path=${local_tokenizer_dir} \
--output_dir=${dpo_ckpt_dir} \
--num_train_epochs=1 \
--learning_rate=4e-6 \
--beta=0.3 \
--loss_type=sigmoid

Bias, Risks, and Limitations#

  • The models are being released for research purposes only and are not intended for use cases that require high levels of factuality, safety critical situations, health or medical applications, generating false information, facilitating toxic conversations.
  • Model checkpoints are made accessible without any safety guarantees. It is crucial for users to conduct comprehensive evaluations and implement safety filtering mechanisms as per their respective use cases.
  • It may be possible to prompt the model to generate content that may be factually inaccurate, harmful, violent, toxic, biased, or otherwise objectionable. Such content may also get generated by prompts that did not intend to produce output as such. Users are thus requested to be aware of this and exercise caution and responsible thinking when using the model.
  • Multi-lingual abilities of the models have not been tested and thus may misunderstand and generate erroneous responses across different languages.

Appendix#

Evaluation Metrics#
BenchmarkMetric
arc_easyNormalized Accuracy
arc_challengeNormalized Accuracy
hellaswagNormalized Accuracy
piqaAccuracy
boolqAccuracy
sciqAccuracy
winograndeAccuracy
openbookqaNormalized Accuracy
mmluAccuracy
gsm8k (8-shot)Exact Match (Flexible Extract)
bbh (3-shot)Exact Match
ToxiGenAccuracy
crows_pairsPCT Stereotype
TruthfulQA-mc2Accuracy
AlpacaEval 1 (Win Rate)Win Rate (chatgpt_fn)
AlpacaEval 2 (LC Win Rate)Length Control Win Rate (weighted_alpaca_eval_gpt4_turbo)
MTBenchAverage score for single-answer grading (2 turns)

Feel free to cite our AMD-OLMo models:

@article{instella,
  title={Instella: Fully Open Language Models with Stellar Performance},
  author={Liu, Jiang and Wu, Jialian and Yu, Xiaodong and Su, Yusheng and Mishra, Prakamya and Ramesh, Gowtham and Ranjan, Sudhanshu and Manem, Chaitanya and Sun, Ximeng and Wang, Ze and Brahma, Pratik Prabhanjan and Liu, Zicheng and Barsoum, Emad},
  journal={arXiv preprint arXiv:2511.10628},
  year={2025}
}
License#

Copyright (c) 2018-2024 Advanced Micro Devices, Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Files

8 files · 4.71 GBWeights 4.71 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 8 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md17.2 KB2357d920cd33ee59faae782e47a53c03553f3f5dd31d6a8a6ce5691027c2063a
config.json609 B95153241d18c58f712a0e12d41014a82d30c694c0472cfa7d6e72d8a8acc4d55
generation_config.json115 Be9a6fc6755330e6da09ba04b1137c4db0744faafc0fa609ff378fd6989518295
model.safetensors4.71 GB5160e17f5e8450af6ef2b9790afbceff8dd1eb787e991b31982556c178d2872e
special_tokens_map.json295 Bfb9368e9e3b2dfaee1d5c8f6fe08ac6057b57f46325da07fbcb4da185e85db77
tokenizer.json2.11 MBf296bb5400c4010096f8ef9a1d695f0b69d0ae6791028e4eac122afbfb9614b8
tokenizer_config.json5.37 KB20899789303ffebe50f26c91b5ad426c3910346476dce36682c1c4b949d65380
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
228e18a817 pinned now2026-11-15 03:44 UTC8 files · 4.71 GB

Use it

$ fw get amd/AMD-OLMo-1B-SFT
# manifest sha256 e2909496ccdc… · 4.71 GB · 8 files
$ fw verify ./AMD-OLMo-1B-SFT amd/AMD-OLMo-1B-SFT
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/amd/AMD-OLMo-1B-SFT.json --dir ./AMD-OLMo-1B-SFT $ python3 fw.py verify ./AMD-OLMo-1B-SFT ./amd__AMD-OLMo-1B-SFT.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download amd/AMD-OLMo-1B-SFT --revision 228e18a8172beabcce6a0e686ac084cede5820fc --local-dir ./AMD-OLMo-1B-SFT
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("amd/AMD-OLMo-1B-SFT", revision="228e18a8172beabcce6a0e686ac084cede5820fc") model = AutoModelForCausalLM.from_pretrained("amd/AMD-OLMo-1B-SFT", revision="228e18a8172beabcce6a0e686ac084cede5820fc", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve amd/AMD-OLMo-1B-SFT --revision 228e18a8172beabcce6a0e686ac084cede5820fc

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
2357d920cd33ee59faae782e47a53c03553f3f5dd31d6a8a6ce5691027c2063a
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: amd <huggingface.co/amd>Newsgroups: alt.freeweights.olmoSubject: AMD-OLMo-1B-SFTDate: 2026-11-15Commit: 228e18aSigned: 2DC28CC7B26A283B ✓
Upstream
amd/AMD-OLMo-1B-SFT
Pinned commit
228e18a8172beabcce6a0e686ac084cede5820fc
Manifest
AMD-OLMo-1B-SFT.json · .minisig
Manifest sha256
e2909496ccdc752066b62492b0bb153af9df5f5e68f115ab6b4dbcece1ce0bca
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:44 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/amd/AMD-OLMo-1B-SFT.json $ curl -O https://freeweights.allternit.com/manifests/amd/AMD-OLMo-1B-SFT.json.minisig $ minisign -Vm AMD-OLMo-1B-SFT.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

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

Quantizations
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download amd/AMD-OLMo-1B-SFT
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. AMD-OLMo-1B-SFT.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of AMD-OLMo-1B-SFT. Each has its own license check and page.

From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3-7B-Instruct-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3-7B-Think-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3.1-32B-Instruct-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3.1-32B-Think-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_olmOCR-2-7B-1025-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_olmOCR-7B-0225-preview-GGUF