HuggingFace Blog HuggingFace ★ 80 5 min

Falcon-Emirati: When an LLM Learns the Dialect, the Culture, and the Nuance

🔗 https://huggingface.co/blog/tiiuae/falcon-emirati

📌 標題: Falcon-Emirati-7B:教會 LLM 聽懂阿聯酋方言與文化弦外之音

TL;DR: TII 在 Falcon-H1-Arabic 基礎上微調出方言專精模型 Falcon-Emirati-7B,示範如何用資料管線與評測補足低資源方言的文化理解缺口。

一句道地的阿聯酋諺語,就算逐字翻譯成標準阿拉伯文也完全對不上意思——這正是 Falcon-Emirati-7B 想解決的落差。

🤔 背景:標準阿拉伯文學不會的「弦外之音」

阿拉伯文其實更像一個語言家族,而非單一語言。現代標準阿拉伯文(MSA)是新聞與教科書的書面語,但日常對話、幽默、談判與說故事大多發生在地方方言中。在阿聯酋,這個方言就是 Emirati Arabic,擁有自己的詞彙、語感,以及緊密纏繞其中的文化,像是 nabati 詩歌、諺語與民間軼事,這些內容往往無法靠逐字閱讀理解。團隊表示,即使模型能把 Emirati 句子的每個字都翻對,也可能完全誤解句子真正的意思,這就是 Falcon-Emirati-7B 要補上的缺口。

🧩 不是從零開始:建立在 Falcon-H1-Arabic 的混合架構上

Falcon-Emirati-7B 並非從零訓練,而是建立在 TII 稍早推出的 Falcon-H1-Arabic 之上。Falcon-H1 系列採用混合架構,在每個區塊中讓 State Space Model(Mamba)與 Transformer 注意力並行運算,再把兩者輸出融合後送入投影層,藉此在長序列上取得 Mamba 的線性時間效率,同時保留注意力機制對長距依賴的精確捕捉能力,這對型態變化豐富的阿拉伯文格外重要。Falcon-H1-Arabic 系列涵蓋 3B、7B、34B 三種規模,最長支援 128K 到 256K context,且預訓練資料已混入 Gulf、Levantine、Egyptian、Maghrebi 等多種方言。

團隊最終選擇在 7B 版本上進行方言微調:34B 雖然品質可能更好,但訓練與服務成本對一個方言專精聊天模型而言不划算;3B 則沒有足夠的容量承載方言微調所需的文化與語言深度。7B 被團隊認為是品質與成本間的甜蜜點。

🧩 三種資料來源,補足低資源方言的缺口

方言適配最大的困難在於:Emirati 主要是口語,網路上的書面文本遠少於 MSA 甚至其他灣區方言;其意義經常是非字面的,仰賴共享的文化脈絡;而且業界目前沒有一套公認的「方言適配」配方,不清楚該用多少方言資料、如何與 MSA 混合,或是在持續預訓練、SFT、偏好最佳化哪個階段投入最有效。

為此,團隊建立了專屬的 Emirati 資料管線,結合三種來源:第一是從阿聯酋網站與論壇爬取、以方言原生書寫(非從 MSA 翻譯或音譯)的真實文本;第二是關於阿聯酋文化與身份認同的 MSA 文獻,讓模型理解相關主題背景知識,而非學會用方言書寫;第三是在詞彙表與風格規則嚴格約束下生成的合成資料,用以補足真實方言文本涵蓋主題不足的問題,避免生成內容淪為語法正確但「聽起來不道地」的灣區腔調。

🧩 用消融實驗找配方,母語者把關品質

由於沒有現成的方言適配配方,團隊透過消融實驗摸索:該注入多少方言資料、在哪個訓練階段注入、如何平衡真實爬蟲資料與合成資料以避免模型過擬合合成資料的模式,以及需要多少 MSA 文化脈絡才能讓模型「真正懂文化」而不只是表面流暢。每一步都同時依賴自動評分與母語者的人工審查,因為自動指標無法單獨捕捉自然度、語氣與文化契合度。

📊 評測方法與結果

評測分兩條路徑進行:一是由阿聯酋母語者直接審查模型輸出,判斷回答是否「聽起來對」,涵蓋自然度、語氣與文化得體性,這些是自動評測抓不到但母語者一聽就知道的細節;二是使用團隊與社群共同發布的 Alyah(الياه,意為「北極星」)基準做量化追蹤。Alyah 是一個完全原生的選擇題基準,共 1,173 題,由阿聯酋母語者手動蒐集,涵蓋日常問候、禮儀、比喻性語言、文化遺產知識與 Emirati 詩歌等方言與文化最吃重的類別。根據團隊公布的結果,Falcon-Emirati-7B 在 Alyah 上的得分為 84(原始資料片段在此中斷,未提供完整數字)。

