File size: 5,709 Bytes
eea579e 4b5d971 eea579e 4b5d971 1f87daf 24c39bd 1f87daf eea579e 1f87daf eea579e 424dc5e eea579e 424dc5e eea579e 1f87daf 5fd1b73 1f87daf eea579e 1f87daf eea579e 1f87daf 424dc5e 1f87daf 24c39bd eea579e 4b5d971 eea579e 4b5d971 eea579e 4b5d971 eea579e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
---
description: Dataset providing aligned data scraped from Welsh Government Websites.
license: cc
license_name: ogl
language:
- cy
- en
multilinguality: translation
config_names:
- default
- cadw
- cdffc
- comisynyddygymraeg
- digitalcommunities
- gwasanaethaucyhoeddusdigidol
- sirgar
- www-llyw-cymru
task_ids:
- natural-language-inference
- semantic-similarity-scoring
- sentiment-classification
- text-scoring
dataset_info:
- config_name: default
features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: url_en
dtype: string
- name: url_cy
dtype: string
splits:
- name: train
num_bytes: 168665827
num_examples: 439703
download_size: 8113815281138152
dataset_size: 168665827
- config_name: cadw
features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: url_en
dtype: string
- name: url_cy
dtype: string
splits:
- name: train
num_bytes: 5407552
num_examples: 15057
download_size: 2433650
dataset_size: 5407552
- config_name: cdffc
features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: url_en
dtype: string
- name: url_cy
dtype: string
splits:
- name: train
num_bytes: 405919
num_examples: 1076
download_size: 135557
dataset_size: 405919
- config_name: comisynyddygymraeg
features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: url_en
dtype: string
- name: url_cy
dtype: string
splits:
- name: train
num_bytes: 1312843
num_examples: 3072
download_size: 430990
dataset_size: 1312843
- config_name: digitalcommunities
features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: url_en
dtype: string
- name: url_cy
dtype: string
splits:
- name: train
num_bytes: 2005659
num_examples: 4717
download_size: 717803
dataset_size: 2005659
- config_name: gwasanaethaucyhoeddusdigidol
features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: url_en
dtype: string
- name: url_cy
dtype: string
splits:
- name: train
num_bytes: 4769378
num_examples: 11200
download_size: 1631188
dataset_size: 4769378
- config_name: sirgar
features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: url_en
dtype: string
- name: url_cy
dtype: string
splits:
- name: train
num_bytes: 24326865
num_examples: 58382
download_size: 10116280
dataset_size: 24326865
- config_name: www-llyw-cymru
features:
- name: text_en
dtype: string
- name: text_cy
dtype: string
- name: url_en
dtype: string
- name: url_cy
dtype: string
splits:
- name: train
num_bytes: 130437611
num_examples: 346199
download_size: 65672684
dataset_size: 130437611
configs:
- config_name: default
data_files:
- split: train
path:
- data/cadw/0000.parquet
- data/cdffc/0000.parquet
- data/comisynyddygymraeg/0000.parquet
- data/digitalcommunities/0000.parquet
- data/gwasanaethaucyhoeddusdigidol/0000.parquet
- data/sirgar/0000.parquet
- data/www-llyw-cymru/0000.parquet
- config_name: cadw
data_files:
- split: train
path:
- data/cadw/0000.parquet
- config_name: cdffc
data_files:
- split: train
path:
- data/cdffc/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: gwasanaethaucyhoeddusdigidol
data_files:
- split: train
path:
- data/gwasanaethaucyhoeddusdigidol/0000.parquet
- config_name: www-llyw-cymru
data_files:
- split: train
path:
- data/www-llyw-cymru/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](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
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](https://www.nationalarchives.gov.uk/doc/open-government-licence-cymraeg/version/3/?lang=cy).
## Example Usage
Use the datasets module from huggingface to load the dataset:
```python
import datasets
ds = datasets.load_dataset("llyw-cymru-en-cy-ogl")
```
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:
```python
config_name = "cadw"
datasets.load_datset("llyw-cymru-en-cy-ogl", 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:
```python
datasets.get_dataset_config_names("llyw-cymru-en-cy-ogl")
```
|