fine-tune 0 0 0

ZurichNLP/mediomatix-raw

published by @ZurichNLP

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.6K
Last 30 days
53
Likes
-
Size
217.9 MB
Created on HF
2025-08-20
Age
1 years ago

Description

General Information

Release of the Mediomatix corpus, prepared by UZH and PHGR, to be used for research purposes only.

In mediomatix-raw, we release the full Mediomatix schoolbooks' text for each idiom. The data points are unaligned. See here for the mulit-parallel, aligned Mediomatix corpus.

We use the following Romansh idiom codes as subsets in the dataset:

Sursilvan: rm-sursilv

Sutsilvan: rm-sutsilv

Surmiran: rm-surmiran

Puter: rm-puter

Vallader: rm-vallader

The splits in… See the full description on the dataset page: https://huggingface.co/datasets/ZurichNLP/mediomatix-raw.

Tags

language:rmlicense:cc-by-nc-sa-4.0size_categories:100K<n<1Mformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


license: cc-by-nc-sa-4.0
language:

  • rm
    configs:
  • config_name: rm-surmiran
    data_files:
    • split: train
      path: data/rm-surmiran/train.jsonl
    • split: validation
      path: data/rm-surmiran/validation.jsonl
    • split: test
      path: data/rm-surmiran/test.jsonl
  • config_name: rm-sursilv
    data_files:
    • split: train
      path: data/rm-sursilv/train.jsonl
    • split: validation
      path: data/rm-sursilv/validation.jsonl
    • split: test
      path: data/rm-sursilv/test.jsonl
    • split: no_surmiran
      path: data/rm-sursilv/no_surmiran.jsonl
  • config_name: rm-puter
    data_files:
    • split: train
      path: data/rm-puter/train.jsonl
    • split: validation
      path: data/rm-puter/validation.jsonl
    • split: test
      path: data/rm-puter/test.jsonl
    • split: no_surmiran
      path: data/rm-puter/no_surmiran.jsonl
  • config_name: rm-sutsilv
    data_files:
    • split: train
      path: data/rm-sutsilv/train.jsonl
    • split: validation
      path: data/rm-sutsilv/validation.jsonl
    • split: test
      path: data/rm-sutsilv/test.jsonl
    • split: no_surmiran
      path: data/rm-sutsilv/no_surmiran.jsonl
  • config_name: rm-vallader
    data_files:
    • split: train
      path: data/rm-vallader/train.jsonl
    • split: validation
      path: data/rm-vallader/validation.jsonl
    • split: test
      path: data/rm-vallader/test.jsonl
    • split: no_surmiran
      path: data/rm-vallader/no_surmiran.jsonl

General Information

Release of the Mediomatix corpus, prepared by UZH and PHGR, to be used for research purposes only.

In mediomatix-raw, we release the full Mediomatix schoolbooks' text for each idiom. The data points are unaligned. See here for the mulit-parallel, aligned Mediomatix corpus.

We use the following Romansh idiom codes as subsets in the dataset:

  • Sursilvan: rm-sursilv
  • Sutsilvan: rm-sutsilv
  • Surmiran: rm-surmiran
  • Puter: rm-puter
  • Vallader: rm-vallader

The splits in each subset are:

  • train: Text from year 2 and 3 schoolbooks
  • validation: Text from year 4 schoolbooks
  • test: Text from year 5 schoolbooks
  • no_surmiran: Text from years 6-9; available for all idioms except rm-surmiran

Each data point contains the following columns:

  • CmsElementID: An id referring to which CMS element a text was extracted from.
  • segmentID: A unique id for each row; differentiates between segments split apart from the same CMS element.
  • text: The extracted plain text from within an HTML segment
  • html: The extracted text, including any HTML markup
  • chapter: The name of the chapter from which a text was extracted
  • book: A code referring to the grade, volume, and type of school book

Book names are encoded in the "book" column as follows:

  • The first digit refers to the school year of the book
  • The next refers to the book volums for that school year
  • The two letter code indicates whether the segment comes from the student workbook ("wb") or teacher's commentary ("tc")
  • Example: Book "5.1_tc" refers to teacher's commentary for Volume 1 of the year 5 schoolbook.

How to Use

The subset for a specific Romansh idiom must be specified when loading the datset:

from datasets import load_dataset

sursilv = load_dataset("ZurichNLP/mediomatix-raw","rm-sursilv")

# Load Train set:

train_set = sursilv['train']

# Load Validation set:

val_set = sursilv['validation']

# Load Test set:

test_set = sursilv['test']

# Load no-rm-surmiran if the subset is not rm-surmiran
no_surm = sursilv['no_surmiran']

Citation

@inproceedings{hopton-etal-2026-mediomatix,
    title = "The Mediomatix Corpus: Parallel Data for {R}omansh Language Varieties via Comparable Schoolbooks",
    author = {Hopton, Zachary William  and
      Vamvas, Jannis  and
      B{\"u}chler, Andrin  and
      Rutkiewicz, Anna  and
      Cathomas, Rico  and
      Sennrich, Rico},
    editor = "Demberg, Vera  and
      Inui, Kentaro  and
      Marquez, Llu{\'i}s",
    booktitle = "Findings of the {A}ssociation for {C}omputational {L}inguistics: {EACL} 2026",
    month = mar,
    year = "2026",
    address = "Rabat, Morocco",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.findings-eacl.16/",
    pages = "290--306",
    ISBN = "979-8-89176-386-9"
}

© 2025 Meds d'instrucziun dal Grischun

README history 15 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-03-21Update citation983a2a24.4 KB
    Loading...
  2. 2025-08-25Add citationb518d374.1 KB
    Loading...
  3. 2025-08-22Update readme9d3daa03.8 KB
    Loading...
  4. 2025-08-22Update segment IDs220c4813.7 KB
    Loading...
  5. 2025-08-22Update README3d84d863.7 KB
    Loading...
  6. 2025-08-22data loading update44ef3e63.6 KB
    Loading...
  7. 2025-08-20Update readme76f28bd2.1 KB
    Loading...
  8. 2025-08-20Load rm-surmiran without no_surmiran split341546936 B
    Loading...
  9. 2025-08-20add dl_manager3fbb2f936 B
    Loading...
  10. 2025-08-20fix main class9c4881136 B
    Loading...
  11. 2025-08-20Fix config classc5d8c6236 B
    Loading...
  12. 2025-08-20Update loading script2f5f6ab36 B
    Loading...
  13. 2025-08-20Fix supervised keys7ba139436 B
    Loading...
  14. 2025-08-20Upload folder using huggingface_hub8b9a67d36 B
    Loading...
  15. 2025-08-20initial commit1d5beab36 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2025-08-23[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · fine-tune

Read further

Metadata

License
cc-by-nc-sa-4.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("ZurichNLP/mediomatix-raw")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="ZurichNLP/mediomatix-raw", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/ZurichNLP/mediomatix-raw
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration