CoolFace
Datasetpublic

Frejams/faroese-flan

Faroese FLAN Faroese instruction-following data, built by pairing licensed or public-domain, human-written Faroese texts with deterministic instruction templates. The sibling of the Icelandic collection, with the same row schema and the same release checks. Status 13 sources · 31 tasks · 1,000,543 rows · 34.0M response characters. Source Register Licence Rows Response chars Share logir consolidated law public-domain-fo-p9 29,178 14,798,010 43.6%… See the full description on the dataset page: https://huggingface.co/datasets/Frejams/faroese-flan.

sourceHugging Facecc-by-sa-4.0updated 27d agoView on Hugging Face
0likes111downloads
Dataset Card

Faroese FLAN

Faroese instruction-following data, built by pairing licensed or public-domain, human-written Faroese texts with deterministic instruction templates. The sibling of the Icelandic collection, with the same row schema and the same release checks.

Status

13 sources · 31 tasks · 1,000,543 rows · 34.0M response characters.

SourceRegisterLicenceRowsResponse charsShare
logirconsolidated lawpublic-domain-fo-p929,17814,798,01043.6%
ravnlexpronunciation and word classCC BY 4.0677,9867,694,77022.7%
sprotineveryday sentences — English into FaroeseMIT + CC BY 2.0 FR126,3644,818,46414.2%
islex_folexical — Icelandic into FaroeseCC BY-SA 4.089,0042,021,0166.0%
fmdmorphologyCC BY-SA 4.061,2092,009,4795.9%
lumadministrative law — Ombudsmanpublic-domain-fo-p91,2651,043,9083.1%
logting_spurningarparliamentary questions and ministerial answerspublic-domain-fo-p9213620,9781.8%
fpscparliamentary speech → agenda itemCC BY 4.05,163403,8821.2%
fo_wikipediaencyclopedicCC BY-SA 4.0355187,4490.6%
kunngerdaportalurthe official gazettepublic-domain-fo-p92,404183,8460.5%
fo_wikisourceliterary — verseCC BY-SA 4.0971120,4360.4%
fo_wiktionarylexicalCC BY-SA 4.05,07044,2520.1%
gerdabokurparliamentary procedure — bill → committeepublic-domain-fo-p91,36119,4470.1%

Rows and response characters rank the collection almost inversely. The three ravnlex tasks are 68% of all rows and 23% of the response characters; logir's diacritic restoration is 2% of rows and 43% of the response characters. A user who samples uniformly by row trains almost entirely on one-word phonetic and word-class answers.

Much of what the model learns to produce is spelling, not composition. 43% of the response characters come from two diacritic-restoration tasks, where the response is the prompt's own text with its accented letters restored. The model chooses how to spell, not what to say. Legal Faroese is therefore the largest register by characters and still mostly a spelling exercise. The Faroese a model must produce from a different input is sprotin's translated sentences (14.2%) and the composed prose of lum, logting_spurningar, fo_wikipedia, fpsc and the gazette (7.2%).

Registers with nothing in them: journalism, dialogue, academic prose, popular science, statistics, finance, technical and instructional text. sprotin is everyday conversational Faroese in sentence form, translated, not dialogue. Every Faroese news outlet is under ordinary copyright, and the two transcribed conversation corpora are non-commercial or restricted.

Loading

py
from datasets import load_dataset

ds = load_dataset("<repo>")  # everything
ds = load_dataset("<repo>", "lum")  # one source at a time

One parquet file per source, so a source can be reviewed, filtered or replaced on its own. The default config concatenates them.

Split on `source_id`, not randomly — see the field notes below.

Dataset Structure

Each row is a single-turn conversation:

json
{
  "id": "lum__opinion_to_title__26-09428_p1141",
  "messages": [
    {"role": "user", "content": "Tímar til námsfrøðilig tiltøk í frítíðarskúla Innleiðandi skal viðmerkjast, at sambært § 6, stk. 1 í umboðsmanslógini (...)"},
    {"role": "assistant", "content": "Álit um avgerð hjá Tórshavnar kommunu um tímar til námsfrøðilig tiltøk í frítíðarskúla og noktað innlit (...)"}
  ],
  "source": "lum",
  "subsource": "nidurstoda",
  "task_name": "opinion_to_title",
  "template_id": "7",
  "license": "public-domain-fo-p9",
  "source_id": "26-09428_p1141",
  "source_url": null
}

Fields

  • —id — unique within this dataset.
  • —messages — the conversation. Always exactly one user turn and one assistant turn.
  • —source — which underlying dataset the material came from.
  • —subsource — the division within it: the document type, the paradigm class, the source language of a translation. What you filter or audit on. In fo_wiktionary it is the language of the prompt word — 91 languages — so a prompt there is not necessarily Faroese.
  • —task_name — what kind of question the row poses.
  • —template_id — which of the task's instruction phrasings produced this row. Recorded so that the evenness of template use is checkable from the data itself, and so phrasings can be held out at evaluation time.
  • —license — the licence of the underlying text, per row, so a user with narrower licence requirements than ours can filter rather than take the whole thing.
  • —source_id — the identifier of the source document. Rows sharing a source_id derive from the same document, so split by `source_id`, not randomly, or your evaluation set will contain text the model saw in training.
  • —source_url — the row's own public page, where the source has one; null otherwise. Filled for logir, fpsc, fo_wikipedia, fo_wikisource, fo_wiktionary, kunngerdaportalur and logting_spurningar.

The instruction templates live in `templates/` and are part of this repo.

Dataset Construction Process

The same five steps for every source.

  1. 1.Read the source at a pinned revision. Openly licensed or public domain by statute, already structured — no scraping of copyrighted sites and no crawl-derived text.
  2. 2.Recover the pair. Every source already contains the (input, target) pair; the build finds it rather than inventing it. A title and the act it names, a headword and its inflected forms, a stanza and the same stanza with its accents removed.
  3. 3.Filter. Drop what is not a task: pairs too short to be one, targets recoverable by copying the input, and targets that could not be written from the input at all. See Validity.
  4. 4.Template. Attach one of ten hand-written Faroese instructions, chosen by hashing the source identifier so the assignment is stable and uncorrelated with corpus order.
  5. 5.Validate and write parquet.

No machine translation and no language model is involved anywhere in the construction.

Sources

logir — Faroese consolidated law

Lógasavn (logir.fo), the official database of Faroese law maintained by the Ministry of Justice: statutes, regulations, circulars and guidance in consolidated form, with numbered sections, chapters and named headings. The 5,262 rules written in Faroese; Danish instruments extended to the Faroes are not included.

The largest task restores the accented letters to a section of statute; the two heading tasks ask for the heading the publisher gave a paragraph or a chapter. The text is the version standing in the database, not as enacted, and roughly half the rules are no longer in force.

Details in `docs/logir.md`

TaskRowsMedian inputMedian target
diacritic_restoration20,314646580
paragraph_to_heading5,78778721
chapter_to_heading3,0771,64223

ravnlex — Faroese pronunciation and word class

RAVNlex, the full-form Faroese lexicon of the Ravnur Project at the University of the Faroe Islands: each word form with a phonetic transcription in SAMPA and a PAROLE part-of-speech tag. The only pronunciation data in the collection.

`word_to_wordclass` has nine answers over 224,028 rows and about 65% of them are `navnorð` — a true fact about the lexicon, shipped in full so that you can subset it rather than have it sampled for you.

Details in `docs/ravnlex.md`

TaskRowsMedian inputMedian target
pronunciation_to_word228,5595711
word_to_pronunciation225,3994014
word_to_wordclass224,028447

sprotin — English into Faroese, everyday sentences

Sprotin's English–Faroese sentence bank: 126,500 short sentences translated from English into Faroese by human translators and published by Sprotin, the Faroese dictionary publisher, in 2021. The English side is largely drawn from Tatoeba, in its didactic house style — Tom appears in about a quarter of the prompts. The only English→Faroese task, and the only everyday conversational Faroese in the response position. The Faroese is translated, not natively authored; median 35 characters.

Details in `docs/sprotin.md`

TaskRowsMedian inputMedian target
en_sentence_to_fo_sentence126,3647035

islex_fo — Icelandic into Faroese

The Faroese side of ISLEX, the Icelandic–Scandinavian multilingual dictionary of the Árni Magnússon Institute: Icelandic headwords, phrases and example sentences with the Faroese equivalents written by the Faroese editorial team. Every pair is by a lexicographer; the response is always Faroese.

