Downloads · 30 days
66
15% of all-time downloads
Hob-forge/BAR-2x7B-Tool-Use-GGUF
BAR-2x7B-Tool-Use-GGUF is a text generation model from Hob-forge. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
This is the first GGUF conversion of allenai/BAR-2x7B-Tool-Use, one of AllenAI's BAR-family Mixture-of-Experts models released on 2026-04-19 based on the new FlexOlmo architecture.
Downloads · 30 days
66
15% of all-time downloads
All-time downloads
433
Public
Repo size
7.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf7.1 GB · 100%
From the Hugging Face model README
This is the first GGUF conversion of allenai/BAR-2x7B-Tool-Use, one of AllenAI's BAR-family Mixture-of-Experts models released on 2026-04-19 based on the new FlexOlmo architecture.
Upstream llama.cpp does not support the FlexOlmo architecture: the support PR
ggml-org/llama.cpp#22540 was closed unmerged on 2026-04-30.
Use hob-llama.cpp, our llama.cpp build that adds FlexOlmo on a current upstream base:
hob-b11434: Linux (CPU x64/arm64, CUDA 12.8, ROCm, Vulkan), Windows (CPU
x64/arm64, CUDA 12.4/13.4, ROCm, Vulkan) and macOS (Intel x64), with SHA256SUMS.txt.git clone https://github.com/Seraphiel102/llama.cpp.git
cd llama.cpp
git checkout hob-b11434
cmake -B build -DGGML_CUDA=OFF # or -DGGML_CUDA=ON etc. for your GPU
cmake --build build -j --target llama-cli llama-completion llama-server
Per transformers.models.flex_olmo, FlexOlmoDecoderLayer is Olmo2's hybrid post-norm decoder layer with the dense FFN swapped for OlmoE-style top-k MoE routing. Specifically:
post_attention_layernorm and post_feedforward_layernorm (post-norm pattern, no input_layernorm)| Field | Value |
|---|---|
| Architecture | FlexOlmoForCausalLM (Olmo2 hybrid + OlmoE MoE) |
| Total parameters | ~11.6 B |
| Active parameters per token | ~11 B (top-2 of 2 experts → effectively dense forward) |
| Layers | 32 |
| Hidden size | 4096 |
| Attention heads | 32 (no GQA; head dim 128) |
| Experts | 2 routed, top-2 selected |
| Vocab | 100,278 |
| Context | 64K (rope_theta 500000) |
| Quant | Size | Status |
|---|---|---|
| Q4_K_M | ~6.7 GB | ✅ uploaded — recommended for consumer GPUs (12GB+) |
| Q5_K_M | ~8 GB | rolling out (uploaded as ready) |
| Q6_K | ~10 GB | rolling out |
| Q8_0 | ~12 GB | rolling out |
| F16 | ~22 GB | available on request |
Ollama's bundled llama.cpp does not support FlexOlmo, so this GGUF does not load in Ollama today. Use hob-llama.cpp (above). The Modelfile in this repo is kept for when Ollama adds support.
./build/bin/llama-completion \
-m BAR-2x7B-Tool-Use.Q4_K_M.gguf \
-p "Q: A train travels 60 miles in 1.5 hours. What's its average speed in mph?\nA:" \
-n 60 --temp 0.3
Sample output:
"To find the average speed, we need to divide the distance by the time. So, the average speed is 60 miles / 1.5 hours = 40 mph."
Q4_K_M was tested on three prompts during development:
All clean stops on the model's EOS, no looping or degeneration.
Re-verified 2026-10-06 on hob-llama.cpp b11434: the prompt "The capital of France is" gives byte-identical output and identical top-5 logprobs to the April build (temp 0, 32 tokens).
Apache 2.0 (matching the source release at AllenAI). This conversion is a derivative work — same license applies.
allenai/BAR-2x7B-Tool-Use (downloaded 2026-04-29)convert_hf_to_gguf.py → llama-quantizeIf you use this GGUF, please cite AllenAI's BAR release:
@misc{allenai2026bar,
title = {BAR: Beam-and-Adjust-Routing models},
author = {{Allen Institute for AI}},
year = {2026},
month = {April},
url = {https://huggingface.co/allenai/BAR-2x7B-Tool-Use}
}