metadata
description: Dataset providing aligned data scraped from Welsh Government Websites.
license: other
language:
- cy
- en
dataset_info:
- features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: en_url
dtype: string
- name: cy_url
dtype: string
configs:
- config_name: default
data_files:
- split: train
path:
- data/caerdydd/0000.parquet
- data/gwasanaethaucyhoeddusdigidol/0000.parquet
- data/sirgar/0000.parquet
- data/comisynyddygymraeg/0000.parquet
- data/digitalcommunities/0000.parquet
- data/cdffc/0000.parquet
- data/cadw/0000.parquet
- config_name: caerdydd
data_files:
- split: train
path:
- data/caerdydd/0000.parquet
- config_name: gwasanaethaucyhoeddusdigidol
data_files:
- split: train
path:
- data/gwasanaethaucyhoeddusdigidol/0000.parquet
- config_name: sirgar
data_files:
- split: train
path:
- data/sirgar/0000.parquet
- config_name: comisynyddygymraeg
data_files:
- split: train
path:
- data/comisynyddygymraeg/0000.parquet
- config_name: digitalcommunities
data_files:
- split: train
path:
- data/digitalcommunities/0000.parquet
- config_name: cdffc
data_files:
- split: train
path:
- data/cdffc/0000.parquet
- config_name: cadw
data_files:
- split: train
path:
- data/cadw/0000.parquet
Llyw Cymru dataset
This is a dataset comprised of aligned sentences scraped from Welsh Government websites.
The data in this dataset is made available under the Open Government License.
Mae hon yn set ddata sy'n cynnwys brawddegau wedi'u halinio wedi'u crafu o wefannau Llywodraeth Cymru.
Mae'r data yn y set ddata hon ar gael o dan y Trwydded Llywodraeth Agored.
Example Usage
Use the datasets module from huggingface to load the dataset:
import datasets
ds = datasets.load_dataset("/data/dataset")
By default, all the data for each llyw.cymru website is included (the default
configuration).
To load the dataset for a specific configuration (i.e: llyw.cymru website), use the following syntax:
config_name = "cadw"
datasets.load_datset("/data/dataset", config_name)
To see which values you can select for config_name
,
you can use the following API to get to all the available options:
datasets.get_dataset_config_names("/data/dataset")