Choosing among LeoLM’s ten public models
Compare base, German Chat and bilingual Chat versions by architecture, size, context, training and licence.
Updated:
LeoLM provides four base models, four German-focused Chat editions and two German–English Bilingual Chat editions. The family adapts Llama 2 at 7B, 13B and 70B, plus Mistral 7B.
Base, Chat and Bilingual
Base models support German text continuation and further domain training. Chat adds dialogue instructions; Bilingual adds English counterparts, Open-Platypus, WizardLM 70k and filtered OASST.
The original Llama 2 7B and 13B models continued pretraining on 65 billion filtered German tokens using HessianAI’s 42 supercomputer. Mistral and 70B editions followed in autumn 2023. Their base sizes are approximately 6.738B, 13.016B, 68.977B and 7.242B parameters. Chat expands the embedding vocabulary from 32,000 to 32,128.
Training differences
The 13B base uses 15,360 steps, 153 warmup steps, batch 512, sequence length 8,192, AdamW and learning rate 2e-5 decaying to 2e-6, with FP16 and ZeRO-1. Mistral uses 1e-5 to 1e-6, BF16 and ZeRO-3; 70B uses 1.5e-5 to 1.5e-6, BF16 and ZeRO-3. The published base recipes use Adam betas 0.9/0.95 and weight decay 0.05.
Llama 7B/13B Chat train for three epochs at 3e-5; 70B Chat uses three epochs at 1.5e-5; Mistral Chat uses four at 1e-5. German-focused data totals are approximately 131K–133K examples, while Bilingual totals are approximately 233K–236K. The 70B Chat recipe uses 15 warmup steps and weight decay 0.01.
Context and dialogue format
Llama editions configure 8,192 positions with linear RoPE factor 2. Mistral trains at 8K and configures 32,768 positions with a 4,096-token sliding window.
German Chat uses ChatML. Llama delimiter IDs are 32005/32006, while Mistral uses 32000/32001. Bilingual releases lack an embedded chat template and have differing BOS/EOS/PAD settings between tokenizer files.
Publisher-reported dialogue results
- Llama 2 7B Chat — Published benchmark: MT-Bench-DE; Average: 5.1
- Llama 2 13B Chat — Published benchmark: MT-Bench-DE; Average: 5.8375
- Llama 2 70B Chat — Published benchmark: MT-Bench-DE; Average: 6.8875
- Mistral 7B Chat — Published benchmark: MT-Bench-DE; Average: 5.4
- Llama 2 7B Bilingual — Published benchmark: MT-Bench; Average: 4.859375
- Llama 2 13B Bilingual — Published benchmark: MT-Bench; Average: 5.50625
The German evaluation uses translated prompts and GPT-4 judging. The authors report excessive refusals for 70B Chat, alongside its stronger dialogue score.
Model and data licences
Llama-derived editions retain Llama 2 terms, including attribution, redistribution, acceptable use, restrictions on training other LLMs and additional permission for certain services above 700 million monthly active users. Mistral editions declare Apache-2.0.
OpenSchnabeltier is the German translation of Open-Platypus, which includes ScienceQA under CC BY-NC-SA 4.0 and ReClor under non-commercial terms. OSCAR’s packaging uses CC0, while underlying web text retains source rights. Complete permissions for the selected instruction mixtures are unpublished.
Original sources
- LeoLM/leo-hessianai-13b · model cardhuggingface.co
- LeoLM/leo-hessianai-13b · configurationhuggingface.co
- LeoLM/leo-hessianai-13b · training hyperparameter figurehuggingface.co
- LeoLM/leo-hessianai-13b-chat · model cardhuggingface.co
- LeoLM/leo-hessianai-13b-chat-bilingual · model cardhuggingface.co
- LeoLM/leo-hessianai-70b · model cardhuggingface.co
- LeoLM/leo-hessianai-70b · configurationhuggingface.co
- LeoLM/leo-hessianai-70b · commit historyhuggingface.co
- LeoLM/leo-hessianai-70b · training hyperparameter figurehuggingface.co
- LeoLM/leo-hessianai-70b · historical weight file treehuggingface.co
- LeoLM/leo-hessianai-70b-chat · model cardhuggingface.co
- LeoLM/leo-hessianai-70b-chat · commit historyhuggingface.co
- LeoLM/leo-hessianai-70b-chat · historical weight file treehuggingface.co
- LeoLM 7B model cardhuggingface.co
- LeoLM 7B configurationhuggingface.co
- LeoLM/leo-hessianai-7b-chat · model cardhuggingface.co
- LeoLM/leo-hessianai-7b-chat · tokenizer configurationhuggingface.co
- LeoLM/leo-hessianai-7b-chat-bilingual · model cardhuggingface.co
- LeoLM/leo-hessianai-7b-chat-bilingual · tokenizer configurationhuggingface.co
- LeoLM/leo-hessianai-7b-chat-bilingual · special-token maphuggingface.co
- LeoLM/leo-mistral-hessianai-7b · model cardhuggingface.co
- LeoLM/leo-mistral-hessianai-7b · configurationhuggingface.co
- LeoLM/leo-mistral-hessianai-7b · commit historyhuggingface.co
- LeoLM/leo-mistral-hessianai-7b · training hyperparameter figurehuggingface.co
- LeoLM/leo-mistral-hessianai-7b-chat · model cardhuggingface.co
- LeoLM/leo-mistral-hessianai-7b-chat · tokenizer configurationhuggingface.co
- LeoLM/leo-mistral-hessianai-7b-chat · commit historyhuggingface.co
- FreedomIntelligence/evol-instruct-deutsch · upstream dataset cardhuggingface.co
- LeoLM/German_Poems · upstream dataset cardhuggingface.co
- LeoLM/OpenSchnabeltier · upstream dataset cardhuggingface.co
- garage-bAInd/Open-Platypus · upstream dataset cardhuggingface.co
- oscar-corpus/OSCAR-2301 · upstream dataset cardhuggingface.co
- LeoLM · complete public inventoryhuggingface.co
- LAION’s LeoLM announcementlaion.ai
- Llama 2 Community Licensegithub.com
- Apache 2.0 license textapache.org