alt.freeweights.olmo / BAR-2x7B-Code
From: allenai <huggingface.co/allenai>Newsgroups: alt.freeweights.olmoSubject:

BAR-2x7B-Code

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

Text generation model with 11.6B parameters. Safetensors weights, 23.3 GB in all. Published by allenai under Apache-2.0.

11.6B params23.3GBBAR-2x7B-Codesafetensorspermissive
FactsParams11.6BSize23.3 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get allenai/BAR-2x7B-Code
# manifest sha256 b91bd19a047e… · 23.3 GB · 17 files
$ fw verify ./BAR-2x7B-Code allenai/BAR-2x7B-Code
From sourceHosted (signed)allenai/BAR-2x7B-CodeLast check: 2026-11-15 03:32 UTC

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

Works with

Overview

Size
23.3 GB
Weights
23.3 GB (safetensors)
Parameters
11.6B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
17, each with a sha256
Publisher
allenai
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:32 UTCpassed

Model card

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

BAR#

BAR (Branch-Adapt-Route) is a modular post-training approach that extends a fully post-trained language model with new domain capabilities via independently trained Mixture-of-Experts. Rather than retraining a single model across all domains, BAR trains independent domain experts — each through its own mid-training, supervised finetuning (SFT), and reinforcement learning pipeline — and composes them into a unified model via an MoE architecture with lightweight router training.

All BAR models are built on top of Olmo 2 7B.

Models in the BAR suite#

  • BAR-7B — initial fully post-trained 7B dense model (the starting point)
  • BAR-2x7B-Base — 2-expert MoE (anchor + base pre-trained model)
  • BAR-2x7B-Math-SFT — math expert after mid-training and SFT
  • BAR-2x7B-Math — math expert after mid-training + SFT + RLVR
  • BAR-2x7B-Code-SFT — code expert after mid-training and SFT
  • BAR-2x7B-Code — code expert after mid-training + SFT + RLVR
  • BAR-2x7B-Tool-Use — tool use expert (SFT only)
  • BAR-2x7B-Safety — safety expert (SFT only)
  • BAR-5x7B — final 5-expert MoE combining all experts with a trained router

Results#

ModelOverallKnowledgeReasoningChatMathCodeTool UseSafety
BAR-7B31.328.529.848.923.611.825.351.3
BAR-2x7B-Math-SFT36.828.831.240.941.920.521.672.7
BAR-2x7B-Math39.329.030.842.555.822.119.875.4
BAR-2x7B-Code-SFT38.528.829.140.125.549.319.777.3
BAR-2x7B-Code38.828.529.241.026.950.419.875.3
BAR-2x7B-Tool-Use37.228.528.739.321.816.946.479.1
BAR-2x7B-Safety35.628.728.838.122.415.721.194.6
BAR-5x7B49.128.430.838.756.249.945.694.0

Scores are unweighted averages across benchmarks within each category. See the paper for per-benchmark results and full evaluation details.

License#

This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines.

Files

17 files · 23.3 GBWeights 23.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.checkpoint_complete0 Be3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md2.37 KB4f81343f9be924e0a3506f53cebbc8b35094f4f857d0f89c681a4a7e3377c4d7
chat_template.jinja1.65 KB1fd2eac6d6f73da1f9e30d9b0511f91a70cc8455ffffe48d20f48e77357f5029
config.json768 B904b4662ed9f4eb52a93104c4116d84682592c56beace7c37406a454461b7691
generation_config.json127 Bf8db4870b0f34d9620aac8294b4ed1f57c0051e7f8ad62e692247d02e32bbb1b
merges.txt917 KBb6fe424e334903f7fb84d3a106d9730455f4744b9fe3c21ee136d97a00e72502
model-00001-of-00005.safetensors4.97 GB124cd1edf6d8c266fec24d854c4f39f1b40a8e36b1dd2d9de8351d7ded99c47b
model-00002-of-00005.safetensors4.94 GB8fafc2f73074eefbe10261bd7c1fd18fd7d0a65fb92b10a093d691c8d84a60bb
model-00003-of-00005.safetensors5.00 GBdd0fced62709234d477d7360f9ea3b06472808526f9aeeaa8d1ced4a56858c50
model-00004-of-00005.safetensors4.95 GBb96085195e3c76f068c496bb8b512ac5e9d7be524de4b41e2ea4103f23b0474c
model-00005-of-00005.safetensors3.39 GB74010c5e2c9e409c1c93fb064ff4a2b3c5cdadd7bd8b15d5ef530f944556b750
model.safetensors.index.json41.5 KBee3e3e0e51eed99af504e7ffc7e00c9e1df64564d9f2a6ccff305f097f3665ef
special_tokens_map.json581 B78afb564e81264029b25f9caf24bda2521d5bdaeff5cd3fdbc01d3da2e8ce2f2
tokenizer.json7.14 MB7738a25c46a6043a0e2e605138851baa450269ce9d800af6ca9bf6192e45510c
tokenizer_config.json4.32 KBf7a2753a4ff30657e452c8fef02b9a99a3b900ceb4c65a1e3fbea6a3bfab07a6
vocab.json1.61 MBd8eb44d0d51f5e39c9b14825ca8bd10a2500f99c438ca81d4462f0263acd3b53
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
dc5c400395 pinned now2026-11-15 03:32 UTC17 files · 23.3 GB

Use it

$ fw get allenai/BAR-2x7B-Code
# manifest sha256 b91bd19a047e… · 23.3 GB · 17 files
$ fw verify ./BAR-2x7B-Code allenai/BAR-2x7B-Code
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/allenai/BAR-2x7B-Code.json --dir ./BAR-2x7B-Code $ python3 fw.py verify ./BAR-2x7B-Code ./allenai__BAR-2x7B-Code.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download allenai/BAR-2x7B-Code --revision dc5c4003957a7d24013d178a64affded5391b597 --local-dir ./BAR-2x7B-Code
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("allenai/BAR-2x7B-Code", revision="dc5c4003957a7d24013d178a64affded5391b597") model = AutoModelForCausalLM.from_pretrained("allenai/BAR-2x7B-Code", revision="dc5c4003957a7d24013d178a64affded5391b597", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve allenai/BAR-2x7B-Code --revision dc5c4003957a7d24013d178a64affded5391b597

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
4f81343f9be924e0a3506f53cebbc8b35094f4f857d0f89c681a4a7e3377c4d7
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: allenai <huggingface.co/allenai>Newsgroups: alt.freeweights.olmoSubject: BAR-2x7B-CodeDate: 2026-11-15Commit: dc5c400Signed: 2DC28CC7B26A283B ✓
Upstream
allenai/BAR-2x7B-Code
Pinned commit
dc5c4003957a7d24013d178a64affded5391b597
Manifest
BAR-2x7B-Code.json · .minisig
Manifest sha256
b91bd19a047e12be4eafea91e0ab6c97c7353ad67ba0fa0ec7c9a8cdcee0ee29
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:32 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/allenai/BAR-2x7B-Code.json $ curl -O https://freeweights.allternit.com/manifests/allenai/BAR-2x7B-Code.json.minisig $ minisign -Vm BAR-2x7B-Code.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 allenai/BAR-2x7B-Code
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. BAR-2x7B-Code.json. Provenance. Takedown history: none.
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