Barcelona Supercomputing Center releases an open 40B chat model

In short

Apache 2.0 licence; 40.4B parameters; ~80.9 GB bfloat16 weights, 17 files; ~43.0 GB Q8_0 GGUF file; 163,840 tokens of context

Can I use this chat model commercially?

Apache 2.0 (our plain reading) lets you use, change, copy, host and sell the model, in a company product too, as long as you keep the licence and notices. It carries an express patent grant. The model card says the model "is released under the permissive Apache 2.0 license" and that all training scripts and configuration files are public in the langtech-bsc/alia repository. Hugging Face's licence tag reads apache-2.0.

What you download

Sources: the file listings of the two repositories; the 80.9 GB is our sum of the 17 shard sizes. The weights are a Llama-type architecture (LlamaForCausalLM) with 48 layers, hidden size 8,192 and 8 key-value heads, by config.json. The vocabulary has 256,000 tokens.

What hardware does this chat model need?

BSC states no minimum hardware for inference. What follows is our arithmetic from the files and the config, not a measurement:

The card recommends two routes: deploy it as a service with vLLM for the full model or llama.cpp for the GGUF, or use Hugging Face's "Deploy / Inference Endpoints" button. It "strongly" prefers a service over loading it in Python, and it "strongly discourage[s]" Ollama, citing compatibility issues that "may seriously degrade the model's performance". It suggests a temperature of 0 to 0.2 and no repetition penalty. The prompt format is ChatML.

For scale, BSC itself ran the supervised fine-tuning and alignment stages on 16 nodes with 64 GPUs each time, on its MareNostrum 5 supercomputer.

How it compares

BSC's card gives no side-by-side with other open models, so we make none. It reports its own zero-shot results, with a warning that figures can swing by about 1.5% with the library version:

Source: model card, BSC's own evaluation. The card's LLM-as-a-judge "Multilingual results" section is marked "WiP" (work in progress). The 163,840-token window is described as a long-context adaptation (2 billion training tokens from 4k to 32k, then 36.8 billion from 32k to about 160k); BSC's needle-in-a-haystack test is limited, and the card itself says it "does not guarantee" short-context performance on bigger tasks.

Caveats

Sources

Sources

Related stories

More from Open Models

All stories from Open Models