Model and use
This LeoLM edition adapts LeoLM/leo-mistral-hessianai-7b. The project credits Björn Plüster, Christoph Schuhmann, LAION and HessianAI. model card parent base card
This German-focused Chat edition adds dialogue tuning to the base model. Compare the matching Base to study instruction tuning, another size to study scaling, and Bilingual to study language mixture. This uses Mistral-7B-v0.1 rather than Llama 2; the attention, feed-forward width, context fields and declared license all change.
Architecture and scale
Configuration: 32 layers; hidden size 4,096; feed-forward size 14,336; query/key-value heads 32/8; vocabulary 32,128; dtype float16. The model has 7,242,780,672 parameters. configuration · tensor index
Context and tokenizer
The Mistral branch trains on 8,192-token sequences and configures 32,768 positions with a 4,096-token sliding window. configuration model card
Tokenizer: LlamaTokenizer; BOS=<s>; EOS=</s>; PAD=</s>. chat_template is present. tokenizer configuration special-token map
The generation defaults record EOS ID 2. ChatML delimiter IDs are 32000/32001. For this checkpoint, tokenizer EOS </s> is consistent with ID 2. generation defaults · tokenizer configuration
German training
The original Llama 2 7B and 13B bases continue pretraining on 65 billion German OSCAR-derived tokens. Later 70B and Mistral editions use separate recipes. LAION · 28.09.2023
Instruction epochs / learning rate / global batch size: 4 / 1e-5 / 256. The table says 131,214 examples per epoch; its dataset total is 132,540 samples and 67,530,728 Accepted tokens. The reported sample counts disagree; the cause is undocumented. Named datasets: LeoLM/OpenSchnabeltier, OpenAssistant/OASST-DE, FreedomIntelligence/alpaca-gpt4-deutsch, FreedomIntelligence/evol-instruct-deutsch, LeoLM/German_Poems, LeoLM/German_Songs. model card
Other published SFT settings: warmupSteps=100; lrScheduler=Cosine; adamBetas=(0.9, 0.95); weight decay unreported. model card
License chain
This card and the upstream Mistral-7B-v0.1 card declare Apache-2.0. Commercial use is possible subject to its copyright/patent and redistribution conditions, including notices and identification of changes. It provides no general trademark license or full training-data-rights certification. model card · mistralai/Mistral-7B-v0.1 · Apache License 2.0
OSCAR packaging and metadata use CC0, while underlying text retains source rights. Exact Wikipedia and Tagesschau training snapshots and permissions are unpublished. oscar-corpus/OSCAR-2301
OpenSchnabeltier is a German translation of Open-Platypus. Bilingual editions also use Open-Platypus directly. Its components include ScienceQA under CC BY-NC-SA 4.0 and non-commercial ReClor data; some German instruction and poetry datasets have no explicit licence declaration. Exact training-time permissions are unresolved. LAION · 28.09.2023 LeoLM/OpenSchnabeltier garage-bAInd/Open-Platypus FreedomIntelligence/evol-instruct-deutsch LeoLM/German_Poems
Evaluation and remaining limits
The publisher reports MT-Bench-DE average 5.4. The card describes writing and explanation as stronger than mathematics and advanced reasoning, and warns of inaccurate, biased or objectionable outputs. The publisher reports these historical results under the stated evaluation settings. model card
Base training settings
The LeoLM/leo-mistral-hessianai-7b figure records 15,360 training steps, 153 warmup steps, batch 512, sequence length 8,192, AdamW, LR 2e-5 with cosine decay to 2e-6, Adam betas (0.9, 0.95), weight decay 0.05, ZeRO Stage-1, and FP16. Hyperparameters
Mistral reuses the same earlier figure as 13B, but its README explicitly overrides the LR to 1e-5→1e-6, ZeRO to Stage-3 and training precision to BF16. The stated overrides differ from the reused image’s Mistral recipe. The actual Mistral token budget remains unknown. README