What it is made from
Ting is one round of supervised fine-tuning (SFT) on top of a mid-trained open base model. Nothing else. There was no
preference tuning (DPO), no reinforcement learning, and no weight merging. This release has not had the identity step.
Table with columns: Step, What, Where| Step | What | Where |
|---|
| 1. Base | OpenEuroLLM Prelude 9B, mid-trained to a 64K context (stage 5, branch d2: the 300B-token cooldown with more reasoning data). Not post-trained. Apache-2.0. | marianna13/prelude-9b-midtrain-stage5-64k-step13984, from openeurollm/prelude-base |
| 2. Swedish SFT | 1,193 steps over about 1.14B tokens (735M of them supervised), 44.7 % Swedish tokens: translated reasoning and instruction data, Swedish synthetic data, tool use, multilingual reasoning with replay, honesty data. Details below. | this card |
| 3. Identity | Not in this release. A short step that makes the model say it is Ting is being redone. | |
| 4. Release | bf16 safetensors (this repo) and GGUF quantizations (ting-9b-GGUF). | |
Architecture is the Prelude 9B decoder (Qwen3-style, 262K vocabulary, RoPE base 9,000,000, YaRN ×2 to 128K positions).
Fine-tuning used sequences of at most 32,768 tokens, so quality beyond that length is inherited from the base and not tested.
Run it
Full-precision weights (bf16, safetensors) for transformers, vLLM, further fine-tuning and your own quantization.
For local use, the quantized GGUF build is at birgermoell/ting-9b-GGUF
and on Ollama as ollama run birgermoell/ting-9b:q6_k.
from transformers import AutoModelForCausalLM, AutoTokenizerimport torch repo = "birgermoell/ting-9b"tok = AutoTokenizer.from_pretrained(repo)model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto") msgs = [{"role": "user", "content": "Vem är du?"}]x = tok.apply_chat_template(msgs, add_generation_prompt=True, enable_thinking=False, return_tensors="pt").to(model.device)y = model.generate(x, max_new_tokens=300, do_sample=True, temperature=0.6, top_p=0.95, eos_token_id=tok.convert_tokens_to_ids("<|im_end|>"))text = tok.decode(y[0, x.shape[1]:], skip_special_tokens=True)print(text.split("</think>")[-1].strip()) # drop the (empty, in direct mode) think block
In direct mode the model writes an empty <think></think> block before its answer; Ollama and llama.cpp hide it, plain
transformers shows it, so strip it as above. enable_thinking=True prefills the thinking block, but the model currently closes it at once and answers directly. Recommended sampling: temperature 0.6, top-p 0.95. Stop token <|im_end|>.
The weights are bf16 casts of the fp32 training weights.
Recommended system prompt
Without a system prompt this model answers short factual questions very briefly ("Vad är sveriges grundlag?" gets one line, and it
says it is Prelude). The Ollama build includes this system prompt, and for llama.cpp, vLLM or transformers you should add it
yourself (it is also in the file system in this repo):
Du heter Ting. Ting är en språkmodell som är tränad för svenska språket, kulturen och samhället, byggd på OpenEuroLLM:s Prelude. Svara utförligt, tydligt och välstrukturerat på svenska. Förklara bakgrund och sammanhang, ge konkreta exempel när det hjälper och var saklig. Om du är osäker på ett faktum, säg det.
In a test of eight Swedish questions with three samples each, it raised the median answer from 46 to about 255 words, and the
model then says "Jag heter Ting". The model itself is unchanged; a version with the name trained in is being tested.
Identity
This release answers "Vem är du?" with "Jag är Prelude, en öppen AI-modell som utvecklats av OpenEuroLLM-konsortiet", because it
was trained on the OpenEuroLLM identity data and not yet on Ting-specific data. It knows it is not ChatGPT or Claude. A
first attempt to teach it the name Ting made answers too short ("Vad är meningen med livet?" got one line), so that
version is not released. A gentler identity step is being tested and will replace this release when it passes the checks.
Training data
All rows were rendered with the OpenEuroLLM ChatML template, de-duplicated, and rendered to at most 32,768 tokens each
(longer rows are rejected, not cut). Loss is computed on assistant tokens only. Reasoning rows train on trace → </think> → answer; the
<think> opener sits on the prompt side, so the model never learns to open a thinking block unprompted.
Share of supervised tokens in the Swedish SFT step (735M in total):
Table with columns: Block, Supervised tokens, Source, Licence (from the dataset card)| Block | Supervised tokens | Source | Licence (from the dataset card) |
|---|
| Swedish reasoning: Dolci-Think translated to Swedish, filter-passed, loops removed | 207M | openeurollm/Dolci-Think-SFT-translated-decontaminated (Ai2 Dolci) | Apache-2.0 (upstream ODC-BY) |
| Swedish instructions: Dolci-Instruct translated to Swedish | 142M | openeurollm/Dolci-Instruct-SFT-translated-decontaminated | Apache-2.0 |
| Swedish synthetic instructions, judge score ≥ 9 | 57M | openeurollm/EuroMultiSynth-Instruct (sv) | Apache-2.0 |
| Swedish Kimi-K3 answers and reasoning | 5M | jonasaise/kimi-kr-synth-sv | Apache-2.0; Kimi-K3 output terms |
| Tool use and function calling (about 30 % of rows teach when not to call) | 69M | birgermoell/openeurollm-tool-use-v1: Toucan, When2Call, Nemotron-SFT-Agentic-v2, ToolMind, ToolACE, oellm-eu-tooluse | per row: Apache-2.0 and CC-BY-4.0 |
| Reasoning in other languages and domains: precise instruction following, safety, chat, maths/code/STEM, Nemotron multilingual, MedQA with verified answers | 198M | birgermoell/openeurollm-reasoning-instruct-v1 (Dolci-Think-32B, OpenEuroLLM-Excellent-SFT, MedQA, multilingual trace pilot) | per row: ODC-BY-1.0, CC-BY-4.0, Apache-2.0, MIT (MedQA) |
| Replay of direct answers (keeps the default non-thinking mode stable): Excellent-SFT, Dolci translated, Aya | 55M | same dataset | per row, as above |
| Hallucination and abstention SFT warm start | 1M | birgermoell/prelude-9b-sft-v2-hallucination-r2-data | see dataset card (answers written or checked by Gemma-4-31B-it) |
| EU document tasks | <0.1M | birgermoell/oellm-eu-tasks | CC-BY-4.0 |
| OpenEuroLLM model identity rows (this is why the model currently says it is Prelude) | 0.3M | openeurollm/openeurollm-model-identity | CC-BY-4.0 |
Licence. Ting's weights are released under Apache-2.0, the licence of the base model. The training data is a mix:
each upstream source keeps its own terms (several require attribution: Ai2 Dolci / OLMo, NVIDIA Nemotron and When2Call,
Hugging Face SmolTalk2, Cohere Labs Aya, the MedQA authors, Toucan, ToolMind, ToolACE, OpenEuroLLM). Much of the data is
model-generated or machine-translated (Gemma, Qwen, DeepSeek, Kimi and others), so the generating models' output terms may
also apply. The licence column above comes from the dataset cards, not from a row-by-row audit.
How well does it work
These are the checks that were run on this exact model. No public benchmark (MMLU, GPQA, SWE-bench and so on) has been
run on Ting yet. Do not read the base model's published scores as Ting's.
Held-out loss on up to 40 validation conversations per source (548 in total), supervised tokens only (lower is better):
Table with columns: Base (Prelude mid-train, d2), This release (after Swedish SFT) | Base (Prelude mid-train, d2) | This release (after Swedish SFT) |
|---|
| All sources (sampled) | 0.707 | 0.607 |
| Swedish synthetic (EuroMultiSynth sv) | 1.238 | 0.789 |
| Medical QA reasoning | 1.622 | 0.915 |
| Translated Swedish reasoning | 0.601 | 0.581 |
| Translated Swedish instructions | 0.516 | 0.499 |
Loss is a measure of how well the model predicts this kind of data, not of
how good its answers are.
Tool calling, 221 held-out conversations, greedy decoding, thinking off:
Table with columns: Base, This release (after Swedish SFT) | Base | This release (after Swedish SFT) |
|---|
| Writes a valid call (119 rows that need one) | 107 | 115 |
| Picks the right tool | 92 | 100 |
| Identical call incl. arguments | 65 | 67 |
| Calls a tool when it shouldn't (102 rows) | 8 | 3 |
| Malformed call blocks | 3 | 3 |
Format and tool choice improved clearly. Getting every argument exactly right barely moved (67 of 119), so expect to
validate arguments in your own agent loop.
Swedish answers. On 12 hand-written Swedish prompts (parliament terms, the principle of public access to official
records, an email, arithmetic, a Python function, translation, plain-language writing) the answers are fluent and on topic.
Known weaknesses
- It is a 9B model. It makes up facts, dates, names and references. Check anything that matters.
- Swedish culture and law. The training teaches Swedish language and style; it does not make the model an
authority on Swedish law or administration, and nothing here was checked by lawyers or case officers.
- Machine-made data. Most Swedish training data is translated or generated, so awkward phrasing and teacher-model
habits can show up.
- Tool arguments are right in about 56 % of calls that need one (67 / 119); the rest differ from the reference.
- Thinking mode does not reason yet. With the switch on (the prompt is prefilled with
<think>), the model closes the block at once
and answers directly. Four prompts were tried through Ollama (date arithmetic, a speed problem, a factorial puzzle, an explanation
of the principle of public access) and none produced a reasoning trace. Treat it as a direct-answer model for now.
- Context. Fine-tuned at up to 32K tokens; longer contexts are untested.
- Identity. This release says it is Prelude, not Ting (see above).
- Safety. It got a small amount of safety reasoning and refusal data. It has not been red-teamed.
Credits
Built on OpenEuroLLM's Prelude base and its translated Dolci and EuroMultiSynth data. Thanks to Ai2 (Dolci, OLMo), NVIDIA
(Nemotron), Hugging Face (SmolTalk2), Cohere Labs (Aya), the MedQA authors, the Toucan, ToolMind and ToolACE authors,
and everyone behind the open datasets above.