Icelandic and Faroese are cognate, so much of the term task is a respelling (silfur → silvur); the sentence task is where the two languages diverge.

Details in `docs/islex_fo.md`

TaskRowsMedian inputMedian target
is_term_to_fo_term46,6614910
is_sentence_to_fo_sentence31,6068240
is_phrase_to_fo_phrase10,7376421

fmd — Faroese inflection

Føroyski bendingargrunnurin, the Faroese Morphological Database (bendingar.fo), a joint publication of the Árni Magnússon Institute and Fróðskaparsetur Føroya. Nouns through four cases in two numbers with and without the suffixed article, verb principal parts, adjective comparison and the mediopassive. Every response is one or more inflected forms in the order the database's own paradigm tables print them.

Details in `docs/fmd.md`

TaskRowsMedian inputMedian target
word_to_inflection21,4358311
declension_singular12,1767543
definite_declension12,1297653
declension_plural9,2597745
adjective_comparison3,8045126
verb_principal_parts1,6807627
mediopassive_paradigm7266730

lum — opinions of the Faroese Ombudsman

The published case archive of Løgtingsins umboðsmaður, the Ombudsman of the Faroese parliament (lum.fo/savn). Every response is text the office wrote itself: reasoned conclusions, headnotes, case titles, and the subject and administrative-law categories it files cases under. The largest body of composed Faroese prose in the collection. Conclusions that quote commercially published Danish legal literature are excluded, because the Ombudsman's statutory public-domain status does not extend to third-party works quoted inside an opinion.

Details in `docs/lum.md`

TaskRowsMedian inputMedian target
summary_to_subjects41824339
summary_to_principles41724748
opinion_to_title2416,07883
opinion_to_conclusion15712,3985,101
opinion_to_headnote3218,963901

logting_spurningar — written questions to Faroese ministers, and their answers

Members of the Løgting put questions to ministers in writing and the minister answers in writing (www.logting.fo). The prompt is the question document with the member's commentary; the response is the ministry's answer — dated chronologies, tonnages, budget figures, statute citations. The longest composed institutional Faroese in the collection, median 2,446 characters. This release covers one instrument (§ 52a), 213 cases from 2008–2013; the parliament's index holds 3,021 cases back to 1992.

Details in `docs/logting_spurningar.md`

TaskRowsMedian inputMedian target
written_question_to_answer2132,0632,446

fpsc — Løgtingið parliamentary speech, paired with the agenda

The Faroese Parliament Speech Corpus, segmented speeches from the floor of Løgtingið published by the University of the Faroe Islands. Each row gives a speech transcript and asks which item on the day's order paper it belongs to; the response is the Løgting's own agenda heading, a legislative noun phrase rather than a class label — 602 distinct answers.

The transcripts in the prompt are automatic speech recognition output, as the corpus publishes them. No speaker is identified.

Details in `docs/fpsc.md`

TaskRowsMedian inputMedian target
speech_to_agenda_item5,1632,26055

fo_wikipedia — article to lead paragraph

Faroese Wikipedia. Each row gives an article without its opening paragraph, with its infobox rendered into the prompt, and asks for that paragraph. The only summarisation data in Faroese with an open licence. Articles without an infobox are excluded, because a Wikipedia lead routinely states facts that live only there.

Details in `docs/fo_wikipedia.md`

TaskRowsMedian inputMedian target
article_to_lead3553,535420

kunngerdaportalur — Kunngerðablaðið, the official gazette

Kunngerðablaðið, the official gazette of the Faroe Islands, published by Løgmansskrivstovan. Every response is a field the gazette publishes alongside the instrument: the act's official title, and — for an amending act — the publisher's statement of what it changes. As-published text, where logir is consolidated.

Details in `docs/kunngerdaportalur.md`

TaskRowsMedian inputMedian target
act_to_title1,6492,56675
act_to_change_summary7551,39058

fo_wikisource — restoring the accents to a stanza of verse

Faroese Wikisource, a volunteer-transcribed library of 19th- and early-20th-century Faroese poetry, hymns and ballads — Nólsoyar Páll, the Djurhuus brothers, Effersøe, Patursson. Each row gives a stanza with its accented letters flattened to bare Latin and asks for the stanza as printed. The only literary Faroese in the collection; some texts use an older orthography, reproduced as published.