⚠️ 限制

團隊坦言方言適配至今沒有成熟的業界標準配方,大量工作仰賴試誤;而 Emirati 作為主要是口語的方言,可取得的真實文本本就稀少,這也是為何需要大量借助合成資料與母語者人工審查來補足。

🎯 實務啟示

對想做低資源語言或方言在地化的團隊來說,這個案例提供一個可參考的流程範本:不必從零訓練新模型,而是在已經具備廣泛語言能力與長 context 的基座模型上,疊加「真實原生文本、主題背景 MSA 文獻、受詞彙表約束的合成資料」三層資料策略,並搭配母語者人工審查與專屬基準(如 Alyah)做量化追蹤,而非只依賴通用自動評測指標。

🔗 來源

  • 標題:Falcon-Emirati: When an LLM Learns the Dialect, the Culture, and the Nuance
  • 作者/機構:TII(Shaikha Alsuwaidi、Omar Saif Alkaabi、Maitha Alhammadi、Ahmed Alzubaidi、Mohammed Alyafeai、Leen AlQadi、Basma Boussaha、Hakim Hacid)
  • 連結:https://huggingface.co/blog/tiiuae/falcon-emirati

#FalconLLM #ArabicNLP #DialectAdaptation #LowResourceLanguage #LLMFineTuning #TII #MambaTransformer #NLP #CulturalAI #OpenSourceLLM

原始資料 HuggingFace Blog · 收集於 2026-10-06
來源原標題
Falcon-Emirati: When an LLM Learns the Dialect, the Culture, and the Nuance
機構
HuggingFace
原始連結
https://huggingface.co/blog/tiiuae/falcon-emirati

摘要原文

Back to Articles Falcon-Emirati: When an LLM Learns the Dialect, the Culture, and the Nuance Team Article Published October 6, 2026 Upvote 13 +7 Shaikha Alsuwaidi Shaikha710 Follow tiiuae Omar saif alkaabi Omar-Alkaabi Follow tiiuae Maitha Alhammadi MaithaAlhammadi Follow tiiuae Ahmed Alzubaidi amztheory Follow tiiuae Mohammed Alyafeai Alyafeai Follow tiiuae Leen AlQadi LeenAlQadi Follow tiiuae Basma Boussaha basma-b Follow tiiuae Hakim Hacid HakimHacid Follow tiiuae Try Falcon Emirati → Arabic is really a family of languages living under one name. Modern Standard Arabic is what you read in the news or a textbook, but it's rarely how people actually talk to each other. In the UAE, day-to-day conversation, humor, negotiation, and storytelling happen in Emirati Arabic, a Gulf dialect with its own vocabulary, its own rhythm, and a culture wrapped tightly around it. Emirati poetry, especially nabati poetry, along with proverbs and short anecdotes, carries meaning that doesn't survive a literal, word-for-word reading. A model that only knows MSA can translate every word of an Emirati sentence and still miss what it actually means. That's the gap Falcon-Emirati-7B is built to close. It's a dialect-specialized model on top of Falcon-H1-Arabic, aimed at understanding and generating Emirati Arabic the way a native speaker would: the vocabulary, the tone, and the cultural context behind it. Built on Falcon-H1-Arabic We didn't start from scratch. Falcon-Emirati-7B is built on Falcon-H1-Arabic, our Arabic model family that already set new benchmarks for the language earlier this year. Falcon-H1-Arabic uses the Falcon-H1 hybrid architecture: State Space Models (Mamba) and Transformer attention running in parallel inside every block, with their outputs fused before each block's projection. That combination gives the linear-time efficiency of Mamba on long sequences while keeping the precision of attention for long-range dependencies, which matters for a morphologically rich language like Arabic. The family spans three scales (3B, 7B, and 34B parameters) with context windows up to 128K and 256K tokens, and it was already trained on a broad mix of MSA and dialectal Arabic (Gulf, Levantine, Egyptian, Maghrebi) alongside English and multilingual data. That gave us a strong starting point: a model that already understood Arabic broadly, handled long context well, and had some dialectal exposure baked in. Falcon-Emirati-7B takes that foundation and pushes it specifically toward the Emirati dialect, the vocabulary, the grammar, and the cultural knowledge that a general Arabic model, however capable, doesn't pick up on its own. We built Falcon-Emirati-7B on the 7B variant specifically. It's the sweet spot in the family: large enough to hold onto the nuance that dialect adaptation needs, but small enough that both training and inference stay practical. The 34B model would likely push quality a bit further, but at a training and serving cost that doesn't make sense for a dialect-specialized chat model, and the 3B model doesn't leave enough headroom for the depth of cultural and linguistic understanding we were after. 7B gave us the best balance of quality against training and inference cost. Why Dialect Adaptation Is Hard Turning a general Arabic model into an Emirati-dialect specialist sounds like a smaller job than building the base model in the first place. It isn't. A few things make it genuinely difficult: Emirati is mostly a spoken dialect. It shows up far less in writing online than MSA, or even other Gulf and Levantine dialects, so there just isn't as much raw text to learn from. Meaning is often non-literal. Idioms, proverbs, and poetic references lean on shared cultural context, not surface vocabulary. There's no established playbook. There isn't a well-documented recipe for how much dialectal data is enough, how to mix it with MSA and general Arabic, or which training stage (continued pre-training, SFT, or preference optimization) matters most for picking up a dialect. That last point shaped how we worked. A lot of building Falcon-Emirati-7B came down to trial and error: testing different data mixes, training stages, and supervision strategies, and using both human judgment and benchmark scores to figure out what actually moved the needle. Our Approach to Data We built a dedicated Emirati data pipeline on top of Falcon-H1-Arabic's pretraining, drawing on three complementary sources. 1. Authentic Emirati-Dialect Web Data We crawled and curated content from Emirati websites and forums written natively in the dialect, not translated or transliterated from MSA. This is where we got our ground truth: how Emiratis actually write and speak online, the everyday phrasing, the colloquial expressions, and the natural back-and-forth between Emirati and MSA that shows up in real usage. 2. MSA Data About Emirati Culture and Identity Alongside the dialectal text, we pulled in MSA-language material specifically about Emirati culture, heritage, and language: articles and references on local customs, values, history, and social norms, including how Emiratis are perceived and stereotyped. This doesn't teach the model to write in dialect, but it teaches the model what it's talking about when Emirati topics come up, things like heritage, etiquette, and the context a native speaker just knows. 3. Synthetic Data, Guided by Glossaries and Style Rules Authentic dialectal text alone wasn't enough to cover the range of topics a chat model actually needs to handle day to day. So we generated a large amount of synthetic Emirati-dialect data to fill the gaps. We didn't just let a generator model improvise in "Gulf-ish" Arabic. We constrained it with strict rules and glossaries and dictionaries built specifically for Emirati vocabulary and grammar. Those guardrails made the difference between synthetic output that reads as authentically Emirati and output that's grammatically fine but sounds off to anyone who actually speaks the dialect. Finding the Right Adaptation Recipe Since there's no standard recipe for MSA-to-dialect adaptation, we treated the training strategy itself as something to figure out experimentally. We ran ablations on how much dialectal data to inject and at which stage of training, how to balance authentic crawled data against synthetic data without the model overfitting to synthetic patterns, and how much MSA cultural context was actually needed to keep it culturally grounded rather than just fluent on the surface. At each step we leaned on a mix of automatic scoring and native-speaker review, since automatic metrics alone don't capture naturalness, tone, or cultural fit well enough to trust on their own. Evaluation Methodology We tracked progress throughout training with two complementary approaches: Manual Evaluation by Native Speakers Emirati native speakers reviewed model outputs directly, judging not just whether an answer was correct but whether it sounded right: naturalness, tone, cultural appropriateness. These are the things a benchmark score won't tell you but a native ear catches immediately. Automatic Evaluation on Alyah For quantitative tracking, we used Alyah (الياه, "North Star"), a benchmark we and the community released specifically to evaluate Emirati-dialect capability in Arabic LLMs. Alyah is a fully native multiple-choice benchmark of 1,173 samples, collected manually from native Emirati speakers and spanning categories from everyday greetings and etiquette to figurative language, heritage knowledge, and Emirati poetry: the categories where dialect and culture matter most and where generic Arabic models tend to struggle. Full details on Alyah's construction and category breakdown are available in our benchmark blog post , and background on the base model family is available in the Falcon-H1-Arabic announcement . Results Falcon-Emirati-7B scores 84.

由 claude-code/sonnet 自動生成