Aleph Alpha 發布部落格文章,說明為打造德語 LLM 所設計的可參數化資料管線。
原文
German was the first language we added beyond English. The pipeline is language-parameterized, so it won't be the last.
Full post by Andreas Hartel and Niko Dürr ( @tradeqvest ) : https://aleph-alpha.com/en/blog/sauerkraut-not-burgers-why-german-llms-need-german-data/
Aleph Alpha 在資料管線中過濾盜版並遮蔽個人資料,以符合 EU AI Act 規範且僅微幅影響 PII 表現。
原文
Compliance is built in. We filter pirated content via URL blocklists and replace personal data (emails, phone numbers, IPs, IBANs) with special tokens, in line with our EU AI Act obligations.
Cost: 5 pp on our PII benchmarks. Everything else is unaffected. Worth it.
The result: more than 2T high-quality German tokens, curated and generated in-house - more than all open German datasets combined.
Together with those, upsampled where our ablations show it pays off, this gets us to the 4T German tokens a competitive model needs.
Aleph Alpha 指出直接套用英語過濾規則會誤刪大量德語文本,強調為德語量身打造過濾規則的必要性。
原文
How badly can English recipes fail? The English stop-word list alone would throw away 7 out of 8 German documents. Gopher's English word-length bounds reject ordinary administrative prose like "Wohnungsgeberbestätigung" - 300,000 documents per crawl.
Freshness matters too. FineWeb2 contains nothing crawled after April 2024, so a model trained on it will confidently name Olaf Scholz as Germany's chancellor.
New Common Crawl snapshots arrive ~monthly, each with ~100M raw German documents. Our pipeline ingests them as they land.
Aleph Alpha 分析以翻譯取得訓練資料的弊端,指出其會引入翻譯腔並承襲英語網路的世界觀。
原文
Translation is the other option. It suffers from "translationese" ("Drive safe!" becomes "Fahre sicher!" instead of "Komm gut an!") and it imports the distribution of the English web. You end up with a model that speaks German about a world that looks American.
So: we built our own Common Crawl curation pipeline for German. Eleven stages, from raw snapshot to training mix. Incremental, so new crawls slot in without reprocessing everything. And parameterized by language, because you can't just reuse English filtering recipes. https://x.com/Aleph__Alpha/status/2097321911826960715/photo/1
Aleph Alpha 的消融實驗顯示德語最佳佔比為 20%,在 20T token 的先進模型訓練中需要高達 4T 德語資料。
原文
Our ablations put the optimal German share at 20%. At the 20T tokens a state-of-the-art model trains on, that's 4T German tokens. The math doesn't work.
"Just generate the data synthetically!"
Partly. Rephrasing organic German documents with open-weights models works - we produced ~1T tokens this way (Aleph-Alpha-GermanWeb). But rephrasing can only multiply organic German data that already exists.
Aleph Alpha 指出目前所有主流開源德語資料集加總不足 2T token,無法滿足大型模型的需求。
原文
The math problem: all major open German datasets combined - FineWeb2, HPLT 3.0, German Commons, FinePDFs & co. - yield under 2T tokens. And that's an upper bound, before deduplication.
Aleph Alpha 發文探討德語 LLM 為何需要原生德語訓練資料,並分享其解決德語資料匱乏的方案。
原文
Sauerkraut, not burgers - why German LLMs need German data.
We wanted to train a model that truly speaks German: grammar, cultural context, customer use cases. Turns out the training data you need for that mostly... doesn't exist yet. A thread on how we fixed that 🧵 https://x.com/Aleph__Alpha/status/2097321897776025602/photo/1