Details in `docs/fo_wikisource.md`

TaskRowsMedian inputMedian target
verse_diacritic_restoration971176107

fo_wiktionary — Faroese Wiktionary

The Faroese-language edition of the volunteer dictionary, from the Wikimedia dump of 1 August 2026. The prompt is a word in one of 91 other languages, or a Faroese headword; the response is always Faroese. 40.7% of the translation rows answer with one of 54 Bible book names, because that is what the wiki's contributors wrote; nothing is removed to hide it, and subsource carries the prompt language so you can subset.

Details in `docs/fo_wiktionary.md`

TaskRowsMedian inputMedian target
foreign_word_to_fo_word4,954527
fo_word_to_definition1165152

gerdabokur — Løgtingið minute books, bill → committee

The official minute books of the Løgting, 1992–2009. A bill's title paired with the standing committee the minute records it as referred to — the parliament's own act, not an annotation. Eighteen committees, several of them of their period and no longer existing; subsource is the committee.

Details in `docs/gerdabokur.md`

TaskRowsMedian inputMedian target
bill_to_committee1,36111614

Not in this release

Waitlist — licence-clear and waiting to be built

  • —The rest of the Løgtingið questions and minute books — logting_spurningar ships one instrument and 213 of 3,021 indexed cases, and gerdabokur the 1992–2009 sittings; the remainder of both is public domain under § 9 and not yet harvested.
  • —Faroese Pronunciation Dictionaries (Ravnur, CC BY 4.0) — Central and East Faroese as separate word-level dictionaries. The dialect axis only; general pronunciation is already ravnlex.
  • —Ravnur BLARK text grids (CC BY 4.0) — the spoken-form ↔ written-form pairs for numbers, times, place names and licence plates, which Ravnur wrote itself. Not the read-aloud news text.

Held back — and what each is waiting on

Built or buildable, and deliberately not here.

WhatStateWaiting on
Municipal council minutes — 29 municipalities, § 27 clears the licenceWanted, not builtWhether we may anonymise. Building-permit items name a private individual, their property number and street address
Public-consultation responses (foroyalandsstyri.fo)Not builtA copyright reading. A consultation response is a third party's text, which § 9 permits only together with the official document it answers, never on its own. The draft-bill side is clear and is not what made the source attractive
Three Faroese sets held by their authors — grammatical correctness (6,628 minimal pairs), metaphorical explanations, semantic relationsUnpublishedThe authors. A licence or a release
Fróðskaparrit, the Faroese scientific journalNot builtThe journal dropping its non-commercial term. Pre-2021 volumes carry no licence; from vol. 67 they are CC BY-NC-SA
A Faroese court corpusDoes not exist§ 9 names judgments, but judicial authority is Danish and first-instance judgments are published commercially

Validity

Automated checks, enforced at build time by src/scripts/validate.py and shared with the Icelandic collection:

  • —Template diversity — no single phrasing may dominate a task.
  • —Template resolution — every template_id present in the data resolves to a template in `templates/`.
  • —No trivial pairs — the response must not be recoverable by copying a span of the prompt, and the input must be substantially longer than the target, except in tasks declared as transformations, where the response is the prompt's own text corrected.
  • —Answerability — the target must be writable from the input, measured as the share of the target's content words with no counterpart in the input, against a ceiling declared per task. This is why fo_wikipedia excludes articles without an infobox: the lead states facts the body does not.
  • —No duplicate responses — the same response text may not appear under more than one prompt, within a source or across sources, except in tasks declared as lexical mappings.
  • —Source URLs — every source_url present is well formed.
  • —Licence values — every row's license is one of the four values listed under License.

Every (sub-source × task) cell was read by hand before shipping: four rows per cell, ten if any of the four failed, and the cell was fixed or excluded at two failures in ten.

The Faroese instruction phrasings have not been reviewed by a native speaker. They are written in Faroese rather than translated, using each publisher's own vocabulary for its material, but whether they read naturally is unverified. The responses are unaffected: every response is text a Faroese institution or writer published.

