License: Fraunhofer TEUKEN Chat License for Scientific Non-Commercial Research Purposes, version 22.11.2024
Teuken research-v0.4 adds German and English instruction tuning to the four-trillion-token Teuken base. It targets research on multilingual writing and knowledge tasks.
Scale and prompting
The BF16 model has 7,452,725,248 parameters, 32 layers, hidden width 4,096, 32 query heads and two KV heads. Training and configured context are 4,096 tokens.
Its SentencePiece unigram tokenizer has 250,680 entries, with NFKC normalization, byte fallback and digit splitting. The supplied Python implementation provides system prompts for 24 languages, alternates User and Assistant turns and ends assistant turns with </s>, EOS ID 2.
Instruction training
The instruction mixture is roughly balanced between English and German. Starling-RM-7B-alpha helps select English examples, including multi-turn conversations, CodeAlpaca and LMSYS subsets. Published sample counts are:
EN published SFT samples
- anon8231489123/ShareGPT_Vicuna_unfiltered: 37.6K
- Open-Orca/OpenOrca: 26.9K
- WizardLM/WizardLM_evol_instruct_70k: 26.9K
- WizardLM/WizardLM_evol_instruct_V2_196k: 26.8K
- sahil2801/CodeAlpaca-20k: 12.1K
- lmsys/lmsys-chat-1m: 11.2K
- HuggingFaceH4/ultrachat_200k: 7.0K
DE published SFT samples
- FreedomIntelligence/evol-instruct-deutsch: 55.9K
- FreedomIntelligence/alpaca-gpt4-deutsch: 47.5K
- FreedomIntelligence/sharegpt-deutsch: 5.8K
- bjoernp/ultrachat_de: 909
The paper describes assistant-only loss, three epochs and eight H100 GPUs for 2.5 days. The licence appendix instead describes more than 600K conversations, three training days and 160 GPU-hours; the publication does not explain these differences. No DPO stage is documented for this edition.
Publisher results
The 21-language average is 0.543: ARC 0.581 at 25-shot, HellaSwag 0.624 at 10-shot, TruthfulQA 0.543 with six pseudo-shots and MMLU 0.425 at 5-shot. MT-Bench-X covers English, German, French, Italian and Spanish. The authors report stronger writing and knowledge performance than mathematics, coding and reasoning.
Research licence
Fraunhofer’s TEUKEN Chat licence permits scientific, non-commercial internal testing, evaluation and reproduction. Rights are non-transferable and non-sublicensable; modification and redistribution are prohibited. Third-party software retains its own licences. The agreement also includes warranty, indemnity, trademark and jurisdiction provisions.
Training data includes Bactrian-X under CC BY-NC 4.0 and LMSYS-Chat-1M under its own agreement. Some German instruction and creative-text data have no declared licence.
The model was developed by Fraunhofer, Forschungszentrum Jülich, TU Dresden and DFKI through OpenGPT-X, using JUWELS Booster.