Upload folder using huggingface_hub
Browse files- README.md +89 -0
- data/cadw/0000.parquet +3 -0
- data/caerdydd/0000.parquet +3 -0
- data/cdffc/0000.parquet +3 -0
- data/default/0000.parquet +3 -0
- data/gwasanaethaucyhoeddusdigidol/0000.parquet +3 -0
- data/sirgar/0000.parquet +3 -0
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
description: Dataset providing aligned data scraped from Welsh Government Websites.
|
3 |
+
license: other
|
4 |
+
language:
|
5 |
+
- cy
|
6 |
+
- en
|
7 |
+
dataset_info:
|
8 |
+
- features:
|
9 |
+
- name: text_en
|
10 |
+
dtype: string
|
11 |
+
- name: text_cy
|
12 |
+
dtype: string
|
13 |
+
- name: en_url
|
14 |
+
dtype: string
|
15 |
+
- name: cy_url
|
16 |
+
dtype: string
|
17 |
+
configs:
|
18 |
+
- config_name: default
|
19 |
+
data_files:
|
20 |
+
- split: train
|
21 |
+
path:
|
22 |
+
- data/caerdydd/0000.parquet
|
23 |
+
- data/gwasanaethaucyhoeddusdigidol/0000.parquet
|
24 |
+
- data/sirgar/0000.parquet
|
25 |
+
- data/cdffc/0000.parquet
|
26 |
+
- data/cadw/0000.parquet
|
27 |
+
- config_name: caerdydd
|
28 |
+
data_files:
|
29 |
+
- split: train
|
30 |
+
path:
|
31 |
+
- data/caerdydd/0000.parquet
|
32 |
+
- config_name: gwasanaethaucyhoeddusdigidol
|
33 |
+
data_files:
|
34 |
+
- split: train
|
35 |
+
path:
|
36 |
+
- data/gwasanaethaucyhoeddusdigidol/0000.parquet
|
37 |
+
- config_name: sirgar
|
38 |
+
data_files:
|
39 |
+
- split: train
|
40 |
+
path:
|
41 |
+
- data/sirgar/0000.parquet
|
42 |
+
- config_name: cdffc
|
43 |
+
data_files:
|
44 |
+
- split: train
|
45 |
+
path:
|
46 |
+
- data/cdffc/0000.parquet
|
47 |
+
- config_name: cadw
|
48 |
+
data_files:
|
49 |
+
- split: train
|
50 |
+
path:
|
51 |
+
- data/cadw/0000.parquet
|
52 |
+
|
53 |
+
---
|
54 |
+
---
|
55 |
+
|
56 |
+
# Llyw Cymru dataset
|
57 |
+
|
58 |
+
This is a dataset comprised of aligned sentences scraped from Welsh Government websites.
|
59 |
+
|
60 |
+
The data in this dataset is made available under the [Open Government License](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
|
61 |
+
|
62 |
+
Mae hon yn set ddata sy'n cynnwys brawddegau wedi'u halinio wedi'u crafu o wefannau Llywodraeth Cymru.
|
63 |
+
|
64 |
+
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).
|
65 |
+
|
66 |
+
## Example Usage
|
67 |
+
|
68 |
+
Use the datasets module from huggingface to load the dataset:
|
69 |
+
|
70 |
+
```python
|
71 |
+
import datasets
|
72 |
+
ds = datasets.load_dataset("techiaith/llyw-cymru-en-cy-ogl")
|
73 |
+
```
|
74 |
+
|
75 |
+
By default, all the data for each llyw.cymru website is included (the `default` configuration).
|
76 |
+
|
77 |
+
To load the dataset for a specific configuration (i.e: llyw.cymru website), use the following syntax:
|
78 |
+
|
79 |
+
```python
|
80 |
+
config_name = "cadw"
|
81 |
+
datasets.load_datset("techiaith/llyw-cymru-en-cy-ogl", config_name)
|
82 |
+
```
|
83 |
+
|
84 |
+
To see which values you can select for `config_name`,
|
85 |
+
you can use the following API to get to all the available options:
|
86 |
+
|
87 |
+
```python
|
88 |
+
datasets.get_dataset_config_names("techiaith/llyw-cymru-en-cy-ogl")
|
89 |
+
```
|
data/cadw/0000.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:227ab9875907f6c571efee23c90cfeabae05669a517993fb3c5d3692b334fe3a
|
3 |
+
size 2041806
|
data/caerdydd/0000.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7cb39d57596d88402817b7d30a93650318c00720d81e1599f2ed480262a384b1
|
3 |
+
size 2208159
|
data/cdffc/0000.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fed01a45637b17ad78d850b0d420a4f2392624adbf615ecc137083263fc60c2a
|
3 |
+
size 27205
|
data/default/0000.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42b0a8ff8b97e402ebbb6c9e8ca730c43c59931425913f0088ecf8350f894c25
|
3 |
+
size 11993256
|
data/gwasanaethaucyhoeddusdigidol/0000.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08f48b190a871e3034d4b511dd9762b2bf50c670bb25e39efe81ede796b1b6dc
|
3 |
+
size 1421708
|
data/sirgar/0000.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49c411a52045957193bdcf2c328a959bb61eaef68122c0c748fa816e851343e3
|
3 |
+
size 6314403
|