Limitations

  • —43% of the response characters are determined form. In logir.diacritic_restoration and fo_wikisource.verse_diacritic_restoration the response is the prompt with its accented letters restored, so a model learns Faroese orthography from them and not composition. The composed prose is lum, logting_spurningar, fo_wikipedia, fpsc and kunngerdaportalur; sprotin is translation.
  • —Rows are not a guide to content. ravnlex is 68% of rows with one-word answers; filter source != "ravnlex" and 322,557 rows remain.
  • —`sprotin`'s Faroese is translated from English, and the English is Tatoeba-style didactic sentences. It teaches everyday vocabulary and sentence patterns; it is not natively composed Faroese, and 2,020 Faroese sentences answer more than one English prompt.
  • —`ravnlex.word_to_wordclass` has nine answers and about 65% are one label. fo_wiktionary.foreign_word_to_fo_word answers 40.7% of the time with one of 54 Bible book names. Both are shipped in full and stated here rather than resampled.
  • —`logir` is consolidated, not as enacted, and about half its rules are no longer in force. No prompt claims a text is current law. kunngerdaportalur is the as-published text, so the same act can appear in both in different wording.
  • —`logting_spurningar` and `gerdabokur` are partial harvests — one question instrument, 213 cases from 2008–2013, and the older half of the minute books. Roughly one answer in eight in the question source is unavailable as text (scans without a text layer).
  • —`gerdabokur` answers with a committee name over 18 labels, several of them historical; two rows carry the minute clerk's spelling of a committee as published (Skttanevndin, Mentanevndin).
  • —`fpsc` prompts are automatic transcripts as the corpus publishes them, with recognition errors; the response is the parliament's own agenda heading.
  • —`islex_fo`'s term task is often a respelling. About 15% of its pairs are 80% or more character-identical to the Icelandic; this is a property of two cognate languages.
  • —Older orthography survives in `fo_wikisource`. 76 rows (7.8%) use ö where modern Faroese has ø; both sides of each row keep the spelling the publisher printed, so no row asks the model to choose between the two.
  • —Invisible and control characters survive from the source pages. Zero-width spaces and joiners in lum, fo_wikipedia and fo_wiktionary prompts and in one fo_wikipedia response — under twenty rows; and form feeds (page breaks) in 218 logting_spurningar rows, 155 in the response, where a PDF page ended. Strip \f before use.
  • —Personal data. Five sources are public-authority material outside copyright (logir, kunngerdaportalur, lum, logting_spurningar, gerdabokur). The Ombudsman anonymises complainants at source (ein borgari, A, B); regulations reproducing EU sanctions lists that name individuals are excluded from logir and kunngerdaportalur; no shipped row carries a personal identifier, and every street address found is an institution's. MPs, ministers and signing officials are named as the parliament and the gazette name them. A person identified by circumstance alone is not detectable by any check run here.
  • —No journalism, no dialogue, no academic or technical prose. Every Faroese news outlet is under ordinary copyright and the transcribed conversation corpora are non-commercial or restricted, so these registers are absent rather than thin.

License

This collection grants no single licence over its contents. Each row carries its own, in the `license` column, and that is the licence that governs that row.

`license`RowsShareWhat it is
cc-by-4.0683,14968.3%attribution
cc-by-sa-4.0156,60915.7%attribution, share-alike
mit+cc-by-2.0-fr126,36412.6%two grants on one row: the Faroese response under Sprotin's MIT licence, the English prompt under Tatoeba's CC BY 2.0 FR. Both attribution-only; neither share-alike
public-domain-fo-p934,4213.4%no copyright subsists — Løgtingslóg nr. 30/2015 um upphavsrætt § 9 removes it from laws, regulations, authority circulars, judgments and similar public documents, so nobody granted a permission because none was needed

Attribution is due per source, not to this collection. The wording each rights holder requires is in that source's document under `docs/`, linked from its entry above. Rows are template-wrapped, which is a modification of the source text.

The repository metadata declares cc-by-sa-4.0 because that is the strictest licence present, so a user who takes the whole file and complies with it complies with everything. If share-alike is a problem, filter it out:

py
ds = ds.filter(lambda r: r["license"] != "cc-by-sa-4.0")   # 843,934 rows

Creators and Funders

Created at the Alexandra Institute as part of the EU Horizon project TrustLLM (grant agreement number 101135671).