← Augmented Philippine Intelligence

Considerations in Building Philippine Language Models

#language-models #filipino #nlp #crowd-sourcing #community

Where coverage is uneven

Language technologies already cover some Philippine languages and tasks. AI Singapore’s SEA-LION model card describes Tagalog instruction tuning. The NLLB translation release includes tokens for Cebuano, Ilocano, Tagalog and Waray. Coverage in a dataset, support in a release and measured performance are three separate facts. A useful assessment starts with the particular language, model version and task. Joshi et al., NLP language coverage · SEA-LION v4 instruction-tuned model card · NLLB released language tokens

How to define the size of the task

The Constitution names Filipino as the national language. SIL Philippines reports 184 languages spoken in the country, while the Komisyon sa Wikang Filipino uses its own criteria and measures in the Indigenous-language register. A speaker count is meaningful when it identifies the language or variety, the year and the population measured. 1987 Constitution, art. XIV §§6–7 · SIL Philippines · KWF Indigenous-language register

What the datasets are for

WikiAnn is designed for named-entity annotation and offers configurations for several Philippine languages. The mC4 dataset’s list includes Filipino and Cebuano. The CC-100 publisher’s manifest has a Tagalog file and lacks a Cebuano file. The datasets differ in content, purpose and methods. A corpus inventory should record text or audio volume, the source and period, how it was collected, which rights apply and where the collection has gaps. WikiAnn original study · WikiAnn configurations · mC4 dataset language list · CC-100 publisher manifest

Mixed-language text belongs in the evaluation

Testing mixed-language speech or text means choosing the task, setting, interlocutors and language pair. Tagalog also supplies examples of productive affixation and reduplication. A lexicon for research can link inflected or derived forms to roots and contextual glosses while keeping the speaker’s actual wording. The expectations for a Cebuano or Ilocano resource should be derived from evidence about those languages. Universal Dependencies Tagalog-TRG annotation · Universal Dependencies Cebuano-GJA · FilBench · BATAYAN

Keep script and transliteration records

Roman Tagalog, Baybayin, Hanunóo and Malay in Jawi script pose different transcription and encoding questions. The 1593 Doctrina Christiana prints Tagalog in Roman and local characters. The 1899 Kiram–Bates packet preserves a Jawi-script witness. Unicode and UNESCO’s records document the scripts at their own scopes. A digital archive should keep the actual script alongside any transliteration, naming which rules were used. Unicode 17.0, ch. 17 · Library of Congress, Doctrina Christiana, 1593 · Kiram–Bates agreement, English text and Jawi facsimile · UNESCO, Philippine Paleographs

What a language commons would collect

Speech, text and historical records

A pilot could begin with a speaker-led collection, a versioned corpus of consented recordings, or a group of historical texts that can be transcribed. Common Voice, Masakhane and AI4Bharat supply different precedents for datasets and collaboration. Select a priority language after consulting speakers and checking which data and evaluations already exist. Historical collections should distinguish a scan, diplomatic transcription, normalized copy, OCR and translation and record the rights for each. Common Voice project paper · Masakhane participatory research · AI4Bharat IndicNLP Corpus · UP Blair–Robertson collection

Permission, use and withdrawal

The CARE Principles call for collective benefit, authority to control, responsibility and ethics. In a Philippine project, decisions about collection and reuse should reflect applicable rights, community protocols and whether contributors have authority to grant the desired license. A Creative Commons license generally cannot be revoked for uses that comply with it. Withdrawal terms should say what can be removed from the operator’s own stores, what happens to prior distributions and how model artifacts are handled. The Data Privacy Act provides separate personal-data rights under specified conditions. CARE Principles · IPRA, §§32, 34–35 · UNDRIP, arts. 13 and 31 · Creative Commons licensing and withdrawal guidance · Data Privacy Act, §16(e)

What to measure in a working model

Tokenization

SentencePiece can train BPE and unigram tokenizers. Named encoders segment the same word differently. For nakapagpapabagabag, encoding the exact unspaced string with tiktoken 0.12.0 gives ten tokens each for r50k_base and p50k_base, nine for cl100k_base and five for o200k_base. That is a reproducible example for one word. A comparison needs a published sample by language variety, script and text type. Using a different tokenizer with a model also requires compatible vocabulary, token IDs and embeddings. SentencePiece methods · tiktoken 0.12.0 encoder definitions

Model and device fit

QLoRA fine-tunes adapters while a four-bit base model stays frozen. Packed four-bit weights for seven billion parameters alone occupy about 3.5 GB in decimal units. Actual model files and working memory include additional data, and context length affects memory use. WebGPU can support browser execution in suitable runtimes. Offline use depends on a compatible device and the availability of cached model and runtime assets. QLoRA paper · W3C WebGPU specification draft, 16 November 2026 · WebLLM implementation and device requirements

Evaluation

Philippine-language evaluations such as BATAYAN, FilBench and Kalahi provide starting points. A new collection should describe what it adds, such as local conversation, speech, historical texts or published jurisprudence. Report results by variety and domain. Validate important cases with speakers and record how disputes are handled. BATAYAN · FilBench · Kalahi benchmark

Potential collaborators

A project could invite speakers, local researchers, linguists, archivists and engineers to define a specific task together. Institutions such as the Komisyon sa Wikang Filipino and UP Diliman’s Department of Linguistics have relevant public mandates or programs. Any role or partnership would require separate agreement. KWF Act, §§4, 14 · UP Diliman Department of Linguistics

What success would look like

A model can help people find, describe or translate records where testing supports that use. Language vitality also depends on people being able to speak, teach and use the language in daily life. Measure whether a tool helps the task a community chose and whether the community can still govern its data. UNESCO language vitality framework