Downloads · 30 days
1.6K
100% of all-time downloads
CortexLM/Teutonic-1-Chat-Preview
Teutonic-1-Chat-Preview is a text generation model from CortexLM. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
⚠️ Benchmarks: Benchmarks on this page may differ from other evals; they are not fully verified and may change. ⚠️ Preview only: Training is in progress; uploaded checkpoints are preview only, not for production.
Downloads · 30 days
1.6K
100% of all-time downloads
All-time downloads
1.6K
Public
Parameters
9B
11 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors11 GB · 100%
How the weights are stored.
F8_E4M36.9B · 77%
From the Hugging Face model README
⚠️ Benchmarks: Benchmarks on this page may differ from other evals; they are not fully verified and may change.
⚠️ Preview only: Training is in progress; uploaded checkpoints are preview only, not for production.
CortexLM Teutonic-1-Chat-Preview is a hybrid linear+softmax ~9B-class chat model with thinking-style reasoning, trained for long-context conversation and verifiable math/code problem solving.
Preview — still under active training. Expect weight updates, better alignment, and longer reliable generations. This card is a snapshot, not a final release.
e4m3, Qwen-style quantization_config) for efficient inference<think>…</think> reasoning blocks and tool-calling tags| Done in this preview | Still cooking |
|---|---|
| Long-context continued pretraining (up to 64k packs) | More preference / alignment optimization |
| Supervised chat, thinking, and tools | Broader RL beyond math/code verifiers |
| RL on verifiable math (and code-oriented) rewards | Reliable 64k free-form generation (in progress) |
| Long-output continuation (16k→32k response budgets) | Multimodal later |
| 256k RoPE on default weights + strong single-needle @128k/256k (internal smokes) | Harder multikey / multi-hop long-ctx retrieval |
| Chat + math quality retained on the shipped snapshot | Further alignment / preference passes |
Practical limits today: the default FP8 weights are the chat + math snapshot (strong internal math + single-needle @128k/256k). A later pure long-context co-train that pushed harder on 256k packs improved needle-style retrieval but collapsed thinking/math — that experiment is not shipped here and will not be promoted without math recovery. Generation defaults target long answers (up to 64k in generation_config), but stable 64k-out training is still underway.

Overview of mid-training, supervised chat fine-tune, RL verifiable rewards, and long-output continuation.

Mid-training train loss (smoothed) with held-out val points across the long-context curriculum.

Supervised chat+thinking fine-tune loss, plus a later long-context SFT continuation.

RL mean verifiable reward and response clip ratio; lower panel shows long-output continuation runs.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "CortexLM/Teutonic-1-Chat-Preview"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
repo,
trust_remote_code=True,
device_map="auto",
torch_dtype="auto", # loads FP8 weights via quantization_config
)
messages = [
{"role": "system", "content": "You are Teutonic, a helpful reasoning assistant."},
{"role": "user", "content": "Solve: 17 * 19. Put the final answer in \\boxed{}."},
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True, # if supported by the template path you use
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
out = model.generate(
**inputs,
max_new_tokens=4096,
temperature=0.6,
top_p=0.95,
do_sample=True,
)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=False))
Thinking content appears inside <think>…</think> when the model opts to reason before the final answer. Turns end with <|im_end|>.
vllm serve CortexLM/Teutonic-1-Chat-Preview \
--trust-remote-code \
--dtype auto \
--max-model-len 32768
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
resp = client.chat.completions.create(
model="CortexLM/Teutonic-1-Chat-Preview",
messages=[{"role": "user", "content": "Write a short haiku about glaciers."}],
temperature=0.7,
top_p=0.9,
max_tokens=512,
)
print(resp.choices[0].message.content)
| Mode | temperature | top_p | notes |
|---|---|---|---|
| Reasoning / math | 0.5–0.7 | 0.90–0.95 | Prefer \boxed{} for graded answers |
| Chat / creative | 0.7–0.9 | 0.90–0.95 | — |
| Deterministic smoke | 0.0 | — | do_sample=False |
max_position_embeddings=262144)We also ran a pure 256k-input continued-training co-train after the chat/RL path (128k → 256k packs). That path kept strong needle retrieval but broke thinking/math (internal private math collapsed; model often never closed </think> even at large think budgets). Those weights are not published and are not candidates for promotion without a clear math recovery (≥ strong chat/math gate).
| Capability | Default weights (this repo) | Pure LC co-train (internal only) |
|---|---|---|
| Single-needle @128k / @256k | 1.0 (internal smokes) | Strong (also ~1.0) |
| Multi-key needle @128k+ | Still cooking / uneven | Weak–mixed |
| Verifiable math (internal private probe) | Strong (~chat/RL quality) | Regressed hard — do not ship |
| 64k free-form output training | Still in progress | Orthogonal track |
Default weights on this repo remain the stronger chat + math + long-ctx retrieval snapshot (FP8). We will only publish a dedicated “harder long-ctx” weight drop if math stays ≥ the promotion gate after any further long-context work.
Internal math/reasoning probes improved substantially after verifiable-reward RL relative to the supervised merge. We do not claim contaminated public-bench SOTA (e.g. treat GSM8K-style numbers with caution). Prefer private or carefully decontaminated suites when comparing. Behavioural chat smokes (format, tools, basic instruction following) pass on this snapshot; broader alignment and preference quality are still in progress.
transformers / vLLM with trust_remote_codeReleased under Apache 2.0.
This model continues the Qwen3.5 text architecture lineage (hybrid Teutonic conversion). Please respect the Qwen / Alibaba base model terms and citations where applicable:
@misc{teutonic1chatpreview2026,
title = {Teutonic-1-Chat-Preview},
author = {CortexLM},
year = {2026},
howpublished = {\url{https://huggingface.co/CortexLM/Teutonic-1-Chat-Preview}},
note = {Preview checkpoint; under active training}
}
See benchmarks.md for the corrected same-harness comparison vs Qwen3.5-9B (chat + thinking on, fixed 2026-09-01). The first published Qwen column (MMLU-Pro ~21 / MATH ~20) was an invalid harness artifact (thinking ON with 1k–8k caps → mid-think truncation).
| Benchmark | Teutonic | Qwen3.5-9B (fixed harness) | Δ |
|---|---|---|---|
| MMLU-Pro (n=2000) | 69.8 | 73.2 | −3.4 |
| MMLU-Redux (generative) | 87.0 | 91.3 | −4.3 |
| MATH-500 | 88.6 | 68.2 | +20.4 |
| HumanEval+ | 82.9 | 81.1 | +1.8 |
| MBPP+ | 75.1 | 64.6 | +10.5 |
| IFEval | 68.6 | 65.4 | +3.2 |
| GPQA-Diamond (fair boxed) | 46.0 | 55.1 | −9.1 |
| LiveCodeBench (v5+v6) | 26.9 | 26.9 | 0.0 |
| RULER (4k–64k) | 89.5 | 88.4 | +1.1 |
Protocol: chat · thinking on · raised think budgets · seed 20260830. GPQA = generative boxed-letter (not card shuffle). See benchmarks.md.